mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
13 lines
250 B
C
13 lines
250 B
C
#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
|