mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +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
Notes:
sideshowbarker
2024-07-18 11:16:58 +09:00
Author: https://github.com/supercomputer7
Commit: dc6defa7af
Pull-request: https://github.com/SerenityOS/serenity/pull/7509
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/awesomekling
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ public:
|
||||||
virtual void try_acpi_shutdown();
|
virtual void try_acpi_shutdown();
|
||||||
virtual bool can_shutdown() { return false; }
|
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
|
virtual bool have_8042() const
|
||||||
{
|
{
|
||||||
return m_x86_specific_flags.keyboard_8042;
|
return m_x86_specific_flags.keyboard_8042;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue