cfenollosa_os-tutorial/20-interrupts-timer/kernel/util.h

13 lines
250 B
C
Raw Normal View History

2015-03-17 19:47:43 +00:00
#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[]);
2015-03-19 19:07:50 +00:00
void reverse(char s[]);
int strlen(char s[]);
2015-03-17 19:47:43 +00:00
#endif