Kernel: My AML parser can now enable ACPI mode on QEMU!

This commit is contained in:
2024-04-10 03:05:27 +03:00
parent ff203d8d34
commit 5be38d0702
9 changed files with 295 additions and 34 deletions
+6
View File
@@ -16,6 +16,12 @@ namespace Kernel::ACPI
const SDTHeader* get_header(BAN::StringView signature, uint32_t index);
// mode
// 0: PIC
// 1: APIC
// 2: SAPIC
BAN::ErrorOr<void> enter_acpi_mode(uint8_t mode);
private:
ACPI() = default;
BAN::ErrorOr<void> initialize_impl();