Kernel: Remove enable_aml_parsing

This never did anything.
This commit is contained in:
Undefine authored and Sönke Holz committed 2026-11-07 13:27:30 +01:00
1 parent 4808dbe934
commit efe9f8d527
3 files changed
-12

No files matched your search

-3
View File
@@ -43,9 +43,6 @@ UNMAP_AFTER_INIT ErrorOr<void> early_initialize()
TRY(Parser::initialize(rsdp.value()));
if (kernel_command_line().acpi_feature_level() == AcpiFeatureLevel::Enabled)
Parser::the()->enable_aml_parsing();
return {};
}
-6
View File
@@ -95,12 +95,6 @@ bool Parser::handle_interrupt()
TODO();
}
UNMAP_AFTER_INIT void Parser::enable_aml_parsing()
{
// FIXME: When enabled, do other things to "parse AML".
m_can_process_bytecode = true;
}
UNMAP_AFTER_INIT ErrorOr<void> Parser::process_fadt_data()
{
dmesgln("ACPI: Initializing Fixed ACPI data");
-3
View File
@@ -33,8 +33,6 @@ public:
void try_acpi_shutdown();
bool can_shutdown() { return false; }
void enable_aml_parsing();
PhysicalAddress rsdp() const { return m_rsdp; }
PhysicalAddress main_system_description_table() const { return m_main_system_description_table; }
bool is_xsdt_supported() const { return m_xsdt_supported; }
@@ -99,7 +97,6 @@ private:
PhysicalAddress m_fadt;
bool m_xsdt_supported { false };
bool m_can_process_bytecode { false };
::ACPI::FADTFlags::HardwareFeatures m_hardware_flags;
::ACPI::FADTFlags::x86_Specific_Flags m_x86_specific_flags;
};