ReactOS 0.4.16-dev-847-g386fccd
|
Go to the source code of this file.
Macros | |
#define | OP_HAS_RETURN_VALUE 1 |
#define | ACPI_VAR_ARGS ACPI_UINT32_MAX |
#define | ACPI_PARSE_DELETE_TREE 0x0001 |
#define | ACPI_PARSE_NO_TREE_DELETE 0x0000 |
#define | ACPI_PARSE_TREE_MASK 0x0001 |
#define | ACPI_PARSE_LOAD_PASS1 0x0010 |
#define | ACPI_PARSE_LOAD_PASS2 0x0020 |
#define | ACPI_PARSE_EXECUTE 0x0030 |
#define | ACPI_PARSE_MODE_MASK 0x0030 |
#define | ACPI_PARSE_DEFERRED_OP 0x0100 |
#define | ACPI_PARSE_DISASSEMBLE 0x0200 |
#define | ACPI_PARSE_MODULE_LEVEL 0x0400 |
#define | ACPI_NOT_METHOD_CALL FALSE |
#define | ACPI_POSSIBLE_METHOD_CALL TRUE |
Variables | |
const UINT8 | AcpiGbl_ShortOpIndex [] |
const UINT8 | AcpiGbl_LongOpIndex [] |
Definition at line 117 of file acparser.h.
#define ACPI_PARSE_DEFERRED_OP 0x0100 |
Definition at line 64 of file acparser.h.
#define ACPI_PARSE_DELETE_TREE 0x0001 |
Definition at line 55 of file acparser.h.
#define ACPI_PARSE_DISASSEMBLE 0x0200 |
Definition at line 65 of file acparser.h.
#define ACPI_PARSE_EXECUTE 0x0030 |
Definition at line 61 of file acparser.h.
#define ACPI_PARSE_LOAD_PASS1 0x0010 |
Definition at line 59 of file acparser.h.
#define ACPI_PARSE_LOAD_PASS2 0x0020 |
Definition at line 60 of file acparser.h.
#define ACPI_PARSE_MODE_MASK 0x0030 |
Definition at line 62 of file acparser.h.
#define ACPI_PARSE_MODULE_LEVEL 0x0400 |
Definition at line 67 of file acparser.h.
#define ACPI_PARSE_NO_TREE_DELETE 0x0000 |
Definition at line 56 of file acparser.h.
#define ACPI_PARSE_TREE_MASK 0x0001 |
Definition at line 57 of file acparser.h.
Definition at line 118 of file acparser.h.
#define ACPI_VAR_ARGS ACPI_UINT32_MAX |
Definition at line 52 of file acparser.h.
#define OP_HAS_RETURN_VALUE 1 |
Definition at line 48 of file acparser.h.
ACPI_PARSE_OBJECT * AcpiPsAllocOp | ( | UINT16 | Opcode, |
UINT8 * | Aml | ||
) |
Definition at line 130 of file psutils.c.
Referenced by AcpiDsAutoSerializeMethod(), AcpiDsExecuteArguments(), AcpiDsLoad1BeginOp(), AcpiDsLoad2BeginOp(), AcpiPsCompleteThisOp(), AcpiPsCreateOp(), AcpiPsCreateScopeOp(), AcpiPsGetNextArg(), AcpiPsGetNextField(), and AcpiPsGetNextNamepath().
void AcpiPsAppendArg | ( | ACPI_PARSE_OBJECT * | op, |
ACPI_PARSE_OBJECT * | arg | ||
) |
Definition at line 138 of file pstree.c.
Referenced by AcpiDsLoad1BeginOp(), AcpiPsBuildNamedOp(), AcpiPsCreateOp(), AcpiPsGetArguments(), AcpiPsGetNextField(), and AcpiPsGetNextNamepath().
ACPI_STATUS AcpiPsBuildNamedOp | ( | ACPI_WALK_STATE * | WalkState, |
UINT8 * | AmlOpStart, | ||
ACPI_PARSE_OBJECT * | UnnamedOp, | ||
ACPI_PARSE_OBJECT ** | Op | ||
) |
Definition at line 193 of file psobject.c.
Referenced by AcpiPsCreateOp().
void AcpiPsCleanupScope | ( | ACPI_PARSE_STATE * | state | ) |
Definition at line 277 of file psscope.c.
Referenced by AcpiDsDeleteWalkState(), AcpiPsExecuteMethod(), and AcpiPsParseAml().
ACPI_STATUS AcpiPsCompleteFinalOp | ( | ACPI_WALK_STATE * | WalkState, |
ACPI_PARSE_OBJECT * | Op, | ||
ACPI_STATUS | Status | ||
) |
Definition at line 705 of file psobject.c.
Referenced by AcpiPsParseLoop().
ACPI_STATUS AcpiPsCompleteOp | ( | ACPI_WALK_STATE * | WalkState, |
ACPI_PARSE_OBJECT ** | Op, | ||
ACPI_STATUS | Status | ||
) |
Definition at line 495 of file psobject.c.
Referenced by AcpiPsCompleteFinalOp(), and AcpiPsParseLoop().
ACPI_STATUS AcpiPsCompleteThisOp | ( | ACPI_WALK_STATE * | WalkState, |
ACPI_PARSE_OBJECT * | Op | ||
) |
Definition at line 144 of file psparse.c.
Referenced by AcpiPsCompleteFinalOp(), and AcpiPsCompleteOp().
ACPI_STATUS AcpiPsCreateOp | ( | ACPI_WALK_STATE * | WalkState, |
UINT8 * | AmlOpStart, | ||
ACPI_PARSE_OBJECT ** | NewOp | ||
) |
Definition at line 344 of file psobject.c.
Referenced by AcpiPsParseLoop().
ACPI_PARSE_OBJECT * AcpiPsCreateScopeOp | ( | UINT8 * | Aml | ) |
Definition at line 67 of file psutils.c.
Referenced by AcpiNsOneCompleteParse(), AcpiPsExecuteMethod(), and AcpiPsExecuteTable().
ACPI_STATUS AcpiPsDeleteCompletedOp | ( | ACPI_WALK_STATE * | WalkState | ) |
void AcpiPsDeleteParseTree | ( | ACPI_PARSE_OBJECT * | root | ) |
Definition at line 67 of file pswalk.c.
Referenced by AcpiDsAutoSerializeMethod(), AcpiDsExecuteArguments(), AcpiNsOneCompleteParse(), AcpiPsCompleteOp(), AcpiPsCompleteThisOp(), AcpiPsExecuteMethod(), and AcpiPsExecuteTable().
ACPI_STATUS AcpiPsExecuteMethod | ( | ACPI_EVALUATE_INFO * | Info | ) |
Definition at line 131 of file psxface.c.
Referenced by AcpiNsEvaluate().
ACPI_STATUS AcpiPsExecuteTable | ( | ACPI_EVALUATE_INFO * | Info | ) |
Definition at line 297 of file psxface.c.
Referenced by AcpiNsExecuteTable().
ACPI_PARSE_OBJECT * AcpiPsFind | ( | ACPI_PARSE_OBJECT * | Scope, |
char * | Path, | ||
UINT16 | Opcode, | ||
UINT32 | Create | ||
) |
ACPI_PARSE_OBJECT * AcpiPsFindName | ( | ACPI_PARSE_OBJECT * | Scope, |
UINT32 | Name, | ||
UINT32 | Opcode | ||
) |
void AcpiPsFreeOp | ( | ACPI_PARSE_OBJECT * | Op | ) |
Definition at line 212 of file psutils.c.
Referenced by AcpiDsAutoSerializeMethod(), AcpiNsOneCompleteParse(), AcpiPsCreateOp(), AcpiPsDeleteParseTree(), AcpiPsGetNextArg(), and AcpiPsGetNextField().
ACPI_PARSE_OBJECT * AcpiPsGetArg | ( | ACPI_PARSE_OBJECT * | op, |
UINT32 | argn | ||
) |
Definition at line 76 of file pstree.c.
Referenced by AcpiDsCreateBufferField(), AcpiDsEvalBankFieldOperands(), AcpiDsInitFieldObjects(), AcpiPsDeleteParseTree(), and AcpiPsGetDepthNext().
Definition at line 203 of file psopinfo.c.
Referenced by AcpiPsCreateOp().
ACPI_PARSE_OBJECT * AcpiPsGetDepthNext | ( | ACPI_PARSE_OBJECT * | Origin, |
ACPI_PARSE_OBJECT * | Op | ||
) |
Definition at line 224 of file pstree.c.
UINT32 AcpiPsGetName | ( | ACPI_PARSE_OBJECT * | op | ) |
ACPI_STATUS AcpiPsGetNextArg | ( | ACPI_WALK_STATE * | WalkState, |
ACPI_PARSE_STATE * | ParserState, | ||
UINT32 | ArgType, | ||
ACPI_PARSE_OBJECT ** | ReturnArg | ||
) |
Definition at line 785 of file psargs.c.
Referenced by AcpiPsBuildNamedOp(), and AcpiPsGetArguments().
ACPI_STATUS AcpiPsGetNextNamepath | ( | ACPI_WALK_STATE * | WalkState, |
ACPI_PARSE_STATE * | ParserState, | ||
ACPI_PARSE_OBJECT * | Arg, | ||
BOOLEAN | PossibleMethodCall | ||
) |
Definition at line 254 of file psargs.c.
Referenced by AcpiPsGetArguments(), and AcpiPsGetNextArg().
char * AcpiPsGetNextNamestring | ( | ACPI_PARSE_STATE * | ParserState | ) |
Definition at line 172 of file psargs.c.
Referenced by AcpiDsLoad1BeginOp(), AcpiDsLoad2BeginOp(), AcpiInstallMethod(), AcpiPsGetNextField(), AcpiPsGetNextNamepath(), and AcpiPsGetNextSimpleArg().
UINT8 * AcpiPsGetNextPackageEnd | ( | ACPI_PARSE_STATE * | ParserState | ) |
Definition at line 138 of file psargs.c.
Referenced by AcpiInstallMethod(), AcpiPsGetNextArg(), AcpiPsNextParseState(), and AcpiPsParseLoop().
void AcpiPsGetNextSimpleArg | ( | ACPI_PARSE_STATE * | ParserState, |
UINT32 | ArgType, | ||
ACPI_PARSE_OBJECT * | Arg | ||
) |
Definition at line 428 of file psargs.c.
Referenced by AcpiPsGetArguments(), and AcpiPsGetNextArg().
ACPI_STATUS AcpiPsGetNextWalkOp | ( | ACPI_WALK_STATE * | WalkState, |
ACPI_PARSE_OBJECT * | Op, | ||
ACPI_PARSE_UPWARDS | AscendingCallback | ||
) |
const ACPI_OPCODE_INFO * AcpiPsGetOpcodeInfo | ( | UINT16 | Opcode | ) |
Definition at line 72 of file psopinfo.c.
Referenced by AcpiDsBuildInternalObject(), AcpiDsCreateOperand(), AcpiDsExecBeginOp(), AcpiDsInitObjectFromOp(), AcpiDsIsResultUsed(), AcpiDsLoad1EndOp(), AcpiExResolveOperands(), AcpiPsAllocOp(), AcpiPsAppendArg(), AcpiPsCompleteFinalOp(), AcpiPsCompleteOp(), AcpiPsCompleteThisOp(), AcpiPsCreateOp(), AcpiPsGetAmlOpcode(), AcpiPsGetArg(), AcpiPsGetOpcodeName(), AcpiPsInitOp(), and AcpiPsParseLoop().
Definition at line 169 of file psopinfo.c.
Referenced by AcpiDsEvalBankFieldOperands(), AcpiDsEvalBufferFieldOperands(), AcpiDsExecEndOp(), AcpiDsInitBufferField(), AcpiDsIsResultUsed(), AcpiDsLoad2EndOp(), AcpiExOpcode_0A_0T_1R(), AcpiExOpcode_1A_0T_0R(), AcpiExOpcode_1A_0T_1R(), AcpiExOpcode_1A_1T_1R(), AcpiExOpcode_2A_0T_0R(), AcpiExOpcode_2A_0T_1R(), AcpiExOpcode_2A_1T_1R(), AcpiExOpcode_2A_2T_1R(), AcpiExOpcode_3A_0T_0R(), AcpiExOpcode_3A_1T_1R(), AcpiExOpcode_6A_0T_1R(), AcpiExResolveOperands(), AcpiPsDeleteParseTree(), and AcpiPsParseLoop().
Definition at line 78 of file psparse.c.
Referenced by AcpiInstallMethod(), and AcpiPsGetAmlOpcode().
ACPI_PARSE_OBJECT * AcpiPsGetParent | ( | ACPI_PARSE_OBJECT * | Op | ) |
ACPI_PARSE_OBJECT * AcpiPsGetParentScope | ( | ACPI_PARSE_STATE * | state | ) |
Definition at line 65 of file psscope.c.
Referenced by AcpiDsLoad1BeginOp(), and AcpiPsCreateOp().
BOOLEAN AcpiPsHasCompletedScope | ( | ACPI_PARSE_STATE * | ParserState | ) |
Definition at line 88 of file psscope.c.
Referenced by AcpiPsCompleteOp(), and AcpiPsParseLoop().
void AcpiPsInitOp | ( | ACPI_PARSE_OBJECT * | op, |
UINT16 | opcode | ||
) |
Definition at line 98 of file psutils.c.
Referenced by AcpiPsAllocOp(), AcpiPsGetNextNamepath(), and AcpiPsGetNextSimpleArg().
ACPI_STATUS AcpiPsInitScope | ( | ACPI_PARSE_STATE * | ParserState, |
ACPI_PARSE_OBJECT * | Root | ||
) |
Definition at line 112 of file psscope.c.
Referenced by AcpiDsInitAmlWalk().
ACPI_STATUS AcpiPsNextParseState | ( | ACPI_WALK_STATE * | WalkState, |
ACPI_PARSE_OBJECT * | Op, | ||
ACPI_STATUS | CallbackStatus | ||
) |
Definition at line 337 of file psparse.c.
Referenced by AcpiPsBuildNamedOp(), AcpiPsCompleteFinalOp(), AcpiPsCompleteOp(), AcpiPsCreateOp(), and AcpiPsParseLoop().
ACPI_STATUS AcpiPsParseAml | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 453 of file psparse.c.
Referenced by AcpiDsAutoSerializeMethod(), AcpiDsExecuteArguments(), AcpiNsOneCompleteParse(), AcpiPsExecuteMethod(), and AcpiPsExecuteTable().
ACPI_STATUS AcpiPsParseLoop | ( | ACPI_WALK_STATE * | WalkState | ) |
Definition at line 259 of file psloop.c.
Referenced by AcpiPsParseAml().
UINT16 AcpiPsPeekOpcode | ( | ACPI_PARSE_STATE * | state | ) |
Definition at line 108 of file psparse.c.
Referenced by AcpiInstallMethod(), AcpiPsGetAmlOpcode(), and AcpiPsGetNextArg().
void AcpiPsPopScope | ( | ACPI_PARSE_STATE * | ParserState, |
ACPI_PARSE_OBJECT ** | Op, | ||
UINT32 * | ArgList, | ||
UINT32 * | ArgCount | ||
) |
Definition at line 219 of file psscope.c.
Referenced by AcpiPsCompleteFinalOp(), AcpiPsCompleteOp(), and AcpiPsParseLoop().
ACPI_STATUS AcpiPsPushScope | ( | ACPI_PARSE_STATE * | ParserState, |
ACPI_PARSE_OBJECT * | Op, | ||
UINT32 | RemainingArgs, | ||
UINT32 | ArgCount | ||
) |
Definition at line 157 of file psscope.c.
Referenced by AcpiPsParseLoop().
void AcpiPsSetName | ( | ACPI_PARSE_OBJECT * | op, |
UINT32 | name | ||
) |
Definition at line 281 of file psutils.c.
Referenced by AcpiDsAutoSerializeMethod(), and AcpiPsGetNextField().
void AcpiPsShow | ( | ACPI_PARSE_OBJECT * | op | ) |
UINT32 AcpiPsSprintOp | ( | char * | BufferStart, |
UINT32 | BufferSize, | ||
ACPI_PARSE_OBJECT * | Op | ||
) |
UINT32 AcpiPsSprintPath | ( | char * | BufferStart, |
UINT32 | BufferSize, | ||
ACPI_PARSE_OBJECT * | Op | ||
) |
ACPI_STATUS AcpiPsWalkParsedAml | ( | ACPI_PARSE_OBJECT * | StartOp, |
ACPI_PARSE_OBJECT * | EndOp, | ||
ACPI_OPERAND_OBJECT * | MthDesc, | ||
ACPI_NAMESPACE_NODE * | StartNode, | ||
ACPI_OPERAND_OBJECT ** | Params, | ||
ACPI_OPERAND_OBJECT ** | CallerReturnDesc, | ||
ACPI_OWNER_ID | OwnerId, | ||
ACPI_PARSE_DOWNWARDS | DescendingCallback, | ||
ACPI_PARSE_UPWARDS | AscendingCallback | ||
) |
Definition at line 262 of file psopinfo.c.
Referenced by AcpiPsGetOpcodeInfo().
Definition at line 220 of file psopinfo.c.
Referenced by AcpiPsGetOpcodeInfo().