From 248c0d2fd007eeeb108ff1a88924e3ef8ff84ba4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 5 Apr 2021 00:20:13 +0200 Subject: Made kernel elf-bootable --- libs/libc/inc/mem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs') diff --git a/libs/libc/inc/mem.h b/libs/libc/inc/mem.h index 7318c25..de2a84f 100644 --- a/libs/libc/inc/mem.h +++ b/libs/libc/inc/mem.h @@ -13,8 +13,8 @@ void *realloc(void *ptr, u32 size); void *zalloc(u32 size); #ifdef KERNEL -#define STACK_START 0x00500000 // Defined it bootloader -#define STACK_SIZE 0x1000 // idk +#define STACK_START 0x00500000 // Defined in bootloader +#define STACK_SIZE (1 << 20) // 1MiB #elif defined(USER) #endif -- cgit v1.2.3