Reorganize early debug printing; initialize kernel stacks when needed
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-12-28 23:11:35 +01:00
parent 75ac59f48a
commit dec021b1ec
9 changed files with 110 additions and 9 deletions

View File

@@ -283,8 +283,9 @@ XtpInitializeLoaderBlock(IN PLIST_ENTRY MemoryMappings,
LoaderBlock->Size = sizeof(KERNEL_INITIALIZATION_BLOCK);
LoaderBlock->Version = INITIALIZATION_BLOCK_VERSION;
/* No kernel stack available now */
LoaderBlock->KernelStack = (ULONG_PTR)NULL;
/* No kernel boot, nor fault stacks available now */
LoaderBlock->KernelBootStack = (ULONG_PTR)NULL;
LoaderBlock->KernelFaultStack = (ULONG_PTR)NULL;
/* Set LoaderInformation block properties */
LoaderBlock->LoaderInformation.DbgPrint = XtLdrProtocol->DbgPrint;