mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:37:45 +00:00
Kernel: Assume 8042 controller is present if ACPI FADT revision <= 1
This field wasn't specified until revision 2 and should be assumed to be set on older versions.
This commit is contained in:
parent
7a512c4cc4
commit
e1c27c16d8
2 changed files with 6 additions and 1 deletions
|
@ -54,6 +54,11 @@ public:
|
|||
virtual void try_acpi_shutdown();
|
||||
virtual bool can_shutdown() { return false; }
|
||||
|
||||
virtual bool have_8042() const
|
||||
{
|
||||
return m_x86_specific_flags.keyboard_8042;
|
||||
}
|
||||
|
||||
const FADTFlags::HardwareFeatures& hardware_features() const { return m_hardware_flags; }
|
||||
const FADTFlags::x86_Specific_Flags& x86_specific_flags() const { return m_x86_specific_flags; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue