summaryrefslogtreecommitdiff
path: root/sys/include/dev/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/dev/acpi')
-rw-r--r--sys/include/dev/acpi/acpivar.h2
-rw-r--r--sys/include/dev/acpi/tables.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/include/dev/acpi/acpivar.h b/sys/include/dev/acpi/acpivar.h
index 9a37dfb..9cfe945 100644
--- a/sys/include/dev/acpi/acpivar.h
+++ b/sys/include/dev/acpi/acpivar.h
@@ -35,6 +35,8 @@
uint8_t acpi_checksum(struct acpi_header *hdr);
struct acpi_root_sdt *acpi_get_root_sdt(void);
+
size_t acpi_get_root_sdt_len(void);
+int acpi_init_madt(void);
#endif /* !_ACPI_ACPIVAR_H_ */
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 {