mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-26 22:51:42 +00:00
Add support for legacy Multiboot aka Multiboot1
This commit is contained in:
@@ -97,8 +97,20 @@ namespace SMP
|
||||
|
||||
void Initialize(void *_madt)
|
||||
{
|
||||
if (!_madt)
|
||||
{
|
||||
error("MADT is NULL");
|
||||
return;
|
||||
}
|
||||
|
||||
ACPI::MADT *madt = (ACPI::MADT *)_madt;
|
||||
|
||||
if (madt->lapic.size() < 1)
|
||||
{
|
||||
error("No CPUs found!");
|
||||
return;
|
||||
}
|
||||
|
||||
int Cores = madt->CPUCores + 1;
|
||||
|
||||
if (Config.Cores > madt->CPUCores + 1)
|
||||
|
Reference in New Issue
Block a user