diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-20 23:57:02 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-20 23:57:02 -0400 |
commit | 9fe1aec6572bbf3a545e762ce8b555e70e874586 (patch) | |
tree | 418bc2df07432c0ee4be97c0a911ee560d4bf19a /src/sys/include/acpi | |
parent | 0fcd744c9f519ff81e085bf6917b038e469f0cb4 (diff) |
kern: acpi: Add HPET table to acpi/tables.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/acpi')
-rw-r--r-- | src/sys/include/acpi/tables.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sys/include/acpi/tables.h b/src/sys/include/acpi/tables.h index bebca87..4438a97 100644 --- a/src/sys/include/acpi/tables.h +++ b/src/sys/include/acpi/tables.h @@ -155,4 +155,19 @@ struct __packed acpi_gas { #define ACPI_GAS_DWORD 3 /* Dword access */ #define ACPI_GAS_QWORD 4 /* Qword access */ +struct __packed acpi_hpet { + struct acpi_header hdr; + uint8_t hardware_rev_id; + uint8_t comparator_count : 5; + uint8_t counter_size : 1; + uint8_t reserved : 1; + uint8_t legacy_replacement : 1; + uint16_t pci_vendor_id; + struct acpi_gas gas; + uint8_t hpet_number; + uint16_t minimum_tick; + uint8_t page_protection; +}; + + #endif /* _ACPI_TABLES_H_ */ |