summaryrefslogtreecommitdiff
path: root/sys/include/dev/acpi/tables.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-04 22:17:28 -0400
committerIan Moffett <ian@osmora.org>2024-06-04 22:17:28 -0400
commitefb3cd0e2ad09f409d66534d44ff07a55e9f1171 (patch)
treeeabf718014e1e03490c49a8a4adba2f30385e015 /sys/include/dev/acpi/tables.h
parentf04bb79fcab54e1ec3a03706e9c02f50a7317cd6 (diff)
kernel/amd64: acpi: Support parsing MADT
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/acpi/tables.h')
-rw-r--r--sys/include/dev/acpi/tables.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/include/dev/acpi/tables.h b/sys/include/dev/acpi/tables.h
index d5bfd52..1dca890 100644
--- a/sys/include/dev/acpi/tables.h
+++ b/sys/include/dev/acpi/tables.h
@@ -33,6 +33,11 @@
#include <sys/types.h>
#include <sys/cdefs.h>
+/* MADT APIC header types */
+#define APIC_TYPE_LOCAL_APIC 0
+#define APIC_TYPE_IO_APIC 1
+#define APIC_TYPE_INTERRUPT_OVERRIDE 2
+
#define OEMID_SIZE 6
struct __packed acpi_header {