|
ReactOS 0.4.17-dev-470-gf9e3448
|


Go to the source code of this file.
Classes | |
| struct | acpi_signal_fatal_info |
Macros | |
| #define | ACPI_NO_UNIT_LIMIT ((UINT32) -1) |
| #define | ACPI_MUTEX_SEM 1 |
| #define | ACPI_SIGNAL_FATAL 0 |
| #define | ACPI_SIGNAL_BREAKPOINT 1 |
| #define | REQUEST_FILE_ONLY 0 |
| #define | REQUEST_DIR_ONLY 1 |
Typedefs | |
| typedef struct acpi_signal_fatal_info | ACPI_SIGNAL_FATAL_INFO |
Enumerations | |
| enum | ACPI_EXECUTE_TYPE { OSL_GLOBAL_LOCK_HANDLER , OSL_NOTIFY_HANDLER , OSL_GPE_HANDLER , OSL_DEBUGGER_MAIN_THREAD , OSL_DEBUGGER_EXEC_THREAD , OSL_EC_POLL_HANDLER , OSL_EC_BURST_HANDLER } |
| #define ACPI_MUTEX_SEM 1 |
Definition at line 68 of file acpiosxf.h.
Definition at line 67 of file acpiosxf.h.
| #define ACPI_SIGNAL_BREAKPOINT 1 |
Definition at line 74 of file acpiosxf.h.
| #define ACPI_SIGNAL_FATAL 0 |
Definition at line 73 of file acpiosxf.h.
| #define REQUEST_DIR_ONLY 1 |
Definition at line 581 of file acpiosxf.h.
| #define REQUEST_FILE_ONLY 0 |
Definition at line 580 of file acpiosxf.h.
| Enumerator | |
|---|---|
| OSL_GLOBAL_LOCK_HANDLER | |
| OSL_NOTIFY_HANDLER | |
| OSL_GPE_HANDLER | |
| OSL_DEBUGGER_MAIN_THREAD | |
| OSL_DEBUGGER_EXEC_THREAD | |
| OSL_EC_POLL_HANDLER | |
| OSL_EC_BURST_HANDLER | |
Definition at line 55 of file acpiosxf.h.
| ACPI_CPU_FLAGS AcpiOsAcquireLock | ( | ACPI_SPINLOCK | Handle | ) |
Definition at line 690 of file osl.c.
Referenced by AcpiClearGpe(), AcpiDisableGpe(), AcpiEnableGpe(), AcpiEvAcquireGlobalLock(), AcpiEvAsynchEnableGpe(), AcpiEvDeleteGpeBlock(), AcpiEvDeleteGpeXrupt(), AcpiEvDetectGpe(), AcpiEvGetGpeXruptBlock(), AcpiEvGlobalLockHandler(), AcpiEvGpeDetect(), AcpiEvInstallGpeBlock(), AcpiEvInstallGpeHandler(), AcpiEvRemoveAllSciHandlers(), AcpiEvSciDispatch(), AcpiEvWalkGpeList(), AcpiFinishGpe(), AcpiGetGpeStatus(), AcpiHwClearAcpiStatus(), AcpiInstallSciHandler(), AcpiMarkGpeForWake(), AcpiMaskGpe(), AcpiRemoveGpeHandler(), AcpiRemoveSciHandler(), AcpiSetGpe(), AcpiSetGpeWakeMask(), AcpiSetupGpeForWake(), AcpiUtUpdateRefCount(), and AcpiWriteBitRegister().
| void * AcpiOsAcquireObject | ( | ACPI_CACHE_T * | Cache | ) |
Referenced by AcpiNsCreateNode(), AcpiPsAllocOp(), AcpiUtAllocateObjectDescDbg(), and AcpiUtCreateGenericState().
| void * AcpiOsAllocate | ( | ACPI_SIZE | Size | ) |
Definition at line 352 of file osl.c.
Referenced by AcpiEvaluateObject(), AcpiOsAllocateZeroed(), and AcpiUtInitializeBuffer().
| void * AcpiOsAllocateZeroed | ( | ACPI_SIZE | Size | ) |
Definition at line 68 of file utalloc.c.
| ACPI_STATUS AcpiOsCreateCache | ( | char * | CacheName, |
| UINT16 | ObjectSize, | ||
| UINT16 | MaxDepth, | ||
| ACPI_CACHE_T ** | ReturnCache | ||
| ) |
Referenced by AcpiUtCreateCaches().
| ACPI_STATUS AcpiOsCreateLock | ( | ACPI_SPINLOCK * | OutHandle | ) |
Definition at line 655 of file osl.c.
Referenced by AcpiEvInitGlobalLockHandler(), and AcpiUtMutexInitialize().
| ACPI_STATUS AcpiOsCreateSemaphore | ( | UINT32 | MaxUnits, |
| UINT32 | InitialUnits, | ||
| ACPI_SEMAPHORE * | OutHandle | ||
| ) |
Definition at line 544 of file osl.c.
Referenced by AcpiExCreateEvent(), AcpiExSystemResetEvent(), AcpiNsRootInitialize(), and AcpiUtCopySimpleObject().
| ACPI_STATUS AcpiOsDeleteCache | ( | ACPI_CACHE_T * | Cache | ) |
Referenced by AcpiUtDeleteCaches().
| void AcpiOsDeleteLock | ( | ACPI_SPINLOCK | Handle | ) |
Definition at line 677 of file osl.c.
Referenced by AcpiEvRemoveGlobalLockHandler(), and AcpiUtMutexTerminate().
| ACPI_STATUS AcpiOsDeleteSemaphore | ( | ACPI_SEMAPHORE | Handle | ) |
Definition at line 570 of file osl.c.
Referenced by AcpiExSystemResetEvent(), and AcpiUtDeleteInternalObj().
| ACPI_STATUS AcpiOsEnterSleep | ( | UINT8 | SleepState, |
| UINT32 | RegaValue, | ||
| UINT32 | RegbValue | ||
| ) |
Definition at line 1124 of file osl.c.
Referenced by AcpiHwExtendedSleep(), and AcpiHwLegacySleep().
| ACPI_STATUS AcpiOsExecute | ( | ACPI_EXECUTE_TYPE | Type, |
| ACPI_OSD_EXEC_CALLBACK | Function, | ||
| void * | Context | ||
| ) |
Definition at line 416 of file osl.c.
Referenced by AcpiEvAsynchExecuteGpeMethod(), AcpiEvGpeDispatch(), and AcpiEvQueueNotifyRequest().
Definition at line 359 of file osl.c.
Referenced by acpi_evaluate_reference(), AcpiEvaluateObjectTyped(), AcpiUtDeleteCaches(), and Bus_PDO_EvalMethod().
| ACPI_STATUS AcpiOsGetLine | ( | char * | Buffer, |
| UINT32 | BufferLength, | ||
| UINT32 * | BytesRead | ||
| ) |
| ACPI_STATUS AcpiOsGetPhysicalAddress | ( | void * | LogicalAddress, |
| ACPI_PHYSICAL_ADDRESS * | PhysicalAddress | ||
| ) |
Definition at line 332 of file osl.c.
| ACPI_PHYSICAL_ADDRESS AcpiOsGetRootPointer | ( | void | ) |
Definition at line 228 of file osl.c.
Referenced by acpi_create_volatile_registry_tables(), and AcpiInitializeTables().
| ACPI_STATUS AcpiOsGetTableByAddress | ( | ACPI_PHYSICAL_ADDRESS | Address, |
| ACPI_TABLE_HEADER ** | Table | ||
| ) |
| ACPI_STATUS AcpiOsGetTableByIndex | ( | UINT32 | Index, |
| ACPI_TABLE_HEADER ** | Table, | ||
| UINT32 * | Instance, | ||
| ACPI_PHYSICAL_ADDRESS * | Address | ||
| ) |
| ACPI_STATUS AcpiOsGetTableByName | ( | char * | Signature, |
| UINT32 | Instance, | ||
| ACPI_TABLE_HEADER ** | Table, | ||
| ACPI_PHYSICAL_ADDRESS * | Address | ||
| ) |
| ACPI_THREAD_ID AcpiOsGetThreadId | ( | void | ) |
Definition at line 409 of file osl.c.
Referenced by AcpiAcquireGlobalLock(), AcpiDsBeginMethodExecution(), AcpiExAcquireGlobalLock(), AcpiUtAcquireMutex(), AcpiUtCreateThreadState(), and AcpiUtReleaseMutex().
Definition at line 1076 of file osl.c.
Referenced by AcpiDsExecBeginControlOp(), AcpiDsExecEndControlOp(), AcpiExDoDebugObject(), and AcpiExOpcode_0A_0T_1R().
| ACPI_STATUS AcpiOsInitialize | ( | void | ) |
Definition at line 195 of file osl.c.
Referenced by AcpiInitializeSubsystem().
| ACPI_STATUS AcpiOsInitializeDebugger | ( | void | ) |
| ACPI_STATUS AcpiOsInstallInterruptHandler | ( | UINT32 | InterruptNumber, |
| ACPI_OSD_HANDLER | ServiceRoutine, | ||
| void * | Context | ||
| ) |
Definition at line 740 of file osl.c.
Referenced by AcpiEvGetGpeXruptBlock(), and AcpiEvInstallSciHandler().
| void * AcpiOsMapMemory | ( | ACPI_PHYSICAL_ADDRESS | Where, |
| ACPI_SIZE | Length | ||
| ) |
Definition at line 300 of file osl.c.
Referenced by acpi_create_volatile_registry_tables(), AcpiExSystemMemorySpaceHandler(), AcpiFindRootPointer(), AcpiGetTableHeader(), AcpiTbAcquireTable(), AcpiTbAcquireTempTable(), and AcpiTbParseRootTable().
| ACPI_STATUS AcpiOsNotifyCommandComplete | ( | void | ) |
| ACPI_STATUS AcpiOsPhysicalTableOverride | ( | ACPI_TABLE_HEADER * | ExistingTable, |
| ACPI_PHYSICAL_ADDRESS * | NewAddress, | ||
| UINT32 * | NewTableLength | ||
| ) |
Definition at line 281 of file osl.c.
Referenced by AcpiTbOverrideTable().
| ACPI_STATUS AcpiOsPredefinedOverride | ( | const ACPI_PREDEFINED_NAMES * | InitVal, |
| ACPI_STRING * | NewVal | ||
| ) |
Definition at line 247 of file osl.c.
Referenced by AcpiNsRootInitialize().
| void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf | ( | const char * | Format, |
| ... | |||
| ) |
Definition at line 1043 of file osl.c.
Referenced by AcpiBiosError(), AcpiBiosException(), AcpiBiosWarning(), AcpiError(), AcpiException(), AcpiExDoDebugObject(), AcpiInfo(), AcpiNsLookup(), AcpiNsPrintNodePathname(), AcpiPsDeleteParseTree(), AcpiPsGetAmlOpcode(), AcpiPsParseAml(), AcpiRsDumpByteList(), AcpiRsDumpDescriptor(), AcpiRsDumpDwordList(), AcpiRsDumpIrqList(), AcpiRsDumpResourceList(), AcpiRsDumpShortByteList(), AcpiRsDumpWordList(), AcpiRsOutInteger16(), AcpiRsOutInteger32(), AcpiRsOutInteger64(), AcpiRsOutInteger8(), AcpiRsOutString(), AcpiRsOutTitle(), AcpiUtDumpBuffer(), AcpiUtMethodError(), AcpiUtPredefinedBiosError(), AcpiUtPredefinedInfo(), AcpiUtPredefinedWarning(), AcpiUtPrefixedNamespaceError(), AcpiUtPrintString(), and AcpiWarning().
| ACPI_STATUS AcpiOsPurgeCache | ( | ACPI_CACHE_T * | Cache | ) |
Referenced by AcpiPurgeCachedObjects().
Definition at line 367 of file osl.c.
| ACPI_STATUS AcpiOsReadMemory | ( | ACPI_PHYSICAL_ADDRESS | Address, |
| UINT64 * | Value, | ||
| UINT32 | Width | ||
| ) |
Definition at line 826 of file osl.c.
Referenced by AcpiHwRead().
| ACPI_STATUS AcpiOsReadPciConfiguration | ( | ACPI_PCI_ID * | PciId, |
| UINT32 | Reg, | ||
| UINT64 * | Value, | ||
| UINT32 | Width | ||
| ) |
Definition at line 985 of file osl.c.
Referenced by AcpiExPciConfigSpaceHandler(), and AcpiHwGetPciDeviceInfo().
| ACPI_STATUS AcpiOsReadPort | ( | ACPI_IO_ADDRESS | Address, |
| UINT32 * | Value, | ||
| UINT32 | Width | ||
| ) |
Definition at line 893 of file osl.c.
Referenced by AcpiHwReadPort().
| void AcpiOsReleaseLock | ( | ACPI_SPINLOCK | Handle, |
| ACPI_CPU_FLAGS | Flags | ||
| ) |
Definition at line 708 of file osl.c.
Referenced by AcpiClearGpe(), AcpiDisableGpe(), AcpiEnableGpe(), AcpiEvAcquireGlobalLock(), AcpiEvAsynchEnableGpe(), AcpiEvDeleteGpeBlock(), AcpiEvDeleteGpeXrupt(), AcpiEvDetectGpe(), AcpiEvGetGpeXruptBlock(), AcpiEvGlobalLockHandler(), AcpiEvGpeDetect(), AcpiEvInstallGpeBlock(), AcpiEvInstallGpeHandler(), AcpiEvRemoveAllSciHandlers(), AcpiEvSciDispatch(), AcpiEvWalkGpeList(), AcpiFinishGpe(), AcpiGetGpeStatus(), AcpiHwClearAcpiStatus(), AcpiInstallSciHandler(), AcpiMarkGpeForWake(), AcpiMaskGpe(), AcpiRemoveGpeHandler(), AcpiRemoveSciHandler(), AcpiSetGpe(), AcpiSetGpeWakeMask(), AcpiSetupGpeForWake(), AcpiUtUpdateRefCount(), and AcpiWriteBitRegister().
| ACPI_STATUS AcpiOsReleaseObject | ( | ACPI_CACHE_T * | Cache, |
| void * | Object | ||
| ) |
Referenced by AcpiNsDeleteNode(), AcpiPsFreeOp(), AcpiUtDeleteGenericState(), and AcpiUtDeleteObjectDesc().
| ACPI_STATUS AcpiOsRemoveInterruptHandler | ( | UINT32 | InterruptNumber, |
| ACPI_OSD_HANDLER | ServiceRoutine | ||
| ) |
Definition at line 798 of file osl.c.
Referenced by AcpiEvDeleteGpeXrupt(), and AcpiEvRemoveAllSciHandlers().
| ACPI_STATUS AcpiOsSignal | ( | UINT32 | Function, |
| void * | Info | ||
| ) |
Definition at line 1096 of file osl.c.
Referenced by AcpiDsExecEndControlOp(), and AcpiExOpcode_3A_0T_0R().
| ACPI_STATUS AcpiOsSignalSemaphore | ( | ACPI_SEMAPHORE | Handle, |
| UINT32 | Units | ||
| ) |
Definition at line 631 of file osl.c.
Referenced by AcpiEvGlobalLockHandler(), and AcpiExSystemSignalEvent().
Definition at line 449 of file osl.c.
Referenced by AcpiExSystemDoSleep().
Definition at line 456 of file osl.c.
Referenced by AcpiEnterSleepStateS4bios(), AcpiExSystemDoStall(), AcpiHwLegacySleep(), and AcpiHwSetMode().
| ACPI_STATUS AcpiOsTableOverride | ( | ACPI_TABLE_HEADER * | ExistingTable, |
| ACPI_TABLE_HEADER ** | NewTable | ||
| ) |
Definition at line 264 of file osl.c.
Referenced by AcpiTbOverrideTable().
| ACPI_STATUS AcpiOsTerminate | ( | void | ) |
Definition at line 211 of file osl.c.
Referenced by AcpiTerminate().
| void AcpiOsTracePoint | ( | ACPI_TRACE_EVENT_TYPE | Type, |
| BOOLEAN | Begin, | ||
| UINT8 * | Aml, | ||
| char * | Pathname | ||
| ) |
Definition at line 320 of file osl.c.
Referenced by acpi_create_volatile_registry_tables(), AcpiEvSystemMemoryRegionSetup(), AcpiFindRootPointer(), AcpiGetTableHeader(), AcpiTbAcquireTempTable(), AcpiTbParseRootTable(), and AcpiTbReleaseTable().
Definition at line 1057 of file osl.c.
Referenced by AcpiBiosError(), AcpiBiosException(), AcpiBiosWarning(), AcpiError(), AcpiException(), AcpiInfo(), AcpiOsPrintf(), AcpiUtPredefinedBiosError(), AcpiUtPredefinedInfo(), AcpiUtPredefinedWarning(), and AcpiWarning().
| ACPI_STATUS AcpiOsWaitCommandReady | ( | void | ) |
Definition at line 1086 of file osl.c.
Referenced by AcpiRemoveGpeHandler(), and AcpiRemoveNotifyHandler().
| ACPI_STATUS AcpiOsWaitSemaphore | ( | ACPI_SEMAPHORE | Handle, |
| UINT32 | Units, | ||
| UINT16 | Timeout | ||
| ) |
Definition at line 585 of file osl.c.
Referenced by AcpiExSystemWaitSemaphore().
| ACPI_STATUS AcpiOsWriteMemory | ( | ACPI_PHYSICAL_ADDRESS | Address, |
| UINT64 | Value, | ||
| UINT32 | Width | ||
| ) |
Definition at line 859 of file osl.c.
Referenced by AcpiHwWrite().
| ACPI_STATUS AcpiOsWritePciConfiguration | ( | ACPI_PCI_ID * | PciId, |
| UINT32 | Reg, | ||
| UINT64 | Value, | ||
| UINT32 | Width | ||
| ) |
Definition at line 1014 of file osl.c.
Referenced by AcpiExPciConfigSpaceHandler().
| ACPI_STATUS AcpiOsWritePort | ( | ACPI_IO_ADDRESS | Address, |
| UINT32 | Value, | ||
| UINT32 | Width | ||
| ) |
Definition at line 923 of file osl.c.
Referenced by AcpiHwWritePort(), and AcpiReset().