diff options
| author | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2000-10-01 08:17:47 +0000 |
|---|---|---|
| committer | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2000-10-01 08:17:47 +0000 |
| commit | 3ffcacc9d89b85027b07e20401b447edb5c37284 (patch) | |
| tree | 3f3258d9c49a74af4fe3091aedf1f415b1a67341 /sys/dev | |
| parent | 240474e6a98e90d189ab4bb9f861fce4aedabee5 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpi/acpireg.h | 3 | ||||
| -rw-r--r-- | sys/dev/acpi/aml/aml_common.c | 3 | ||||
| -rw-r--r-- | sys/dev/acpi/aml/aml_region.c | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/acpi/acpireg.h b/sys/dev/acpi/acpireg.h index 1d64e92314ab..409afe6897aa 100644 --- a/sys/dev/acpi/acpireg.h +++ b/sys/dev/acpi/acpireg.h @@ -310,6 +310,9 @@ typedef UINT32 ACPI_STATUS; /* * ACPICA Osd family functions */ +#if defined(DIAGNOSTIC) +#define ACPI_NO_OSDFUNC_INLINE +#endif #ifdef ACPI_NO_OSDFUNC_INLINE ACPI_STATUS OsdMapMemory(void *, UINT32, void **); diff --git a/sys/dev/acpi/aml/aml_common.c b/sys/dev/acpi/aml/aml_common.c index a00f971ca34a..da616a6e7aa2 100644 --- a/sys/dev/acpi/aml/aml_common.c +++ b/sys/dev/acpi/aml/aml_common.c @@ -42,7 +42,10 @@ #include <sys/kernel.h> #include <sys/sysctl.h> #include <sys/systm.h> +#include <sys/bus.h> +#include <machine/bus.h> #include <dev/acpi/acpireg.h> +#include <dev/acpi/acpivar.h> #ifndef ACPI_NO_OSDFUNC_INLINE #include <machine/acpica_osd.h> #endif /* !ACPI_NO_OSDFUNC_INLINE */ diff --git a/sys/dev/acpi/aml/aml_region.c b/sys/dev/acpi/aml/aml_region.c index a96b2b6fc2ec..e643b662c802 100644 --- a/sys/dev/acpi/aml/aml_region.c +++ b/sys/dev/acpi/aml/aml_region.c @@ -35,12 +35,14 @@ #include "opt_acpi.h" #include <sys/param.h> #include <sys/systm.h> +#include <sys/bus.h> #include <machine/bus.h> #include <machine/resource.h> #include <sys/rman.h> #include <dev/acpi/acpireg.h> +#include <dev/acpi/acpivar.h> #include <dev/acpi/aml/aml_common.h> #include <dev/acpi/aml/aml_region.h> #include <dev/acpi/aml/aml_name.h> |
