mirror of
https://github.com/acpica/acpica/
synced 2025-01-15 22:09:17 +03:00
date 2002.07.23.20.31.00; author rmoore1; state Exp;
This commit is contained in:
parent
9a8dc365dc
commit
ef90083498
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acdisasm.h - AML disassembler
|
||||
* $Revision: 1.19 $
|
||||
* $Revision: 1.1 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -125,14 +125,6 @@
|
||||
#define BLOCK_BRACE 2
|
||||
#define BLOCK_COMMA_LIST 4
|
||||
|
||||
typedef struct acpi_external_list
|
||||
{
|
||||
char *Path;
|
||||
struct acpi_external_list *Next;
|
||||
|
||||
} ACPI_EXTERNAL_LIST;
|
||||
|
||||
extern ACPI_EXTERNAL_LIST *AcpiGbl_ExternalList;
|
||||
extern const char *AcpiGbl_IoDecode[2];
|
||||
extern const char *AcpiGbl_WordDecode[4];
|
||||
extern const char *AcpiGbl_ConsumeDecode[2];
|
||||
@ -149,19 +141,15 @@ extern const char *AcpiGbl_SHRDecode[2];
|
||||
extern const char *AcpiGbl_TYPDecode[4];
|
||||
extern const char *AcpiGbl_BMDecode[2];
|
||||
extern const char *AcpiGbl_SIZDecode[4];
|
||||
extern const char *AcpiGbl_TTPDecode[2];
|
||||
extern const char *AcpiGbl_MTPDecode[4];
|
||||
extern const char *AcpiGbl_TRSDecode[2];
|
||||
|
||||
|
||||
extern const char *AcpiGbl_LockRule[ACPI_NUM_LOCK_RULES];
|
||||
extern const char *AcpiGbl_AccessTypes[ACPI_NUM_ACCESS_TYPES];
|
||||
extern const char *AcpiGbl_UpdateRules[ACPI_NUM_UPDATE_RULES];
|
||||
extern const char *AcpiGbl_MatchOps[ACPI_NUM_MATCH_OPS];
|
||||
extern const NATIVE_CHAR *AcpiGbl_LockRule[NUM_LOCK_RULES];
|
||||
extern const NATIVE_CHAR *AcpiGbl_AccessTypes[NUM_ACCESS_TYPES];
|
||||
extern const NATIVE_CHAR *AcpiGbl_UpdateRules[NUM_UPDATE_RULES];
|
||||
extern const NATIVE_CHAR *AcpiGbl_MatchOps[NUM_MATCH_OPS];
|
||||
|
||||
|
||||
typedef struct acpi_op_walk_info
|
||||
{
|
||||
UINT32 PreviousLevel;
|
||||
UINT32 Level;
|
||||
UINT32 BitOffset;
|
||||
|
||||
@ -174,33 +162,93 @@ ACPI_STATUS (*ASL_WALK_CALLBACK) (
|
||||
void *Context);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* dmwalk
|
||||
*/
|
||||
|
||||
void
|
||||
AcpiDmWalkParseTree (
|
||||
ACPI_PARSE_OBJECT *Op,
|
||||
ASL_WALK_CALLBACK DescendingCallback,
|
||||
ASL_WALK_CALLBACK AscendingCallback,
|
||||
void *Context);
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiDmDescendingOp (
|
||||
ACPI_PARSE_OBJECT *Op,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiDmAscendingOp (
|
||||
ACPI_PARSE_OBJECT *Op,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
|
||||
/*
|
||||
* dmopcode
|
||||
*/
|
||||
|
||||
void
|
||||
AcpiDmValidateName (
|
||||
char *Name,
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
UINT32
|
||||
AcpiDmDumpName (
|
||||
char *Name);
|
||||
|
||||
void
|
||||
AcpiDmString (
|
||||
char *String);
|
||||
|
||||
void
|
||||
AcpiDmUnicode (
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
void
|
||||
AcpiDmDisassemble (
|
||||
ACPI_WALK_STATE *WalkState,
|
||||
ACPI_PARSE_OBJECT *Origin,
|
||||
UINT32 NumOpcodes);
|
||||
|
||||
void
|
||||
AcpiDmNamestring (
|
||||
NATIVE_CHAR *Name);
|
||||
|
||||
void
|
||||
AcpiDmDisplayPath (
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
/*
|
||||
* dmopcode
|
||||
*/
|
||||
void
|
||||
AcpiDmDisassembleOneOp (
|
||||
ACPI_WALK_STATE *WalkState,
|
||||
ACPI_OP_WALK_INFO *Info,
|
||||
ACPI_OP_WALK_INFO *Info,
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
void
|
||||
AcpiDmDecodeInternalObject (
|
||||
ACPI_OPERAND_OBJECT *ObjDesc);
|
||||
|
||||
void
|
||||
AcpiDmDecodeNode (
|
||||
ACPI_NAMESPACE_NODE *Node);
|
||||
|
||||
UINT32
|
||||
AcpiDmBlockType (
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
UINT32
|
||||
AcpiDmListType (
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiPsDisplayObjectPathname (
|
||||
ACPI_WALK_STATE *WalkState,
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
void
|
||||
AcpiDmMethodFlags (
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
@ -225,64 +273,14 @@ BOOLEAN
|
||||
AcpiDmCommaIfListMember (
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
void
|
||||
void
|
||||
AcpiDmCommaIfFieldMember (
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
|
||||
/*
|
||||
* dmnames
|
||||
*/
|
||||
UINT32
|
||||
AcpiDmDumpName (
|
||||
char *Name);
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiPsDisplayObjectPathname (
|
||||
ACPI_WALK_STATE *WalkState,
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
void
|
||||
AcpiDmNamestring (
|
||||
char *Name);
|
||||
|
||||
|
||||
/*
|
||||
* dmobject
|
||||
*/
|
||||
void
|
||||
AcpiDmDisplayInternalObject (
|
||||
ACPI_OPERAND_OBJECT *ObjDesc,
|
||||
ACPI_WALK_STATE *WalkState);
|
||||
|
||||
void
|
||||
AcpiDmDisplayArguments (
|
||||
ACPI_WALK_STATE *WalkState);
|
||||
|
||||
void
|
||||
AcpiDmDisplayLocals (
|
||||
ACPI_WALK_STATE *WalkState);
|
||||
|
||||
void
|
||||
AcpiDmDumpMethodInfo (
|
||||
ACPI_STATUS Status,
|
||||
ACPI_WALK_STATE *WalkState,
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
|
||||
/*
|
||||
/*
|
||||
* dmbuffer
|
||||
*/
|
||||
void
|
||||
AcpiDmDisasmByteList (
|
||||
UINT32 Level,
|
||||
UINT8 *ByteData,
|
||||
UINT32 ByteCount);
|
||||
|
||||
void
|
||||
AcpiDmByteList (
|
||||
ACPI_OP_WALK_INFO *Info,
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
void
|
||||
AcpiIsEisaId (
|
||||
@ -304,9 +302,21 @@ AcpiDmIsStringBuffer (
|
||||
/*
|
||||
* dmresrc
|
||||
*/
|
||||
|
||||
void
|
||||
AcpiDmDisasmByteList (
|
||||
UINT32 Level,
|
||||
UINT8 *ByteData,
|
||||
UINT32 ByteCount);
|
||||
|
||||
void
|
||||
AcpiDmByteList (
|
||||
ACPI_OP_WALK_INFO *Info,
|
||||
ACPI_PARSE_OBJECT *Op);
|
||||
|
||||
void
|
||||
AcpiDmResourceDescriptor (
|
||||
ACPI_OP_WALK_INFO *Info,
|
||||
ACPI_OP_WALK_INFO *Info,
|
||||
UINT8 *ByteData,
|
||||
UINT32 ByteCount);
|
||||
|
||||
@ -322,14 +332,20 @@ void
|
||||
AcpiDmBitList (
|
||||
UINT16 Mask);
|
||||
|
||||
void
|
||||
AcpiDmDecodeAttribute (
|
||||
UINT8 Attribute);
|
||||
|
||||
|
||||
/*
|
||||
* dmresrcl
|
||||
*/
|
||||
|
||||
void
|
||||
AcpiDmIoFlags (
|
||||
UINT8 Flags);
|
||||
|
||||
void
|
||||
AcpiDmMemoryFlags (
|
||||
UINT8 Flags,
|
||||
UINT8 SpecificFlags);
|
||||
|
||||
void
|
||||
AcpiDmWordDescriptor (
|
||||
ASL_WORD_ADDRESS_DESC *Resource,
|
||||
@ -342,12 +358,6 @@ AcpiDmDwordDescriptor (
|
||||
UINT32 Length,
|
||||
UINT32 Level);
|
||||
|
||||
void
|
||||
AcpiDmExtendedDescriptor (
|
||||
ASL_EXTENDED_ADDRESS_DESC *Resource,
|
||||
UINT32 Length,
|
||||
UINT32 Level);
|
||||
|
||||
void
|
||||
AcpiDmQwordDescriptor (
|
||||
ASL_QWORD_ADDRESS_DESC *Resource,
|
||||
@ -394,6 +404,7 @@ AcpiDmVendorLargeDescriptor (
|
||||
/*
|
||||
* dmresrcs
|
||||
*/
|
||||
|
||||
void
|
||||
AcpiDmIrqDescriptor (
|
||||
ASL_IRQ_FORMAT_DESC *Resource,
|
||||
@ -437,11 +448,4 @@ AcpiDmVendorSmallDescriptor (
|
||||
UINT32 Level);
|
||||
|
||||
|
||||
/*
|
||||
* dmutils
|
||||
*/
|
||||
void
|
||||
AcpiDmAddToExternalList (
|
||||
char *Path);
|
||||
|
||||
#endif /* __ACDISASM_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user