Add memory copy and move functions. Required by gcc, and we'll also use
them soon
This commit is contained in:
@@ -21,3 +21,12 @@
|
||||
|
||||
#define PAGE_SIZE 0x1000
|
||||
#define ENTRIES_PER_PT 512
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
#include <stddef.h>
|
||||
void *memcpy(void *dst, const void *src, size_t n);
|
||||
void *memset(void *s, int c, size_t n);
|
||||
void *memmove(void *dest, const void *src, size_t n);
|
||||
int memcmp(const void *s1, const void *s2, size_t n);
|
||||
size_t strlen(const char *s);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user