Raise to HIGH runlevel before switching the stack
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 34s
Builds / ExectOS (i686) (push) Successful in 33s

This commit is contained in:
Rafal Kupiec 2024-04-19 23:55:26 +02:00
父節點 3aa0413756
當前提交 5539d98572
簽署人: belliash
GPG Key ID: 4E829243E0CFE6B4

查看文件

@ -54,6 +54,9 @@ KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
/* Architecture specific kernel initialization */
KepInitializeMachine();
/* Raise to HIGH runlevel */
KeRaiseRunLevel(HIGH_LEVEL);
/* Switch boot stack aligning it to 4 byte boundary */
KepSwitchBootStack((ULONG_PTR)&ArKernelBootStack & ~0x3);
}