49#define ACPI_USE_STANDARD_HEADERS
50#define ACPI_USE_SYSTEM_CLIBRARY
63#ifndef _CRT_SECURE_NO_WARNINGS
64#define _CRT_SECURE_NO_WARNINGS
69#ifndef _CRT_NONSTDC_NO_DEPRECATE
70#define _CRT_NONSTDC_NO_DEPRECATE
74#define ACPI_MACHINE_WIDTH 32
75#define ACPI_USE_NATIVE_DIVIDE
76#define ACPI_USE_NATIVE_MATH64
78#ifdef ACPI_DEFINE_ALTERNATE_TYPES
85typedef unsigned char u8;
86typedef unsigned short u16;
87typedef unsigned int u32;
102#define fileno _fileno
103#define isatty _isatty
106#define vsnprintf _vsnprintf
108#define O_RDONLY _O_RDONLY
109#define O_BINARY _O_BINARY
110#define O_CREAT _O_CREAT
111#define O_WRONLY _O_WRONLY
112#define O_TRUNC _O_TRUNC
113#define S_IREAD _S_IREAD
114#define S_IWRITE _S_IWRITE
115#define S_IFDIR _S_IFDIR
117#define snprintf _snprintf
132#ifdef ACPI_APPLICATION
133#define ACPI_FLUSH_CPU_CACHE()
135#define ACPI_FLUSH_CPU_CACHE() __asm {WBINVD}
140#define ACPI_SIMPLE_RETURN_MACROS
151#define ACPI_ACQUIRE_GLOBAL_LOCK(FacsPtr, Acq) __asm \
153 __asm mov eax, 0xFF \
154 __asm mov ecx, FacsPtr \
157 __asm lea ecx, [ecx].GlobalLock \
160 __asm mov eax, [ecx] \
162 __asm and edx, 0xFFFFFFFE \
165 __asm lock cmpxchg dword ptr [ecx], edx \
175#define ACPI_RELEASE_GLOBAL_LOCK(FacsPtr, Pnd) __asm \
178 __asm mov ecx, FacsPtr \
181 __asm lea ecx, [ecx].GlobalLock \
184 __asm mov eax, [ecx] \
186 __asm and edx, 0xFFFFFFFC \
187 __asm lock cmpxchg dword ptr [ecx], edx \
#define COMPILER_DEPENDENT_UINT64