1
0
geforkt von xt-sys/exectos

Raise to HIGH runlevel before switching the stack

Dieser Commit ist enthalten in:
2024-04-19 23:55:26 +02:00
Ursprung 3aa0413756
Commit 5539d98572

Datei anzeigen

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