diff options
author | Marvin Borner | 2021-01-09 14:06:32 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-09 14:06:32 +0100 |
commit | dcd28d5246eec562c195fba07c7bd4ce7b69c94b (patch) | |
tree | 43b425108b5a6822e35a89779465fc19376ca74a /libc/inc/mem.h | |
parent | ca466dbbecd387481fbde95e1e3d9b6ff279c169 (diff) |
Started new heap implementation (not working yet)
Diffstat (limited to 'libc/inc/mem.h')
-rw-r--r-- | libc/inc/mem.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/inc/mem.h b/libc/inc/mem.h index 15505fd..9075736 100644 --- a/libc/inc/mem.h +++ b/libc/inc/mem.h @@ -7,12 +7,11 @@ // Huh #ifdef kernel -#define HEAP_SIZE 0x10000 -#define HEAP_MAGIC 0x42 void heap_init(u32 start); void *malloc(u32 size); void free(void *ptr); #elif defined(userspace) +#include <print.h> void *malloc(u32 size); void free(void *ptr); #else |