From 21522ad5f2fe55e633cd025e292537ca37e042fb Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 28 Feb 2021 19:45:41 +0100 Subject: Kinda working paging --- libc/inc/mem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/inc') diff --git a/libc/inc/mem.h b/libc/inc/mem.h index 6c37844..737f772 100644 --- a/libc/inc/mem.h +++ b/libc/inc/mem.h @@ -13,6 +13,9 @@ void *realloc(void *ptr, u32 size); void *zalloc(u32 size); #ifdef kernel +#define STACK_START (0x00500000 - 1) // Defined it bootloader +#define HEAP_START 0x00f00000 +#define HEAP_INIT_SIZE 0x0f00000 void heap_init(u32 start); #elif defined(userspace) #else -- cgit v1.2.3