From 7f0fbbcce0a8f51e9ebb91144a71d2df21cea0e7 Mon Sep 17 00:00:00 2001 From: njl Date: Thu, 7 Aug 2003 04:46:17 +0000 Subject: Add includes to fix user-compilation of acpica. Also clarify a comment about overriding the OS name. --- sys/contrib/dev/acpica/acfreebsd.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/contrib/dev/acpica/acfreebsd.h b/sys/contrib/dev/acpica/acfreebsd.h index 53abc15..637d077 100644 --- a/sys/contrib/dev/acpica/acfreebsd.h +++ b/sys/contrib/dev/acpica/acfreebsd.h @@ -118,8 +118,9 @@ #define __ACFREEBSD_H__ /* - * XXX this is technically correct, but will cause problems with some ASL - * which only works if the string names a Microsoft operating system. + * Some systems' ASL may have problems because they look for names + * of Microsoft operating systems. To override this, set hw.acpi.os_name + * to the appropriate string. */ #define ACPI_OS_NAME "FreeBSD" @@ -159,6 +160,9 @@ /* Not building kernel code, so use libc */ #define ACPI_USE_STANDARD_HEADERS +#define ACPI_FLUSH_CPU_CACHE() +#include +#include #define __cli() #define __sti() -- cgit v1.1