feature: memory limit with multiboot (wip, still crashing)

This commit is contained in:
2024-11-07 13:45:29 +01:00
parent a72c3ca195
commit 5fccbf3708
7 changed files with 304 additions and 28 deletions

View File

@ -23,6 +23,7 @@ extern uint32_t _kernel_end;
extern uint32_t boot_page_directory;
extern uint32_t *page_directory;
extern uint32_t page_table_default[1024];
extern uint32_t mem_size;
uint32_t *virt_to_phys(uint32_t *virt_addr);
void init_memory(void);