[FREELDR] Fix triple fault with debug on screen

Move the trace call after the MachInit()
CORE-16507
This commit is contained in:
Dmitry Borisov 2019-11-13 22:03:19 +06:00 committed by Hermès BÉLUSCA - MAÏTO
parent 986f6a4b24
commit 96040ecff9

View file

@ -47,10 +47,10 @@ VOID __cdecl BootMain(IN PCCH CmdLine)
/* Debugger pre-initialization */
DebugInit(0);
TRACE("BootMain() called.\n");
MachInit(CmdLine);
TRACE("BootMain() called.\n");
/* Check if the CPU is new enough */
FrLdrCheckCpuCompatibility(); // FIXME: Should be done inside MachInit!