Check that needed ACPI tables are found
This commit is contained in:
parent
fa4de31aa4
commit
ba0befa21b
@ -161,6 +161,14 @@ struct Acpi
|
|||||||
mcfg.initialize();
|
mcfg.initialize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (madt == null)
|
||||||
|
{
|
||||||
|
Klog.fatal_error("MADT table not found");
|
||||||
|
}
|
||||||
|
if (mcfg == null)
|
||||||
|
{
|
||||||
|
Klog.fatal_error("MCFG table not found");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void map_table(ulong address, ulong length)
|
private static void map_table(ulong address, ulong length)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user