From 20b1a8e22301877a0cc311efa069eb3f491f7a42 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 1 Mar 2021 20:38:56 +0100 Subject: Hmmm, something isn't right --- libc/inc/mem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/inc/mem.h b/libc/inc/mem.h index 737f772..e93f4d2 100644 --- a/libc/inc/mem.h +++ b/libc/inc/mem.h @@ -13,7 +13,8 @@ void *realloc(void *ptr, u32 size); void *zalloc(u32 size); #ifdef kernel -#define STACK_START (0x00500000 - 1) // Defined it bootloader +#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); -- cgit v1.2.3