From 9fe1aec6572bbf3a545e762ce8b555e70e874586 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 20 Sep 2025 23:57:02 -0400 Subject: kern: acpi: Add HPET table to acpi/tables.h Signed-off-by: Ian Moffett --- src/sys/include/acpi/tables.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/sys/include/acpi') 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_ */ -- cgit v1.2.3