[Zion] Add an early debug method without allocations.
This commit is contained in:
parent
85564b018d
commit
4af19d010f
3 changed files with 8 additions and 2 deletions
|
|
@ -17,11 +17,11 @@
|
|||
#include "syscall/syscall.h"
|
||||
|
||||
extern "C" void zion() {
|
||||
dbgln("[boot] Init GDT & IDT.");
|
||||
early_dbgln("[boot] Init GDT & IDT.");
|
||||
InitGdt();
|
||||
InitIdt();
|
||||
|
||||
dbgln("[boot] Init Physical Memory Manager.");
|
||||
early_dbgln("[boot] Init Physical Memory Manager.");
|
||||
phys_mem::InitBootstrapPageAllocation();
|
||||
KernelHeap heap(0xFFFFFFFF'40000000, 0xFFFFFFFF'80000000);
|
||||
phys_mem::InitPhysicalMemoryManager();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue