Add memory copy and move functions. Required by gcc, and we'll also use

them soon
This commit is contained in:
thomas committed 2018-03-20 14:11:21 +01:00
1 parent c19bc51bdc
commit 954696728c
2 files changed
+52

No files matched your search

+9
View File
@@ -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