diff options
author | njl <njl@FreeBSD.org> | 2003-08-07 04:46:17 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-08-07 04:46:17 +0000 |
commit | 7f0fbbcce0a8f51e9ebb91144a71d2df21cea0e7 (patch) | |
tree | 937ed37f0934d6b0614dd8d48115c3c9f763ee4e | |
parent | 81238cab99ecdbf0511ff56871ab51f8f011346b (diff) | |
download | FreeBSD-src-7f0fbbcce0a8f51e9ebb91144a71d2df21cea0e7.zip FreeBSD-src-7f0fbbcce0a8f51e9ebb91144a71d2df21cea0e7.tar.gz |
Add includes to fix user-compilation of acpica. Also clarify a comment
about overriding the OS name.
-rw-r--r-- | sys/contrib/dev/acpica/acfreebsd.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 <sys/types.h> +#include <ctype.h> #define __cli() #define __sti() |