ReactOS 0.4.16-dev-289-g096a551
acwin.h File Reference
#include <io.h>
Include dependency graph for acwin.h:

Go to the source code of this file.

Macros

#define ACPI_USE_STANDARD_HEADERS
 
#define ACPI_USE_SYSTEM_CLIBRARY
 
#define _CRT_SECURE_NO_WARNINGS
 
#define _CRT_NONSTDC_NO_DEPRECATE
 
#define ACPI_MACHINE_WIDTH   32
 
#define ACPI_USE_NATIVE_DIVIDE
 
#define ACPI_USE_NATIVE_MATH64
 
#define open   _open
 
#define read   _read
 
#define write   _write
 
#define close   _close
 
#define stat   _stat
 
#define fstat   _fstat
 
#define mkdir   _mkdir
 
#define fileno   _fileno
 
#define isatty   _isatty
 
#define vsnprintf   _vsnprintf
 
#define O_RDONLY   _O_RDONLY
 
#define O_BINARY   _O_BINARY
 
#define O_CREAT   _O_CREAT
 
#define O_WRONLY   _O_WRONLY
 
#define O_TRUNC   _O_TRUNC
 
#define S_IREAD   _S_IREAD
 
#define S_IWRITE   _S_IWRITE
 
#define S_IFDIR   _S_IFDIR
 
#define snprintf   _snprintf
 
#define ACPI_FLUSH_CPU_CACHE()   __asm {WBINVD}
 
#define ACPI_ACQUIRE_GLOBAL_LOCK(FacsPtr, Acq)
 
#define ACPI_RELEASE_GLOBAL_LOCK(FacsPtr, Pnd)
 

Macro Definition Documentation

◆ _CRT_NONSTDC_NO_DEPRECATE

#define _CRT_NONSTDC_NO_DEPRECATE

Definition at line 70 of file acwin.h.

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

Definition at line 64 of file acwin.h.

◆ ACPI_ACQUIRE_GLOBAL_LOCK

#define ACPI_ACQUIRE_GLOBAL_LOCK (   FacsPtr,
  Acq 
)
Value:
__asm \
{ \
__asm mov eax, 0xFF \
__asm mov ecx, FacsPtr \
__asm or ecx, ecx \
__asm jz exit_acq \
__asm lea ecx, [ecx].GlobalLock \
\
__asm acq10: \
__asm mov eax, [ecx] \
__asm mov edx, eax \
__asm and edx, 0xFFFFFFFE \
__asm bts edx, 1 \
__asm adc edx, 0 \
__asm lock cmpxchg dword ptr [ecx], edx \
__asm jnz acq10 \
\
__asm cmp dl, 3 \
__asm sbb eax, eax \
\
__asm exit_acq: \
__asm mov Acq, al \
}
static PVOID ptr
Definition: dispmode.c:27
#define cmp(status, error)
Definition: error.c:114
ecx edi movl ebx edx edi decl ecx esi eax jecxz decl eax andl eax esi movl eax
Definition: synth_sse3d.h:85
ecx edi movl ebx edx edi decl ecx esi eax jecxz decl eax andl eax esi movl edx
Definition: synth_sse3d.h:87
rwlock_t lock
Definition: tcpcore.h:0

[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

#define ACPI_MACHINE_WIDTH   32

Definition at line 74 of file acwin.h.

◆ ACPI_RELEASE_GLOBAL_LOCK

#define ACPI_RELEASE_GLOBAL_LOCK (   FacsPtr,
  Pnd 
)
Value:
__asm \
{ \
__asm xor eax, eax \
__asm mov ecx, FacsPtr \
__asm or ecx, ecx \
__asm jz exit_rel \
__asm lea ecx, [ecx].GlobalLock \
\
__asm Rel10: \
__asm mov eax, [ecx] \
__asm mov edx, eax \
__asm and edx, 0xFFFFFFFC \
__asm lock cmpxchg dword ptr [ecx], edx \
__asm jnz Rel10 \
\
__asm cmp dl, 3 \
__asm and eax, 1 \
\
__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: crypt_des.c:251

Definition at line 175 of file acwin.h.

◆ ACPI_USE_NATIVE_DIVIDE

#define ACPI_USE_NATIVE_DIVIDE

Definition at line 75 of file acwin.h.

◆ ACPI_USE_NATIVE_MATH64

#define ACPI_USE_NATIVE_MATH64

Definition at line 76 of file acwin.h.

◆ ACPI_USE_STANDARD_HEADERS

#define ACPI_USE_STANDARD_HEADERS

Definition at line 49 of file acwin.h.

◆ ACPI_USE_SYSTEM_CLIBRARY

#define ACPI_USE_SYSTEM_CLIBRARY

Definition at line 50 of file acwin.h.

◆ close

#define close   _close

Definition at line 98 of file acwin.h.

◆ fileno

#define fileno   _fileno

Definition at line 102 of file acwin.h.

◆ fstat

#define fstat   _fstat

Definition at line 100 of file acwin.h.

◆ isatty

#define isatty   _isatty

Definition at line 103 of file acwin.h.

◆ mkdir

#define mkdir   _mkdir

Definition at line 101 of file acwin.h.

◆ O_BINARY

#define O_BINARY   _O_BINARY

Definition at line 109 of file acwin.h.

◆ O_CREAT

#define O_CREAT   _O_CREAT

Definition at line 110 of file acwin.h.

◆ O_RDONLY

#define O_RDONLY   _O_RDONLY

Definition at line 108 of file acwin.h.

◆ O_TRUNC

#define O_TRUNC   _O_TRUNC

Definition at line 112 of file acwin.h.

◆ O_WRONLY

#define O_WRONLY   _O_WRONLY

Definition at line 111 of file acwin.h.

◆ open

#define open   _open

Definition at line 95 of file acwin.h.

◆ read

#define read   _read

Definition at line 96 of file acwin.h.

◆ S_IFDIR

#define S_IFDIR   _S_IFDIR

Definition at line 115 of file acwin.h.

◆ S_IREAD

#define S_IREAD   _S_IREAD

Definition at line 113 of file acwin.h.

◆ S_IWRITE

#define S_IWRITE   _S_IWRITE

Definition at line 114 of file acwin.h.

◆ snprintf

#define snprintf   _snprintf

Definition at line 117 of file acwin.h.

◆ stat

#define stat   _stat

Definition at line 99 of file acwin.h.

◆ vsnprintf

#define vsnprintf   _vsnprintf

Definition at line 106 of file acwin.h.

◆ write

#define write   _write

Definition at line 97 of file acwin.h.