This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
OS_Project/Part2/A4/07_timers/kernel/util.h

13 lines
250 B
C
Executable File

#ifndef UTIL_H
#define UTIL_H
#include "../cpu/types.h"
void memory_copy(char *source, char *dest, int nbytes);
void memory_set(u8 *dest, u8 val, u32 len);
void int_to_ascii(int n, char str[]);
void reverse(char s[]);
int strlen(char s[]);
#endif