Architecture specific initialization after processor init is done
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2023-02-06 15:53:11 +01:00
parent 385f0e6de0
commit 9c7d961c5a
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -46,12 +46,12 @@ KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
/* Save the kernel initialization block */
KeInitializationBlock = Parameters;
/* Architecture specific initialization */
KepArchInitialize();
/* Initialize boot CPU */
ArInitializeProcessor();
/* Switch boot stack alligning it to 4 byte boundary */
/* Architecture specific kernel initialization */
KepArchInitialize();
/* Switch boot stack aligning it to 4 byte boundary */
KepSwitchBootStack((ULONG_PTR)&ArKernelBootStack & ~0x3);
}