mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 20:55:35 +03:00
62f9377656
This also removes a lot of CPU.h includes infavor for Sections.h
61 lines
1.3 KiB
C++
61 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 {
|
|
namespace 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();
|
|
}
|
|
|
|
}
|
|
}
|