Fill in kernel initialization block
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-12-21 20:04:20 +01:00
parent 652e3293b1
commit cf828a6896
6 changed files with 116 additions and 4 deletions

View File

@@ -26,6 +26,18 @@ KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
/* Print some message to serial console */
DbgPrint(L"Hello world from ExectOS kernel!\n");
/* Test kernel parameters */
DbgPrint(L"\n\n------ Kernel parameters block ------\n"
L"Loader block size: %lu\n"
L"Loader block version: %lu\n"
L"EFI Revision: %lu\n"
L"EFI RunTime Revision: %lu\n",
Parameters->Size,
Parameters->Version,
Parameters->FirmwareInformation.EfiFirmware.EfiVersion,
((PEFI_RUNTIME_SERVICES) Parameters->FirmwareInformation.EfiFirmware.EfiRuntimeServices)->Hdr.Revision
);
/* Enter infinite kernel thread loop */
for(;;);
}