ReactOS 0.4.16-dev-340-g0540c21
|
Go to the source code of this file.
Classes | |
struct | acpi_exdump_info |
Typedefs | |
typedef const struct acpi_exdump_info | ACPI_EXDUMP_INFO |
#define ACPI_EXD_ADDRESS 8 |
Definition at line 86 of file acinterp.h.
#define ACPI_EXD_BUFFER 10 |
Definition at line 88 of file acinterp.h.
#define ACPI_EXD_FIELD 12 |
Definition at line 90 of file acinterp.h.
#define ACPI_EXD_INIT 0 |
Definition at line 78 of file acinterp.h.
Definition at line 92 of file acinterp.h.
#define ACPI_EXD_LITERAL 6 |
Definition at line 84 of file acinterp.h.
Definition at line 95 of file acinterp.h.
#define ACPI_EXD_NSOFFSET | ( | f | ) | (UINT8) ACPI_OFFSET (ACPI_NAMESPACE_NODE,f) |
Definition at line 53 of file acinterp.h.
#define ACPI_EXD_OFFSET | ( | f | ) | (UINT8) ACPI_OFFSET (ACPI_OPERAND_OBJECT,f) |
Definition at line 52 of file acinterp.h.
#define ACPI_EXD_PACKAGE 11 |
Definition at line 89 of file acinterp.h.
#define ACPI_EXD_POINTER 7 |
Definition at line 85 of file acinterp.h.
#define ACPI_EXD_REFERENCE 13 |
Definition at line 91 of file acinterp.h.
Definition at line 94 of file acinterp.h.
#define ACPI_EXD_STRING 9 |
Definition at line 87 of file acinterp.h.
Definition at line 54 of file acinterp.h.
#define ACPI_EXD_TYPE 1 |
Definition at line 79 of file acinterp.h.
#define ACPI_EXD_UINT16 3 |
Definition at line 81 of file acinterp.h.
#define ACPI_EXD_UINT32 4 |
Definition at line 82 of file acinterp.h.
#define ACPI_EXD_UINT64 5 |
Definition at line 83 of file acinterp.h.
#define ACPI_EXD_UINT8 2 |
Definition at line 80 of file acinterp.h.
#define ACPI_EXPLICIT_BYTE_COPY 0x00000000 |
Definition at line 124 of file acinterp.h.
#define ACPI_EXPLICIT_CONVERT_DECIMAL 0x00000003 |
Definition at line 127 of file acinterp.h.
#define ACPI_EXPLICIT_CONVERT_HEX 0x00000001 |
Definition at line 125 of file acinterp.h.
#define ACPI_IMPLICIT_CONVERT_HEX 0x00000002 |
Definition at line 126 of file acinterp.h.
#define ACPI_WALK_OPERANDS (&(WalkState->Operands [WalkState->NumOperands -1])) |
Definition at line 48 of file acinterp.h.
typedef const struct acpi_exdump_info ACPI_EXDUMP_INFO |
ACPI_STATUS AcpiExAccessRegion | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
UINT32 | FieldDatumByteOffset, | ||
UINT64 * | Value, | ||
UINT32 | ReadWrite | ||
) |
Definition at line 249 of file exfldio.c.
Referenced by AcpiExFieldDatumIo(), AcpiExReadGpio(), AcpiExReadSerialBus(), AcpiExWriteDataToField(), AcpiExWriteGpio(), and AcpiExWriteSerialBus().
Definition at line 225 of file exutils.c.
Referenced by AcpiExReadDataFromField(), AcpiExReadGpio(), AcpiExReadSerialBus(), AcpiExWriteDataToField(), AcpiExWriteGpio(), and AcpiExWriteSerialBus().
ACPI_STATUS AcpiExAcquireMutex | ( | ACPI_OPERAND_OBJECT * | TimeDesc, |
ACPI_OPERAND_OBJECT * | ObjDesc, | ||
ACPI_WALK_STATE * | WalkState | ||
) |
Definition at line 248 of file exmutex.c.
Referenced by AcpiExOpcode_2A_0T_1R().
ACPI_STATUS AcpiExAcquireMutexObject | ( | UINT16 | Timeout, |
ACPI_OPERAND_OBJECT * | ObjDesc, | ||
ACPI_THREAD_ID | ThreadId | ||
) |
Definition at line 176 of file exmutex.c.
Referenced by AcpiAcquireGlobalLock(), AcpiExAcquireGlobalLock(), and AcpiExAcquireMutex().
ACPI_STATUS AcpiExCmosSpaceHandler | ( | UINT32 | Function, |
ACPI_PHYSICAL_ADDRESS | Address, | ||
UINT32 | BitWidth, | ||
UINT64 * | Value, | ||
void * | HandlerContext, | ||
void * | RegionContext | ||
) |
Definition at line 505 of file exregion.c.
Referenced by AcpiEvInstallSpaceHandler().
ACPI_STATUS AcpiExCommonBufferSetup | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
UINT32 | BufferLength, | ||
UINT32 * | DatumCount | ||
) |
ACPI_STATUS AcpiExConcatTemplate | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
ACPI_OPERAND_OBJECT * | ObjDesc2, | ||
ACPI_OPERAND_OBJECT ** | ActualReturnDesc, | ||
ACPI_WALK_STATE * | WalkState | ||
) |
Definition at line 388 of file exconcat.c.
Referenced by AcpiExOpcode_2A_1T_1R().
ACPI_STATUS AcpiExConvertToBuffer | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
ACPI_OPERAND_OBJECT ** | ResultDesc | ||
) |
Definition at line 224 of file exconvrt.c.
Referenced by AcpiExConvertToTargetType(), AcpiExDoConcatenate(), AcpiExDoLogicalOp(), AcpiExOpcode_1A_1T_1R(), AcpiExResolveOperands(), and AcpiNsConvertToBuffer().
ACPI_STATUS AcpiExConvertToInteger | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
ACPI_OPERAND_OBJECT ** | ResultDesc, | ||
UINT32 | ImplicitConversion | ||
) |
Definition at line 79 of file exconvrt.c.
Referenced by AcpiDsGetPredicateValue(), AcpiExConvertToTargetType(), AcpiExDoConcatenate(), AcpiExDoLogicalOp(), AcpiExOpcode_1A_1T_1R(), and AcpiExResolveOperands().
ACPI_STATUS AcpiExConvertToString | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
ACPI_OPERAND_OBJECT ** | ResultDesc, | ||
UINT32 | Type | ||
) |
Definition at line 440 of file exconvrt.c.
Referenced by AcpiExConvertToTargetType(), AcpiExDoConcatenate(), AcpiExDoLogicalOp(), AcpiExOpcode_1A_1T_1R(), AcpiExResolveOperands(), and AcpiNsConvertToString().
ACPI_STATUS AcpiExConvertToTargetType | ( | ACPI_OBJECT_TYPE | DestinationType, |
ACPI_OPERAND_OBJECT * | SourceDesc, | ||
ACPI_OPERAND_OBJECT ** | ResultDesc, | ||
ACPI_WALK_STATE * | WalkState | ||
) |
Definition at line 654 of file exconvrt.c.
Referenced by AcpiExStoreObjectToObject().
ACPI_STATUS AcpiExCopyDataToNamedField | ( | ACPI_OPERAND_OBJECT * | SourceDesc, |
ACPI_NAMESPACE_NODE * | Node | ||
) |
ACPI_STATUS AcpiExCopyIntegerToBankField | ( | ACPI_OPERAND_OBJECT * | SourceDesc, |
ACPI_OPERAND_OBJECT * | TargetDesc | ||
) |
ACPI_STATUS AcpiExCopyIntegerToBufferField | ( | ACPI_OPERAND_OBJECT * | SourceDesc, |
ACPI_OPERAND_OBJECT * | TargetDesc | ||
) |
ACPI_STATUS AcpiExCopyIntegerToIndexField | ( | ACPI_OPERAND_OBJECT * | SourceDesc, |
ACPI_OPERAND_OBJECT * | TargetDesc | ||
) |
ACPI_STATUS AcpiExCreateAlias | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 68 of file excreate.c.
Referenced by AcpiDsLoad2EndOp().
ACPI_STATUS AcpiExCreateEvent | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 147 of file excreate.c.
Referenced by AcpiDsLoad2EndOp().
ACPI_STATUS AcpiExCreateMethod | ( | UINT8 * | AmlStart, |
UINT32 | AmlLength, | ||
ACPI_WALK_STATE * | WalkState | ||
) |
Definition at line 484 of file excreate.c.
Referenced by AcpiDsLoad1EndOp(), and AcpiDsLoad2EndOp().
ACPI_STATUS AcpiExCreateMutex | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 206 of file excreate.c.
Referenced by AcpiDsLoad2EndOp().
ACPI_STATUS AcpiExCreatePowerResource | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 433 of file excreate.c.
Referenced by AcpiDsLoad2EndOp().
ACPI_STATUS AcpiExCreateProcessor | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 381 of file excreate.c.
Referenced by AcpiDsLoad2EndOp().
ACPI_STATUS AcpiExCreateRegion | ( | UINT8 * | AmlStart, |
UINT32 | AmlLength, | ||
UINT8 | RegionSpace, | ||
ACPI_WALK_STATE * | WalkState | ||
) |
Definition at line 268 of file excreate.c.
Referenced by AcpiDsLoad1EndOp(), and AcpiDsLoad2EndOp().
ACPI_STATUS AcpiExDataTableSpaceHandler | ( | UINT32 | Function, |
ACPI_PHYSICAL_ADDRESS | Address, | ||
UINT32 | BitWidth, | ||
UINT64 * | Value, | ||
void * | HandlerContext, | ||
void * | RegionContext | ||
) |
Definition at line 579 of file exregion.c.
Referenced by AcpiEvInstallSpaceHandler().
ACPI_STATUS AcpiExDoConcatenate | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
ACPI_OPERAND_OBJECT * | ObjDesc2, | ||
ACPI_OPERAND_OBJECT ** | ActualReturnDesc, | ||
ACPI_WALK_STATE * | WalkState | ||
) |
Definition at line 85 of file exconcat.c.
Referenced by AcpiExOpcode_2A_1T_1R().
void AcpiExDoDebugObject | ( | ACPI_OPERAND_OBJECT * | SourceDesc, |
UINT32 | Level, | ||
UINT32 | Index | ||
) |
Definition at line 77 of file exdebug.c.
Referenced by AcpiExDoDebugObject().
ACPI_STATUS AcpiExDoLogicalNumericOp | ( | UINT16 | Opcode, |
UINT64 | Integer0, | ||
UINT64 | Integer1, | ||
BOOLEAN * | LogicalResult | ||
) |
Definition at line 262 of file exmisc.c.
Referenced by AcpiExOpcode_2A_0T_1R().
ACPI_STATUS AcpiExDoLogicalOp | ( | UINT16 | Opcode, |
ACPI_OPERAND_OBJECT * | Operand0, | ||
ACPI_OPERAND_OBJECT * | Operand1, | ||
BOOLEAN * | LogicalResult | ||
) |
Definition at line 335 of file exmisc.c.
Referenced by AcpiExDoMatch(), and AcpiExOpcode_2A_0T_1R().
Definition at line 167 of file exmisc.c.
Referenced by AcpiExOpcode_2A_1T_1R().
void AcpiExDumpNamespaceNode | ( | ACPI_NAMESPACE_NODE * | Node, |
UINT32 | Flags | ||
) |
void AcpiExDumpObjectDescriptor | ( | ACPI_OPERAND_OBJECT * | Object, |
UINT32 | Flags | ||
) |
void AcpiExDumpOperand | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
UINT32 | Depth | ||
) |
void AcpiExDumpOperands | ( | ACPI_OPERAND_OBJECT ** | Operands, |
const char * | OpcodeName, | ||
UINT32 | NumOpcodes | ||
) |
Definition at line 366 of file exutils.c.
Referenced by AcpiUtExecute_CID(), and AcpiUtExecute_HID().
ACPI_STATUS AcpiExEmbeddedControllerSpaceHandler | ( | UINT32 | Function, |
ACPI_PHYSICAL_ADDRESS | Address, | ||
UINT32 | BitWidth, | ||
UINT64 * | Value, | ||
void * | HandlerContext, | ||
void * | RegionContext | ||
) |
Definition at line 91 of file exutils.c.
Referenced by AcpiAcquireGlobalLock(), AcpiDsMethodError(), AcpiDsTerminateControlMethod(), AcpiEvAddressSpaceDispatch(), AcpiEvaluateObject(), AcpiEvInitializeRegion(), AcpiExLoadOp(), AcpiExLoadTableOp(), AcpiExSystemDoSleep(), AcpiExSystemWaitMutex(), AcpiExSystemWaitSemaphore(), AcpiExUnloadTable(), AcpiNsEvaluate(), AcpiNsInitOneObject(), AcpiNsLoadTable(), AcpiNsOneCompleteParse(), AcpiPsExecuteTable(), and AcpiPsParseAml().
Definition at line 139 of file exutils.c.
Referenced by AcpiAcquireGlobalLock(), AcpiDsMethodError(), AcpiDsTerminateControlMethod(), AcpiEvAddressSpaceDispatch(), AcpiEvaluateObject(), AcpiEvInitializeRegion(), AcpiExLoadOp(), AcpiExLoadTableOp(), AcpiExSystemDoSleep(), AcpiExSystemWaitMutex(), AcpiExSystemWaitSemaphore(), AcpiExUnloadTable(), AcpiNsEvaluate(), AcpiNsInitOneObject(), AcpiNsLoadTable(), AcpiNsOneCompleteParse(), AcpiPsExecuteTable(), and AcpiPsParseAml().
ACPI_STATUS AcpiExExtractFromField | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
void * | Buffer, | ||
UINT32 | BufferLength | ||
) |
Definition at line 723 of file exfldio.c.
Referenced by AcpiExFieldDatumIo(), and AcpiExReadDataFromField().
void AcpiExGetBufferDatum | ( | UINT64 * | Datum, |
void * | Buffer, | ||
UINT32 | BufferLength, | ||
UINT32 | ByteGranularity, | ||
UINT32 | BufferOffset | ||
) |
ACPI_STATUS AcpiExGetNameString | ( | ACPI_OBJECT_TYPE | DataType, |
UINT8 * | InAmlAddress, | ||
char ** | OutNameString, | ||
UINT32 * | OutNameLength | ||
) |
Definition at line 278 of file exnames.c.
Referenced by AcpiDsCreateOperand().
ACPI_STATUS AcpiExGetObjectReference | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
ACPI_OPERAND_OBJECT ** | ReturnDesc, | ||
ACPI_WALK_STATE * | WalkState | ||
) |
Definition at line 70 of file exmisc.c.
Referenced by AcpiExOpcode_1A_0T_1R(), and AcpiExOpcode_1A_1T_1R().
ACPI_STATUS AcpiExGetProtocolBufferLength | ( | UINT32 | ProtocolId, |
UINT32 * | ReturnLength | ||
) |
Definition at line 111 of file exfield.c.
Referenced by AcpiExReadSerialBus(), and AcpiExWriteSerialBus().
ACPI_STATUS AcpiExInsertIntoField | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
void * | Buffer, | ||
UINT32 | BufferLength | ||
) |
Definition at line 883 of file exfldio.c.
Referenced by AcpiExFieldDatumIo(), and AcpiExWriteDataToField().
Definition at line 421 of file exutils.c.
Referenced by AcpiUtExecute_UID().
ACPI_STATUS AcpiExLoadOp | ( | ACPI_OPERAND_OBJECT * | ObjDesc, |
ACPI_OPERAND_OBJECT * | Target, | ||
ACPI_WALK_STATE * | WalkState | ||
) |
Definition at line 343 of file exconfig.c.
Referenced by AcpiExOpcode_1A_1T_1R().
ACPI_STATUS AcpiExLoadTableOp | ( | ACPI_WALK_STATE * | WalkState, |
ACPI_OPERAND_OBJECT ** | ReturnDesc | ||
) |
Definition at line 129 of file exconfig.c.
Referenced by AcpiExOpcode_6A_0T_1R().
ACPI_STATUS AcpiExOpcode_0A_0T_1R | ( | ACPI_WALK_STATE * | WalkState | ) |
Naming convention for AML interpreter execution routines.
The routines that begin execution of AML opcodes are named with a common convention based upon the number of arguments, the number of target operands, and whether or not a value is returned:
AcpiExOpcode_xA_yT_zR
Where:
xA - ARGUMENTS: The number of arguments (input operands) that are required for this opcode type (0 through 6 args). yT - TARGETS: The number of targets (output operands) that are required for this opcode type (0, 1, or 2 targets). zR - RETURN VALUE: Indicates whether this opcode type returns a value as the function return (0 or 1).
The AcpiExOpcode* functions are called via the Dispatcher component with fully resolved operands. !
Definition at line 92 of file exoparg1.c.
ACPI_STATUS AcpiExOpcode_1A_0T_0R | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 161 of file exoparg1.c.
ACPI_STATUS AcpiExOpcode_1A_0T_1R | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 642 of file exoparg1.c.
ACPI_STATUS AcpiExOpcode_1A_1T_0R | ( | ACPI_WALK_STATE * | WalkState | ) |
ACPI_STATUS AcpiExOpcode_1A_1T_1R | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 286 of file exoparg1.c.
ACPI_STATUS AcpiExOpcode_2A_0T_0R | ( | ACPI_WALK_STATE * | WalkState | ) |
Naming convention for AML interpreter execution routines.
The routines that begin execution of AML opcodes are named with a common convention based upon the number of arguments, the number of target operands, and whether or not a value is returned:
AcpiExOpcode_xA_yT_zR
Where:
xA - ARGUMENTS: The number of arguments (input operands) that are required for this opcode type (1 through 6 args). yT - TARGETS: The number of targets (output operands) that are required for this opcode type (0, 1, or 2 targets). zR - RETURN VALUE: Indicates whether this opcode type returns a value as the function return (0 or 1).
The AcpiExOpcode* functions are called via the Dispatcher component with fully resolved operands. !
Definition at line 95 of file exoparg2.c.
ACPI_STATUS AcpiExOpcode_2A_0T_1R | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 540 of file exoparg2.c.
ACPI_STATUS AcpiExOpcode_2A_1T_1R | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 279 of file exoparg2.c.