Kernel: Cleanup entering acpi mode

There is no need to pass the current mode as an argument as ACPI has
access to that info either way.

Only route INTx objects when using ACPI, they won't be used otherwise
This commit is contained in:
2026-07-20 09:02:18 +03:00
parent b611c3fe48
commit d46d7a5123
3 changed files with 15 additions and 16 deletions
+1 -5
View File
@@ -23,11 +23,7 @@ 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);
BAN::ErrorOr<void> enter_acpi_mode();
BAN::ErrorOr<void> initialize_acpi_devices();