[Zion] Add an early debug method without allocations.

This commit is contained in:
Drew Galbraith 2023-11-05 08:48:41 -08:00
parent 85564b018d
commit 4af19d010f
3 changed files with 8 additions and 2 deletions

View file

@ -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();