From e8f17844d05fdc0e44d3793dc73996c7c09e44d6 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 12 Mar 2021 23:56:42 +0100 Subject: New memory allocation algorithms --- libc/inc/mem.h | 3 --- libc/inc/sys.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/inc') diff --git a/libc/inc/mem.h b/libc/inc/mem.h index e93f4d2..ec00628 100644 --- a/libc/inc/mem.h +++ b/libc/inc/mem.h @@ -15,9 +15,6 @@ void *zalloc(u32 size); #ifdef kernel #define STACK_START 0x00500000 // Defined it bootloader #define STACK_SIZE 0x1000 // idk -#define HEAP_START 0x00f00000 -#define HEAP_INIT_SIZE 0x0f00000 -void heap_init(u32 start); #elif defined(userspace) #else #error "No lib target specified. Please use -Dkernel or -Duserspace" diff --git a/libc/inc/sys.h b/libc/inc/sys.h index c20eabc..c100e6a 100644 --- a/libc/inc/sys.h +++ b/libc/inc/sys.h @@ -11,7 +11,7 @@ enum sys { SYS_LOOP, // To infinity and beyond (debug)! - SYS_MALLOC, // Allocate memory + SYS_ALLOC, // Allocate memory SYS_FREE, // Free memory SYS_STAT, // Get file information SYS_READ, // Read file -- cgit v1.2.3