diff options
author | jkim <jkim@FreeBSD.org> | 2010-04-02 16:57:25 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-04-02 16:57:25 +0000 |
commit | 8af503e9ce639f4eabed0c7548c52f5c39c5660f (patch) | |
tree | ce86a0358d036c76413ef70e9be64485f127c2e7 /include/platform/acfreebsd.h | |
parent | 1d2da6617feb086abad41412de1cf8731480731f (diff) | |
download | FreeBSD-src-8af503e9ce639f4eabed0c7548c52f5c39c5660f.zip FreeBSD-src-8af503e9ce639f4eabed0c7548c52f5c39c5660f.tar.gz |
Integrate FreeBSD changes for acfreebsd.h.
http://git.moblin.org/cgit.cgi/acpica/commit/?id=4580a813dd812d85c9a0ec1b77f7855c9940c60c
Obtained from: Intel
Diffstat (limited to 'include/platform/acfreebsd.h')
-rw-r--r-- | include/platform/acfreebsd.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/platform/acfreebsd.h b/include/platform/acfreebsd.h index 6e0e3b5..145b7bb 100644 --- a/include/platform/acfreebsd.h +++ b/include/platform/acfreebsd.h @@ -124,9 +124,10 @@ #include <machine/acpica_machdep.h> #define ACPI_UINTPTR_T uintptr_t + +#define ACPI_USE_DO_WHILE_0 #define ACPI_USE_LOCAL_CACHE #define ACPI_USE_SYSTEM_CLIBRARY -#define __cdecl #ifdef _KERNEL @@ -139,6 +140,7 @@ #include "opt_acpi.h" #define ACPI_THREAD_ID lwpid_t +#define ACPI_MUTEX_TYPE ACPI_OSL_MUTEX #ifdef ACPI_DEBUG #define ACPI_DEBUG_OUTPUT /* for backward compatibility */ @@ -166,11 +168,10 @@ #define ACPI_THREAD_ID pthread_t -/* Not building kernel code, so use libc */ #define ACPI_USE_STANDARD_HEADERS + #define ACPI_FLUSH_CPU_CACHE() -#define __cli() -#define __sti() +#define __cdecl #endif /* _KERNEL */ |