mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
ACPI: Adopt the changes in the definitions file
Also, the functions for StaticParsing namespace were added. Therefore, some early access functionality is being used also in ACPI::StaticParser class.
This commit is contained in:
parent
bf55d83c1f
commit
b9c65ea746
6 changed files with 453 additions and 510 deletions
|
@ -34,9 +34,9 @@
|
|||
#include <LibBareMetal/Memory/PhysicalAddress.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
class ACPIDynamicParser final : public IRQHandler
|
||||
, ACPIStaticParser {
|
||||
namespace ACPI {
|
||||
class DynamicParser final : public IRQHandler
|
||||
, StaticParser {
|
||||
public:
|
||||
static void initialize(PhysicalAddress rsdp);
|
||||
static void initialize_without_rsdp();
|
||||
|
@ -48,8 +48,8 @@ public:
|
|||
virtual void do_acpi_shutdown() override;
|
||||
|
||||
protected:
|
||||
ACPIDynamicParser();
|
||||
explicit ACPIDynamicParser(PhysicalAddress);
|
||||
DynamicParser();
|
||||
explicit DynamicParser(PhysicalAddress);
|
||||
|
||||
private:
|
||||
void build_namespace();
|
||||
|
@ -60,3 +60,4 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue