67#define ACPI_NO_UNIT_LIMIT ((UINT32) -1)
68#define ACPI_MUTEX_SEM 1
73#define ACPI_SIGNAL_FATAL 0
74#define ACPI_SIGNAL_BREAKPOINT 1
88#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsInitialize
94#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsTerminate
104#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetRootPointer
110#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsPredefinedOverride
117#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsTableOverride
124#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsPhysicalTableOverride
128 ACPI_PHYSICAL_ADDRESS *NewAddress,
136#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCreateLock
142#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsDeleteLock
148#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAcquireLock
154#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReleaseLock
165#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCreateSemaphore
173#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsDeleteSemaphore
179#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWaitSemaphore
187#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsSignalSemaphore
199#if (ACPI_MUTEX_TYPE != ACPI_BINARY_SEMAPHORE)
201#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCreateMutex
207#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsDeleteMutex
213#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAcquireMutex
220#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReleaseMutex
232#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAllocate
238#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAllocateZeroed
244#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsFree
250#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsMapMemory
253 ACPI_PHYSICAL_ADDRESS Where,
257#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsUnmapMemory
260 void *LogicalAddress,
264#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetPhysicalAddress
267 void *LogicalAddress,
275#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCreateCache
284#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsDeleteCache
290#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsPurgeCache
296#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAcquireObject
302#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReleaseObject
313#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsInstallInterruptHandler
321#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsRemoveInterruptHandler
332#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetThreadId
338#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsExecute
346#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWaitEventsComplete
352#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsSleep
358#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsStall
368#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReadPort
376#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWritePort
388#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReadMemory
396#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWriteMemory
410#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReadPciConfiguration
419#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWritePciConfiguration
432#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReadable
439#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWritable
446#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetTimer
452#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsSignal
459#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsEnterSleep
471#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsPrintf
479#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsVprintf
486#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsRedirectOutput
496#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetLine
504#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsInitializeDebugger
510#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsTerminateDebugger
516#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWaitCommandReady
522#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsNotifyCommandComplete
528#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsTracePoint
541#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetTableByName
547 ACPI_PHYSICAL_ADDRESS *
Address);
550#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetTableByIndex
556 ACPI_PHYSICAL_ADDRESS *
Address);
559#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetTableByAddress
570#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsOpenDirectory
575 char RequestedFileType);
580#define REQUEST_FILE_ONLY 0
581#define REQUEST_DIR_ONLY 1
584#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetNextFilename
590#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCloseDirectory
unsigned long long UINT64
#define ACPI_INTERNAL_VAR_XFACE
ACPI_STATUS AcpiOsInitialize(void)
void AcpiOsRedirectOutput(void *Destination)
ACPI_STATUS AcpiOsGetPhysicalAddress(void *LogicalAddress, ACPI_PHYSICAL_ADDRESS *PhysicalAddress)
void * AcpiOsOpenDirectory(char *Pathname, char *WildcardSpec, char RequestedFileType)
ACPI_STATUS AcpiOsInitializeDebugger(void)
ACPI_STATUS AcpiOsCreateLock(ACPI_SPINLOCK *OutHandle)
ACPI_STATUS AcpiOsSignalSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units)
ACPI_STATUS AcpiOsReleaseObject(ACPI_CACHE_T *Cache, void *Object)
ACPI_STATUS AcpiOsPredefinedOverride(const ACPI_PREDEFINED_NAMES *InitVal, ACPI_STRING *NewVal)
struct acpi_signal_fatal_info ACPI_SIGNAL_FATAL_INFO
ACPI_STATUS AcpiOsTableOverride(ACPI_TABLE_HEADER *ExistingTable, ACPI_TABLE_HEADER **NewTable)
ACPI_STATUS AcpiOsDeleteCache(ACPI_CACHE_T *Cache)
ACPI_STATUS AcpiOsSignal(UINT32 Function, void *Info)
ACPI_THREAD_ID AcpiOsGetThreadId(void)
ACPI_STATUS AcpiOsCreateSemaphore(UINT32 MaxUnits, UINT32 InitialUnits, ACPI_SEMAPHORE *OutHandle)
ACPI_STATUS AcpiOsWaitSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units, UINT16 Timeout)
ACPI_STATUS AcpiOsWritePciConfiguration(ACPI_PCI_ID *PciId, UINT32 Reg, UINT64 Value, UINT32 Width)
ACPI_STATUS AcpiOsWaitCommandReady(void)
ACPI_STATUS AcpiOsReadMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 *Value, UINT32 Width)
ACPI_STATUS AcpiOsReadPciConfiguration(ACPI_PCI_ID *PciId, UINT32 Reg, UINT64 *Value, UINT32 Width)
ACPI_STATUS AcpiOsGetTableByAddress(ACPI_PHYSICAL_ADDRESS Address, ACPI_TABLE_HEADER **Table)
ACPI_STATUS AcpiOsGetTableByName(char *Signature, UINT32 Instance, ACPI_TABLE_HEADER **Table, ACPI_PHYSICAL_ADDRESS *Address)
char * AcpiOsGetNextFilename(void *DirHandle)
void AcpiOsTerminateDebugger(void)
void * AcpiOsAllocate(ACPI_SIZE Size)
ACPI_STATUS AcpiOsReadPort(ACPI_IO_ADDRESS Address, UINT32 *Value, UINT32 Width)
ACPI_STATUS AcpiOsWritePort(ACPI_IO_ADDRESS Address, UINT32 Value, UINT32 Width)
void * AcpiOsAllocateZeroed(ACPI_SIZE Size)
ACPI_STATUS AcpiOsCreateCache(char *CacheName, UINT16 ObjectSize, UINT16 MaxDepth, ACPI_CACHE_T **ReturnCache)
ACPI_STATUS AcpiOsEnterSleep(UINT8 SleepState, UINT32 RegaValue, UINT32 RegbValue)
ACPI_STATUS AcpiOsRemoveInterruptHandler(UINT32 InterruptNumber, ACPI_OSD_HANDLER ServiceRoutine)
void AcpiOsStall(UINT32 Microseconds)
UINT64 AcpiOsGetTimer(void)
ACPI_STATUS AcpiOsTerminate(void)
void AcpiOsVprintf(const char *Format, va_list Args)
ACPI_STATUS AcpiOsPhysicalTableOverride(ACPI_TABLE_HEADER *ExistingTable, ACPI_PHYSICAL_ADDRESS *NewAddress, UINT32 *NewTableLength)
void AcpiOsFree(void *Memory)
void * AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS Where, ACPI_SIZE Length)
ACPI_STATUS AcpiOsWriteMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 Value, UINT32 Width)
ACPI_STATUS AcpiOsDeleteSemaphore(ACPI_SEMAPHORE Handle)
ACPI_PHYSICAL_ADDRESS AcpiOsGetRootPointer(void)
@ OSL_DEBUGGER_EXEC_THREAD
@ OSL_GLOBAL_LOCK_HANDLER
@ OSL_DEBUGGER_MAIN_THREAD
ACPI_STATUS AcpiOsGetTableByIndex(UINT32 Index, ACPI_TABLE_HEADER **Table, UINT32 *Instance, ACPI_PHYSICAL_ADDRESS *Address)
ACPI_STATUS AcpiOsNotifyCommandComplete(void)
void AcpiOsReleaseLock(ACPI_SPINLOCK Handle, ACPI_CPU_FLAGS Flags)
ACPI_CPU_FLAGS AcpiOsAcquireLock(ACPI_SPINLOCK Handle)
void AcpiOsUnmapMemory(void *LogicalAddress, ACPI_SIZE Size)
void AcpiOsTracePoint(ACPI_TRACE_EVENT_TYPE Type, BOOLEAN Begin, UINT8 *Aml, char *Pathname)
void AcpiOsSleep(UINT64 Milliseconds)
ACPI_STATUS AcpiOsGetLine(char *Buffer, UINT32 BufferLength, UINT32 *BytesRead)
void AcpiOsCloseDirectory(void *DirHandle)
void * AcpiOsAcquireObject(ACPI_CACHE_T *Cache)
ACPI_STATUS AcpiOsExecute(ACPI_EXECUTE_TYPE Type, ACPI_OSD_EXEC_CALLBACK Function, void *Context)
BOOLEAN AcpiOsReadable(void *Pointer, ACPI_SIZE Length)
ACPI_STATUS AcpiOsPurgeCache(ACPI_CACHE_T *Cache)
ACPI_STATUS AcpiOsInstallInterruptHandler(UINT32 InterruptNumber, ACPI_OSD_HANDLER ServiceRoutine, void *Context)
BOOLEAN AcpiOsWritable(void *Pointer, ACPI_SIZE Length)
void AcpiOsDeleteLock(ACPI_SPINLOCK Handle)
void AcpiOsWaitEventsComplete(void)
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN Begin
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING Pathname
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 MaxDepth
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN UINT8 * Aml
#define AcpiOsDeleteMutex(Handle)
UINT32(ACPI_SYSTEM_XFACE * ACPI_OSD_HANDLER)(void *Context)
void(ACPI_SYSTEM_XFACE * ACPI_OSD_EXEC_CALLBACK)(void *Context)
#define AcpiOsAcquireMutex(Handle, Time)
#define ACPI_PRINTF_LIKE(c)
#define AcpiOsReleaseMutex(Handle)
#define AcpiOsCreateMutex(OutHandle)
_In_ CDROM_SCAN_FOR_SPECIAL_INFO _In_ PCDROM_SCAN_FOR_SPECIAL_HANDLER Function
static const WCHAR Signature[]
static PDEVICE_UNIT Units[MAX_CHANNELS *MAX_DEVICES]
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
_In_ ULONG _In_ ULONG _In_ ULONG Length
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesRead
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY * Memory
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_opt_ WDFWMIINSTANCE * Instance
_Must_inspect_result_ _In_ ULONG Flags
_In_ PKSERVICE_ROUTINE ServiceRoutine
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress