mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-20 19:51:46 +00:00
Initialize CPU feature first before doing anything
This commit is contained in:
@@ -324,6 +324,9 @@ EXTERNC NIF void Main()
|
|||||||
|
|
||||||
/**************************************************************************************/
|
/**************************************************************************************/
|
||||||
|
|
||||||
|
KPrint("Initializing CPU Features");
|
||||||
|
CPU::InitializeFeatures(0);
|
||||||
|
|
||||||
KPrint("Initializing GDT and IDT");
|
KPrint("Initializing GDT and IDT");
|
||||||
Interrupts::Initialize(0);
|
Interrupts::Initialize(0);
|
||||||
|
|
||||||
@@ -354,9 +357,6 @@ EXTERNC NIF void Main()
|
|||||||
PutCharBufferIndex = 0;
|
PutCharBufferIndex = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
KPrint("Initializing CPU Features");
|
|
||||||
CPU::InitializeFeatures(0);
|
|
||||||
|
|
||||||
KPrint("Initializing Power Manager");
|
KPrint("Initializing Power Manager");
|
||||||
PowerManager = new Power::Power;
|
PowerManager = new Power::Power;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user