ReactOS 0.4.16-dev-340-g0540c21
|
Go to the source code of this file.
Classes | |
struct | _ACPI_SEM |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef struct _ACPI_SEM | ACPI_SEM |
typedef struct _ACPI_SEM * | PACPI_SEM |
Variables | |
static PKINTERRUPT | AcpiInterrupt |
static BOOLEAN | AcpiInterruptHandlerRegistered = FALSE |
static ACPI_OSD_HANDLER | AcpiIrqHandler = NULL |
static PVOID | AcpiIrqContext = NULL |
static ULONG | AcpiIrqNumber = 0 |
ACPI_CPU_FLAGS AcpiOsAcquireLock | ( | ACPI_SPINLOCK | Handle | ) |
Definition at line 498 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 AcpiOsAcquireMutex | ( | ACPI_MUTEX | Handle, |
UINT16 | Timeout | ||
) |
Definition at line 306 of file osl.c.
ACPI_STATUS AcpiOsCreateLock | ( | ACPI_SPINLOCK * | OutHandle | ) |
Definition at line 463 of file osl.c.
Referenced by AcpiEvInitGlobalLockHandler(), and AcpiUtMutexInitialize().
ACPI_STATUS AcpiOsCreateMutex | ( | ACPI_MUTEX * | OutHandle | ) |
Definition at line 271 of file osl.c.
ACPI_STATUS AcpiOsCreateSemaphore | ( | UINT32 | MaxUnits, |
UINT32 | InitialUnits, | ||
ACPI_SEMAPHORE * | OutHandle | ||
) |
Definition at line 352 of file osl.c.
Referenced by AcpiExCreateEvent(), AcpiExSystemResetEvent(), AcpiNsRootInitialize(), and AcpiUtCopySimpleObject().
void AcpiOsDeleteLock | ( | ACPI_SPINLOCK | Handle | ) |
Definition at line 485 of file osl.c.
Referenced by AcpiEvRemoveGlobalLockHandler(), and AcpiUtMutexTerminate().
void AcpiOsDeleteMutex | ( | ACPI_MUTEX | Handle | ) |
ACPI_STATUS AcpiOsDeleteSemaphore | ( | ACPI_SEMAPHORE | Handle | ) |
Definition at line 378 of file osl.c.
Referenced by AcpiExSystemResetEvent(), and AcpiUtDeleteInternalObj().
ACPI_STATUS AcpiOsEnterSleep | ( | UINT8 | SleepState, |
UINT32 | RegaValue, | ||
UINT32 | RegbValue | ||
) |
Definition at line 932 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 224 of file osl.c.
Referenced by AcpiEvAsynchExecuteGpeMethod(), AcpiEvGpeDispatch(), and AcpiEvQueueNotifyRequest().
ACPI_STATUS AcpiOsGetLine | ( | char * | Buffer, |
UINT32 | BufferLength, | ||
UINT32 * | BytesRead | ||
) |
ACPI_STATUS AcpiOsGetPhysicalAddress | ( | void * | LogicalAddress, |
ACPI_PHYSICAL_ADDRESS * | PhysicalAddress | ||
) |
Definition at line 140 of file osl.c.
ACPI_PHYSICAL_ADDRESS AcpiOsGetRootPointer | ( | void | ) |
Definition at line 43 of file osl.c.
Referenced by acpi_create_volatile_registry_tables(), and AcpiInitializeTables().
ACPI_THREAD_ID AcpiOsGetThreadId | ( | void | ) |
Definition at line 217 of file osl.c.
Referenced by AcpiAcquireGlobalLock(), AcpiDsBeginMethodExecution(), AcpiExAcquireGlobalLock(), AcpiUtAcquireMutex(), AcpiUtCreateThreadState(), and AcpiUtReleaseMutex().
Definition at line 884 of file osl.c.
Referenced by AcpiDsExecBeginControlOp(), AcpiDsExecEndControlOp(), AcpiExDoDebugObject(), and AcpiExOpcode_0A_0T_1R().
ACPI_STATUS AcpiOsInitialize | ( | void | ) |
Definition at line 21 of file osl.c.
Referenced by AcpiInitializeSubsystem().
UINT32 AcpiOsInstallInterruptHandler | ( | UINT32 | InterruptNumber, |
ACPI_OSD_HANDLER | ServiceRoutine, | ||
void * | Context | ||
) |
Definition at line 548 of file osl.c.
Referenced by AcpiEvGetGpeXruptBlock(), and AcpiEvInstallSciHandler().
void * AcpiOsMapMemory | ( | ACPI_PHYSICAL_ADDRESS | phys, |
ACPI_SIZE | length | ||
) |
Definition at line 108 of file osl.c.
Referenced by acpi_create_volatile_registry_tables(), AcpiExSystemMemorySpaceHandler(), AcpiFindRootPointer(), AcpiGetTableHeader(), AcpiTbAcquireTable(), AcpiTbAcquireTempTable(), and AcpiTbParseRootTable().
ACPI_STATUS AcpiOsPhysicalTableOverride | ( | ACPI_TABLE_HEADER * | ExistingTable, |
ACPI_PHYSICAL_ADDRESS * | NewAddress, | ||
UINT32 * | NewTableLength | ||
) |
Definition at line 89 of file osl.c.
Referenced by AcpiTbOverrideTable().
ACPI_STATUS AcpiOsPredefinedOverride | ( | const ACPI_PREDEFINED_NAMES * | PredefinedObject, |
ACPI_STRING * | NewValue | ||
) |
Definition at line 55 of file osl.c.
Referenced by AcpiNsRootInitialize().
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf | ( | const char * | Fmt, |
... | |||
) |
Definition at line 851 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().
Definition at line 175 of file osl.c.
ACPI_STATUS AcpiOsReadMemory | ( | ACPI_PHYSICAL_ADDRESS | Address, |
UINT64 * | Value, | ||
UINT32 | Width | ||
) |
Definition at line 634 of file osl.c.
Referenced by AcpiHwRead().
ACPI_STATUS AcpiOsReadPciConfiguration | ( | ACPI_PCI_ID * | PciId, |
UINT32 | Reg, | ||
UINT64 * | Value, | ||
UINT32 | Width | ||
) |
Definition at line 793 of file osl.c.
Referenced by AcpiExPciConfigSpaceHandler(), and AcpiHwGetPciDeviceInfo().
ACPI_STATUS AcpiOsReadPort | ( | ACPI_IO_ADDRESS | Address, |
UINT32 * | Value, | ||
UINT32 | Width | ||
) |
Definition at line 701 of file osl.c.
Referenced by AcpiHwReadPort().
void AcpiOsReleaseLock | ( | ACPI_SPINLOCK | Handle, |
ACPI_CPU_FLAGS | Flags | ||
) |
Definition at line 516 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 AcpiOsReleaseMutex | ( | ACPI_MUTEX | Handle | ) |
ACPI_STATUS AcpiOsRemoveInterruptHandler | ( | UINT32 | InterruptNumber, |
ACPI_OSD_HANDLER | ServiceRoutine | ||
) |
Definition at line 606 of file osl.c.
Referenced by AcpiEvDeleteGpeXrupt(), and AcpiEvRemoveAllSciHandlers().
ACPI_STATUS AcpiOsSignal | ( | UINT32 | Function, |
void * | Info | ||
) |
Definition at line 904 of file osl.c.
Referenced by AcpiDsExecEndControlOp(), and AcpiExOpcode_3A_0T_0R().
ACPI_STATUS AcpiOsSignalSemaphore | ( | ACPI_SEMAPHORE | Handle, |
UINT32 | Units | ||
) |
Definition at line 439 of file osl.c.
Referenced by AcpiEvGlobalLockHandler(), and AcpiExSystemSignalEvent().
Definition at line 257 of file osl.c.
Referenced by AcpiExSystemDoSleep().
Definition at line 264 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 72 of file osl.c.
Referenced by AcpiTbOverrideTable().
ACPI_STATUS AcpiOsTerminate | ( | void | ) |
Definition at line 35 of file osl.c.
Referenced by AcpiTerminate().
Definition at line 128 of file osl.c.
Referenced by acpi_create_volatile_registry_tables(), AcpiEvSystemMemoryRegionSetup(), AcpiFindRootPointer(), AcpiGetTableHeader(), AcpiTbAcquireTempTable(), AcpiTbParseRootTable(), and AcpiTbReleaseTable().
Definition at line 865 of file osl.c.
Referenced by AcpiBiosError(), AcpiBiosException(), AcpiBiosWarning(), AcpiError(), AcpiException(), AcpiInfo(), AcpiOsPrintf(), AcpiUtPredefinedBiosError(), AcpiUtPredefinedInfo(), AcpiUtPredefinedWarning(), and AcpiWarning().
Definition at line 894 of file osl.c.
Referenced by AcpiRemoveGpeHandler(), and AcpiRemoveNotifyHandler().
ACPI_STATUS AcpiOsWaitSemaphore | ( | ACPI_SEMAPHORE | Handle, |
UINT32 | Units, | ||
UINT16 | Timeout | ||
) |
Definition at line 393 of file osl.c.
Referenced by AcpiExSystemWaitSemaphore().
ACPI_STATUS AcpiOsWriteMemory | ( | ACPI_PHYSICAL_ADDRESS | Address, |
UINT64 | Value, | ||
UINT32 | Width | ||
) |
Definition at line 667 of file osl.c.
Referenced by AcpiHwWrite().
ACPI_STATUS AcpiOsWritePciConfiguration | ( | ACPI_PCI_ID * | PciId, |
UINT32 | Reg, | ||
UINT64 | Value, | ||
UINT32 | Width | ||
) |
Definition at line 822 of file osl.c.
Referenced by AcpiExPciConfigSpaceHandler().
ACPI_STATUS AcpiOsWritePort | ( | ACPI_IO_ADDRESS | Address, |
UINT32 | Value, | ||
UINT32 | Width | ||
) |
Definition at line 731 of file osl.c.
Referenced by AcpiHwWritePort(), and AcpiReset().
Definition at line 760 of file osl.c.
Referenced by AcpiOsReadPciConfiguration(), and AcpiOsWritePciConfiguration().
BOOLEAN NTAPI OslIsrStub | ( | PKINTERRUPT | Interrupt, |
PVOID | ServiceContext | ||
) |
Definition at line 533 of file osl.c.
Referenced by AcpiOsInstallInterruptHandler().
|
static |
Definition at line 14 of file osl.c.
Referenced by AcpiOsInstallInterruptHandler(), and AcpiOsRemoveInterruptHandler().
Definition at line 15 of file osl.c.
Referenced by AcpiOsInstallInterruptHandler(), and AcpiOsRemoveInterruptHandler().
Definition at line 17 of file osl.c.
Referenced by AcpiOsInstallInterruptHandler(), and OslIsrStub().
|
static |
Definition at line 16 of file osl.c.
Referenced by AcpiOsInstallInterruptHandler().
|
static |
Definition at line 18 of file osl.c.
Referenced by AcpiOsInstallInterruptHandler().