Deleted Added
sdiff udiff text old ( 151937 ) new ( 167802 )
full compact
1/******************************************************************************
2 *
3 * Name: acdisasm.h - AML disassembler
4 * $Revision: 1.25 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp.
13 * All rights reserved.
14 *
15 * 2. License
16 *
17 * 2.1. This is your license from Intel Corp. under its intellectual property
18 * rights. You may have additional license terms from the party that provided
19 * you this software, covering your right to use that party's intellectual
20 * property rights.

--- 98 unchanged lines hidden (view full) ---

119
120#include <contrib/dev/acpica/amlresrc.h>
121
122
123#define BLOCK_NONE 0
124#define BLOCK_PAREN 1
125#define BLOCK_BRACE 2
126#define BLOCK_COMMA_LIST 4
127
128typedef struct acpi_external_list
129{
130 char *Path;
131 struct acpi_external_list *Next;
132
133} ACPI_EXTERNAL_LIST;
134
135extern ACPI_EXTERNAL_LIST *AcpiGbl_ExternalList;
136extern const char *AcpiGbl_IoDecode[2];
137extern const char *AcpiGbl_WordDecode[4];
138extern const char *AcpiGbl_ConsumeDecode[2];
139extern const char *AcpiGbl_ConfigDecode[4];
140extern const char *AcpiGbl_MinDecode[2];
141extern const char *AcpiGbl_MaxDecode[2];
142extern const char *AcpiGbl_DECDecode[2];
143extern const char *AcpiGbl_RNGDecode[4];
144extern const char *AcpiGbl_MEMDecode[4];
145extern const char *AcpiGbl_RWDecode[2];
146extern const char *AcpiGbl_IrqDecode[2];
147extern const char *AcpiGbl_HEDecode[2];
148extern const char *AcpiGbl_LLDecode[2];
149extern const char *AcpiGbl_SHRDecode[2];
150extern const char *AcpiGbl_TYPDecode[4];
151extern const char *AcpiGbl_BMDecode[2];
152extern const char *AcpiGbl_SIZDecode[4];
153extern const char *AcpiGbl_TTPDecode[2];
154extern const char *AcpiGbl_MTPDecode[4];
155extern const char *AcpiGbl_TRSDecode[2];
156
157extern const char *AcpiGbl_LockRule[ACPI_NUM_LOCK_RULES];
158extern const char *AcpiGbl_AccessTypes[ACPI_NUM_ACCESS_TYPES];
159extern const char *AcpiGbl_UpdateRules[ACPI_NUM_UPDATE_RULES];
160extern const char *AcpiGbl_MatchOps[ACPI_NUM_MATCH_OPS];
161
162
163typedef struct acpi_op_walk_info
164{
165 UINT32 Level;
166 UINT32 BitOffset;
167 ACPI_WALK_STATE *WalkState;
168
169} ACPI_OP_WALK_INFO;
170
171typedef
172ACPI_STATUS (*ASL_WALK_CALLBACK) (
173 ACPI_PARSE_OBJECT *Op,
174 UINT32 Level,
175 void *Context);
176
177
178/*
179 * dmwalk
180 */
181void
182AcpiDmDisassemble (
183 ACPI_WALK_STATE *WalkState,
184 ACPI_PARSE_OBJECT *Origin,
185 UINT32 NumOpcodes);
186
187
188/*
189 * dmopcode
190 */
191void
192AcpiDmDisassembleOneOp (
193 ACPI_WALK_STATE *WalkState,
194 ACPI_OP_WALK_INFO *Info,
195 ACPI_PARSE_OBJECT *Op);

--- 127 unchanged lines hidden (view full) ---

323void
324AcpiDmDumpInteger64 (
325 UINT64 Value,
326 char *Name);
327
328void
329AcpiDmResourceTemplate (
330 ACPI_OP_WALK_INFO *Info,
331 UINT8 *ByteData,
332 UINT32 ByteCount);
333
334BOOLEAN
335AcpiDmIsResourceTemplate (
336 ACPI_PARSE_OBJECT *Op);
337
338void
339AcpiDmIndent (
340 UINT32 Level);
341
342void
343AcpiDmBitList (
344 UINT16 Mask);
345
346void
347AcpiDmDecodeAttribute (
348 UINT8 Attribute);
349
350
351/*
352 * dmresrcl
353 */
354void
355AcpiDmWordDescriptor (
356 AML_RESOURCE *Resource,
357 UINT32 Length,
358 UINT32 Level);

--- 106 unchanged lines hidden (view full) ---

465 UINT32 Level);
466
467
468/*
469 * dmutils
470 */
471void
472AcpiDmAddToExternalList (
473 char *Path);
474
475#endif /* __ACDISASM_H__ */