This commit is contained in:
2026-01-29 16:08:15 +11:00
parent 14886062f5
commit 5c1822e88a
8 changed files with 37 additions and 0 deletions

View File

@@ -3,6 +3,17 @@
extern "C" void _start(BootInfo* bootInfo) {
KernelInfo kernelInfo = InitializeKernel(bootInfo);
PageTableManager* pageTableManager = kernelInfo.pageTableManager;
GlobalRenderer->Print(to_hstring((uint64_t)bootInfo->rsdp));
GlobalRenderer->Next();
GlobalRenderer->PutChar(*(uint8_t*)bootInfo->rsdp);
GlobalRenderer->PutChar(*((uint8_t*)bootInfo->rsdp + 1));
GlobalRenderer->PutChar(*((uint8_t*)bootInfo->rsdp + 2));
GlobalRenderer->PutChar(*((uint8_t*)bootInfo->rsdp + 3));
GlobalRenderer->PutChar(*((uint8_t*)bootInfo->rsdp + 4));
GlobalRenderer->PutChar(*((uint8_t*)bootInfo->rsdp + 5));
GlobalRenderer->PutChar(*((uint8_t*)bootInfo->rsdp + 6));
GlobalRenderer->PutChar(*((uint8_t*)bootInfo->rsdp + 7));
while (true) {
ProcessMousePacket();

View File

@@ -19,6 +19,7 @@ struct BootInfo {
EFI_MEMORY_DESCRIPTOR* mMap;
uint64_t mMapSize;
uint64_t mMapDescriptorSize;
void* rsdp;
};
extern uint64_t _KernelStart;