#include <io.h>
Go to the source code of this file.
◆ _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE |
◆ _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS |
◆ ACPI_ACQUIRE_GLOBAL_LOCK
#define ACPI_ACQUIRE_GLOBAL_LOCK |
( |
|
FacsPtr, |
|
|
|
Acq |
|
) |
| |
Value:__asm \
{ \
__asm mov ecx, FacsPtr \
__asm or ecx, ecx \
__asm jz exit_acq \
__asm lea ecx, [ecx].GlobalLock \
\
__asm acq10: \
__asm and
edx, 0xFFFFFFFE \
__asm
lock cmpxchg dword
ptr [ecx], edx \
__asm jnz acq10 \
\
\
__asm exit_acq: \
__asm mov Acq, al \
}
#define cmp(status, error)
ecx edi movl ebx edx edi decl ecx esi eax jecxz decl eax andl eax esi movl eax
ecx edi movl ebx edx edi decl ecx esi eax jecxz decl eax andl eax esi movl edx
[End] no source code translation !
Definition at line 151 of file acwin.h.
◆ ACPI_FLUSH_CPU_CACHE
#define ACPI_FLUSH_CPU_CACHE |
( |
| ) |
__asm {WBINVD} |
[Begin] no source code translation
Definition at line 135 of file acwin.h.
◆ ACPI_MACHINE_WIDTH
◆ ACPI_RELEASE_GLOBAL_LOCK
#define ACPI_RELEASE_GLOBAL_LOCK |
( |
|
FacsPtr, |
|
|
|
Pnd |
|
) |
| |
Value:__asm \
{ \
__asm mov ecx, FacsPtr \
__asm or ecx, ecx \
__asm jz exit_rel \
__asm lea ecx, [ecx].GlobalLock \
\
__asm Rel10: \
__asm and
edx, 0xFFFFFFFC \
__asm
lock cmpxchg dword
ptr [ecx], edx \
__asm jnz Rel10 \
\
\
__asm exit_rel: \
__asm mov Pnd, al \
}
static void xor(unsigned char *dst, const unsigned char *a, const unsigned char *b, const int count)
Definition at line 175 of file acwin.h.
◆ ACPI_USE_NATIVE_DIVIDE
#define ACPI_USE_NATIVE_DIVIDE |
◆ ACPI_USE_NATIVE_MATH64
#define ACPI_USE_NATIVE_MATH64 |
◆ ACPI_USE_STANDARD_HEADERS
#define ACPI_USE_STANDARD_HEADERS |
◆ ACPI_USE_SYSTEM_CLIBRARY
#define ACPI_USE_SYSTEM_CLIBRARY |
◆ close
◆ fileno
◆ fstat
◆ isatty
◆ mkdir
◆ O_BINARY
◆ O_CREAT
◆ O_RDONLY
◆ O_TRUNC
◆ O_WRONLY
◆ open
◆ read
◆ S_IFDIR
◆ S_IREAD
◆ S_IWRITE
◆ snprintf
◆ stat
◆ vsnprintf
◆ write