First parse the params

This commit is contained in:
Alex 2023-09-07 03:05:44 +03:00
parent 95aefb13db
commit 9e751dcc41
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -342,6 +342,9 @@ EXTERNC NIF void Main()
/**************************************************************************************/
KPrint("Reading Kernel Parameters");
ParseConfig((char *)bInfo.Kernel.CommandLine, &Config);
KPrint("Initializing CPU Features");
CPU::InitializeFeatures(0);
@ -357,9 +360,6 @@ EXTERNC NIF void Main()
bInfo.Kernel.Symbols.Shndx,
bInfo.Kernel.Symbols.Sections);
KPrint("Reading Kernel Parameters");
ParseConfig((char *)bInfo.Kernel.CommandLine, &Config);
if (Config.BootAnimation)
{
Display->CreateBuffer(0, 0, 1);