aboutsummaryrefslogtreecommitdiff
path: root/libc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc')
-rw-r--r--libc/inc/mem.h3
-rw-r--r--libc/inc/sys.h2
2 files changed, 1 insertions, 4 deletions
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