aboutsummaryrefslogtreecommitdiff
path: root/libc/inc
diff options
context:
space:
mode:
authorMarvin Borner2021-02-28 19:45:41 +0100
committerMarvin Borner2021-02-28 19:45:41 +0100
commit21522ad5f2fe55e633cd025e292537ca37e042fb (patch)
treeef195992681c69818e21ba2dd66d90af0d049b6f /libc/inc
parentd50d3aeaaeaca4a75a807759a54d1d6ae8b5bce4 (diff)
Kinda working paging
Diffstat (limited to 'libc/inc')
-rw-r--r--libc/inc/mem.h3
1 files changed, 3 insertions, 0 deletions
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