1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:17: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:
Tom 2020-11-07 12:06:41 -07:00 committed by Andreas Kling
parent 7a512c4cc4
commit e1c27c16d8
2 changed files with 6 additions and 1 deletions

View file

@ -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; }