Kernel: Allow getting ACPI headers with same signature

This commit is contained in:
2023-10-13 11:24:21 +03:00
parent b3b8376cca
commit 888e44ce0b
5 changed files with 14 additions and 8 deletions

View File

@@ -95,7 +95,7 @@ namespace Kernel
return nullptr;
}
const MADT* madt = (const MADT*)Kernel::ACPI::get().get_header("APIC");
const MADT* madt = (const MADT*)Kernel::ACPI::get().get_header("APIC"sv, 0);
if (madt == nullptr)
{
dprintln("Could not find MADT header");