Added last part of paging, print_hex function and updated linker script

This commit is contained in:
ice-bit
2019-09-23 17:27:21 +02:00
parent 3eacf3ea21
commit 9b5bf087b5
7 changed files with 168 additions and 23 deletions

View File

@@ -1,8 +1,8 @@
#include "kheap.h"
// Extern variables are declared in the linker script
// end is declared in the linker script
extern uint32_t end;
extern page_directory_t *kernel_directory; // FIXME:
extern page_directory_t *kernel_directory;
uint32_t placement_addr = (uint32_t)&end;
heap_t *kheap = 0;