diff options
Diffstat (limited to 'src/kernel/mem')
-rw-r--r-- | src/kernel/mem/_dlmalloc.h | 2 | ||||
-rw-r--r-- | src/kernel/mem/mem.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/mem/_dlmalloc.h b/src/kernel/mem/_dlmalloc.h index a80273c..23682be 100644 --- a/src/kernel/mem/_dlmalloc.h +++ b/src/kernel/mem/_dlmalloc.h @@ -12,7 +12,7 @@ #define LACKS_SYS_PARAM_H #define LACKS_STDLIB_H -#define USE_DL_PREFIX +// #define USE_DL_PREFIX #define USE_LOCKS 2 diff --git a/src/kernel/mem/mem.h b/src/kernel/mem/mem.h index 085d9ce..4201983 100644 --- a/src/kernel/mem/mem.h +++ b/src/kernel/mem/mem.h @@ -14,8 +14,8 @@ void kfree_page(void* page); extern "C" void* ksbrk(size_t size); extern "C" void kbrk(void* ptr); -#define kmalloc dlmalloc -#define kfree dlfree +#define kmalloc malloc +#define kfree free extern bool _no_more_ksbrk; extern size_t mem_placementAddr; |