Kernel - TODO: Kernel-mode shell
[tpg/acess2.git] / Externals / ACPICA / acacess.h
1 /*
2  * Acess-specific ACPI header.
3  *
4  * A modified version of the ForgeOS acforge.h, copied and modified with permision.
5  */
6 #ifndef __ACACESS_H__
7 #define __ACACESS_H__
8
9 #include <acess.h>
10 #include <stdint.h>
11 #include <stdarg.h>
12
13 #define ACPI_SINGLE_THREADED
14
15 #define ACPI_USE_SYSTEM_CLIBRARY
16
17 #define ACPI_USE_DO_WHILE_0
18 #define ACPI_MUTEX_TYPE             ACPI_OSL_MUTEX
19
20 #define ACPI_USE_NATIVE_DIVIDE
21
22 #define ACPI_CACHE_T                ACPI_MEMORY_LIST
23 #define ACPI_USE_LOCAL_CACHE        1
24
25 #ifdef ARCHDIR_IS_x86
26 #define ACPI_MACHINE_WIDTH          32
27 #else
28 #error TODO - 64-bit support
29 #endif
30
31 #define ACPI_MUTEX                  void *
32
33 #define ACPI_UINTPTR_T              uintptr_t
34
35 #define ACPI_FLUSH_CPU_CACHE() __asm__ __volatile__("wbinvd");
36
37 #include "acgcc.h"
38
39 #endif /* __ACACESS_H__ */

UCC git Repository :: git.ucc.asn.au