From 43b494595ef50e9426434fd028f71567c7fc2e36 Mon Sep 17 00:00:00 2001 From: msmith Date: Sat, 30 Sep 2000 20:12:27 +0000 Subject: More updates to the ACPI code: - Move all register I/O into acpi_io.c - Move event handling into acpi_event.c - Reorganise headers into acpivar/acpireg/acpiio - Move find-RSDT and find-ACPI-owned-memory into acpi_machdep - Allocate all resources (except those detailed only by AML) as real resources. Add infrastructure that will make adding resource support to AML code easy. - Remove all ACPI #ifdefs in non-ACPI code - Removed unnecessary includes - Minor style and commenting fixes Reviewed by: iwasaki --- usr.sbin/acpi/amldb/aml/aml_common.c | 2 +- usr.sbin/acpi/amldb/aml/aml_region.c | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'usr.sbin/acpi') diff --git a/usr.sbin/acpi/amldb/aml/aml_common.c b/usr.sbin/acpi/amldb/aml/aml_common.c index 4721b7f..a00f971 100644 --- a/usr.sbin/acpi/amldb/aml/aml_common.c +++ b/usr.sbin/acpi/amldb/aml/aml_common.c @@ -42,7 +42,7 @@ #include #include #include -#include +#include #ifndef ACPI_NO_OSDFUNC_INLINE #include #endif /* !ACPI_NO_OSDFUNC_INLINE */ diff --git a/usr.sbin/acpi/amldb/aml/aml_region.c b/usr.sbin/acpi/amldb/aml/aml_region.c index e50091a..a96b2b6 100644 --- a/usr.sbin/acpi/amldb/aml/aml_region.c +++ b/usr.sbin/acpi/amldb/aml/aml_region.c @@ -32,10 +32,15 @@ * Region I/O subroutine */ +#include "opt_acpi.h" #include #include -#include +#include +#include +#include + +#include #include #include #include -- cgit v1.1