mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
58 lines
1.3 KiB
C++
58 lines
1.3 KiB
C++
/*
|
|
* Copyright (c) 2020, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <Kernel/ACPI/DynamicParser.h>
|
|
#include <Kernel/ACPI/Parser.h>
|
|
#include <Kernel/Sections.h>
|
|
|
|
namespace Kernel::ACPI {
|
|
|
|
UNMAP_AFTER_INIT DynamicParser::DynamicParser(PhysicalAddress rsdp)
|
|
: IRQHandler(9)
|
|
, Parser(rsdp)
|
|
{
|
|
dmesgln("ACPI: Dynamic Parsing Enabled, Can parse AML");
|
|
}
|
|
|
|
bool DynamicParser::handle_irq(const RegisterState&)
|
|
{
|
|
// FIXME: Implement IRQ handling of ACPI signals!
|
|
VERIFY_NOT_REACHED();
|
|
}
|
|
|
|
void DynamicParser::enable_aml_interpretation()
|
|
{
|
|
// FIXME: Implement AML Interpretation
|
|
VERIFY_NOT_REACHED();
|
|
}
|
|
void DynamicParser::enable_aml_interpretation(File&)
|
|
{
|
|
// FIXME: Implement AML Interpretation
|
|
VERIFY_NOT_REACHED();
|
|
}
|
|
void DynamicParser::enable_aml_interpretation(u8*, u32)
|
|
{
|
|
// FIXME: Implement AML Interpretation
|
|
VERIFY_NOT_REACHED();
|
|
}
|
|
void DynamicParser::disable_aml_interpretation()
|
|
{
|
|
// FIXME: Implement AML Interpretation
|
|
VERIFY_NOT_REACHED();
|
|
}
|
|
void DynamicParser::try_acpi_shutdown()
|
|
{
|
|
// FIXME: Implement AML Interpretation to perform ACPI shutdown
|
|
VERIFY_NOT_REACHED();
|
|
}
|
|
|
|
void DynamicParser::build_namespace()
|
|
{
|
|
// FIXME: Implement AML Interpretation to build the ACPI namespace
|
|
VERIFY_NOT_REACHED();
|
|
}
|
|
|
|
}
|