mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
Kernel: Add getters for the RSDP, XSDT/RSDT and other ACPI tables
These methods will be used with the new SysFS to expose these ACPI blobs to userspace.
This commit is contained in:
parent
b8ec5449f2
commit
dc6defa7af
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ public:
|
|||
virtual void try_acpi_shutdown();
|
||||
virtual bool can_shutdown() { return false; }
|
||||
|
||||
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; }
|
||||
|
||||
void enumerate_static_tables(Function<void(const StringView&, PhysicalAddress, size_t)>);
|
||||
|
||||
virtual bool have_8042() const
|
||||
{
|
||||
return m_x86_specific_flags.keyboard_8042;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue