1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:37:43 +00:00

ACPI: Delete irrelevant HPET definitions

Also, the definition of the HPET ACPI table is correct now, in
accordance to the HPET specification, revision 1.0a, October 2004.
This commit is contained in:
Liav A 2020-03-09 16:57:12 +02:00 committed by Andreas Kling
parent a0a7204915
commit 53d6fe8141

View file

@ -184,30 +184,16 @@ namespace ACPI {
u64 address; u64 address;
}; };
struct [[gnu::packed]] TimerStructure
{
u64 configuration_capability;
u64 comparator_value;
u64 fsb_interrupt_route;
};
struct [[gnu::packed]] HPET struct [[gnu::packed]] HPET
{ {
SDTHeader h; SDTHeader h;
u64 capabilities; u8 hardware_revision_id;
u64 reserved; u8 attributes;
u64 configuration; u16 pci_vendor_id;
u64 reserved2; GenericAddressStructure event_timer_block;
u64 interrupt_status; u8 hpet_number;
u64 reserved3; u16 mininum_clock_tick;
u64 main_counter_value; u8 page_protection;
u64 reserved4;
TimerStructure timer0;
u64 reserved5;
TimerStructure timer1;
u64 reserved6;
TimerStructure timer2;
u64 reserved7;
}; };
struct [[gnu::packed]] FADT struct [[gnu::packed]] FADT