Alloc extra pages for raw binary
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#define USER_STACK_TOP 0x80000000
|
||||
#define USER_STACK_PAGES 16 // 16*4096 = 64kb
|
||||
#define USER_CODE_START 0x400000 // like linux
|
||||
#define USER_RAW_EXTRA_PAGES 8192 // Extra writable pages after raw image for .bss/heap
|
||||
// TODO: throw this away and make an ELF loader instead bruh
|
||||
|
||||
/* paging */
|
||||
#define PAGING_MAX_PHYS 0x200000000
|
||||
|
||||
Reference in New Issue
Block a user