acdisasm.h revision 1.22 1 1.1 jruoho /******************************************************************************
2 1.1 jruoho *
3 1.1 jruoho * Name: acdisasm.h - AML disassembler
4 1.1 jruoho *
5 1.1 jruoho *****************************************************************************/
6 1.1 jruoho
7 1.3 jruoho /*
8 1.21 christos * Copyright (C) 2000 - 2021, Intel Corp.
9 1.1 jruoho * All rights reserved.
10 1.1 jruoho *
11 1.3 jruoho * Redistribution and use in source and binary forms, with or without
12 1.3 jruoho * modification, are permitted provided that the following conditions
13 1.3 jruoho * are met:
14 1.3 jruoho * 1. Redistributions of source code must retain the above copyright
15 1.3 jruoho * notice, this list of conditions, and the following disclaimer,
16 1.3 jruoho * without modification.
17 1.3 jruoho * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 1.3 jruoho * substantially similar to the "NO WARRANTY" disclaimer below
19 1.3 jruoho * ("Disclaimer") and any redistribution must be conditioned upon
20 1.3 jruoho * including a substantially similar Disclaimer requirement for further
21 1.3 jruoho * binary redistribution.
22 1.3 jruoho * 3. Neither the names of the above-listed copyright holders nor the names
23 1.3 jruoho * of any contributors may be used to endorse or promote products derived
24 1.3 jruoho * from this software without specific prior written permission.
25 1.3 jruoho *
26 1.3 jruoho * Alternatively, this software may be distributed under the terms of the
27 1.3 jruoho * GNU General Public License ("GPL") version 2 as published by the Free
28 1.3 jruoho * Software Foundation.
29 1.3 jruoho *
30 1.3 jruoho * NO WARRANTY
31 1.3 jruoho * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 1.3 jruoho * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 1.21 christos * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
34 1.3 jruoho * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 1.3 jruoho * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 1.3 jruoho * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 1.3 jruoho * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 1.3 jruoho * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 1.3 jruoho * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 1.3 jruoho * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 1.3 jruoho * POSSIBILITY OF SUCH DAMAGES.
42 1.3 jruoho */
43 1.1 jruoho
44 1.1 jruoho #ifndef __ACDISASM_H__
45 1.1 jruoho #define __ACDISASM_H__
46 1.1 jruoho
47 1.1 jruoho #include "amlresrc.h"
48 1.1 jruoho
49 1.1 jruoho
50 1.1 jruoho #define BLOCK_NONE 0
51 1.1 jruoho #define BLOCK_PAREN 1
52 1.1 jruoho #define BLOCK_BRACE 2
53 1.1 jruoho #define BLOCK_COMMA_LIST 4
54 1.2 jruoho #define ACPI_DEFAULT_RESNAME *(const UINT32 *) "__RD"
55 1.1 jruoho
56 1.3 jruoho /*
57 1.3 jruoho * Raw table data header. Used by disassembler and data table compiler.
58 1.3 jruoho * Do not change.
59 1.3 jruoho */
60 1.3 jruoho #define ACPI_RAW_TABLE_DATA_HEADER "Raw Table Data"
61 1.3 jruoho
62 1.1 jruoho
63 1.8 christos typedef struct acpi_dmtable_info
64 1.1 jruoho {
65 1.1 jruoho UINT8 Opcode;
66 1.5 christos UINT16 Offset;
67 1.1 jruoho char *Name;
68 1.1 jruoho UINT8 Flags;
69 1.1 jruoho
70 1.1 jruoho } ACPI_DMTABLE_INFO;
71 1.1 jruoho
72 1.5 christos /* Values for Flags field above */
73 1.5 christos
74 1.1 jruoho #define DT_LENGTH 0x01 /* Field is a subtable length */
75 1.1 jruoho #define DT_FLAG 0x02 /* Field is a flag value */
76 1.1 jruoho #define DT_NON_ZERO 0x04 /* Field must be non-zero */
77 1.5 christos #define DT_OPTIONAL 0x08 /* Field is optional */
78 1.5 christos #define DT_DESCRIBES_OPTIONAL 0x10 /* Field describes an optional field (length, etc.) */
79 1.5 christos #define DT_COUNT 0x20 /* Currently not used */
80 1.1 jruoho
81 1.1 jruoho /*
82 1.1 jruoho * Values for Opcode above.
83 1.5 christos * Note: 0-7 must not change, they are used as a flag shift value. Other
84 1.5 christos * than those, new values can be added wherever appropriate.
85 1.1 jruoho */
86 1.5 christos typedef enum
87 1.5 christos {
88 1.5 christos /* Simple Data Types */
89 1.5 christos
90 1.5 christos ACPI_DMT_FLAG0 = 0,
91 1.5 christos ACPI_DMT_FLAG1 = 1,
92 1.5 christos ACPI_DMT_FLAG2 = 2,
93 1.5 christos ACPI_DMT_FLAG3 = 3,
94 1.5 christos ACPI_DMT_FLAG4 = 4,
95 1.5 christos ACPI_DMT_FLAG5 = 5,
96 1.5 christos ACPI_DMT_FLAG6 = 6,
97 1.5 christos ACPI_DMT_FLAG7 = 7,
98 1.5 christos ACPI_DMT_FLAGS0,
99 1.5 christos ACPI_DMT_FLAGS1,
100 1.5 christos ACPI_DMT_FLAGS2,
101 1.5 christos ACPI_DMT_FLAGS4,
102 1.14 christos ACPI_DMT_FLAGS4_0,
103 1.14 christos ACPI_DMT_FLAGS4_4,
104 1.14 christos ACPI_DMT_FLAGS4_8,
105 1.14 christos ACPI_DMT_FLAGS4_12,
106 1.14 christos ACPI_DMT_FLAGS16_16,
107 1.5 christos ACPI_DMT_UINT8,
108 1.5 christos ACPI_DMT_UINT16,
109 1.5 christos ACPI_DMT_UINT24,
110 1.5 christos ACPI_DMT_UINT32,
111 1.5 christos ACPI_DMT_UINT40,
112 1.5 christos ACPI_DMT_UINT48,
113 1.5 christos ACPI_DMT_UINT56,
114 1.5 christos ACPI_DMT_UINT64,
115 1.5 christos ACPI_DMT_BUF7,
116 1.5 christos ACPI_DMT_BUF10,
117 1.11 christos ACPI_DMT_BUF12,
118 1.5 christos ACPI_DMT_BUF16,
119 1.5 christos ACPI_DMT_BUF128,
120 1.5 christos ACPI_DMT_SIG,
121 1.5 christos ACPI_DMT_STRING,
122 1.5 christos ACPI_DMT_NAME4,
123 1.5 christos ACPI_DMT_NAME6,
124 1.5 christos ACPI_DMT_NAME8,
125 1.5 christos
126 1.5 christos /* Types that are decoded to strings and miscellaneous */
127 1.5 christos
128 1.5 christos ACPI_DMT_ACCWIDTH,
129 1.5 christos ACPI_DMT_CHKSUM,
130 1.5 christos ACPI_DMT_GAS,
131 1.5 christos ACPI_DMT_SPACEID,
132 1.5 christos ACPI_DMT_UNICODE,
133 1.5 christos ACPI_DMT_UUID,
134 1.5 christos
135 1.5 christos /* Types used only for the Data Table Compiler */
136 1.5 christos
137 1.5 christos ACPI_DMT_BUFFER,
138 1.7 christos ACPI_DMT_RAW_BUFFER, /* Large, multiple line buffer */
139 1.5 christos ACPI_DMT_DEVICE_PATH,
140 1.5 christos ACPI_DMT_LABEL,
141 1.5 christos ACPI_DMT_PCI_PATH,
142 1.5 christos
143 1.5 christos /* Types that are specific to particular ACPI tables */
144 1.5 christos
145 1.5 christos ACPI_DMT_ASF,
146 1.21 christos ACPI_DMT_CEDT,
147 1.5 christos ACPI_DMT_DMAR,
148 1.6 christos ACPI_DMT_DMAR_SCOPE,
149 1.5 christos ACPI_DMT_EINJACT,
150 1.5 christos ACPI_DMT_EINJINST,
151 1.5 christos ACPI_DMT_ERSTACT,
152 1.5 christos ACPI_DMT_ERSTINST,
153 1.5 christos ACPI_DMT_FADTPM,
154 1.6 christos ACPI_DMT_GTDT,
155 1.5 christos ACPI_DMT_HEST,
156 1.5 christos ACPI_DMT_HESTNTFY,
157 1.5 christos ACPI_DMT_HESTNTYP,
158 1.14 christos ACPI_DMT_HMAT,
159 1.8 christos ACPI_DMT_IORTMEM,
160 1.5 christos ACPI_DMT_IVRS,
161 1.22 christos ACPI_DMT_IVRS_DE,
162 1.22 christos ACPI_DMT_IVRS_UNTERMINATED_STRING,
163 1.6 christos ACPI_DMT_LPIT,
164 1.5 christos ACPI_DMT_MADT,
165 1.8 christos ACPI_DMT_NFIT,
166 1.5 christos ACPI_DMT_PCCT,
167 1.21 christos ACPI_DMT_PHAT,
168 1.5 christos ACPI_DMT_PMTT,
169 1.21 christos ACPI_DMT_PMTT_VENDOR,
170 1.14 christos ACPI_DMT_PPTT,
171 1.22 christos ACPI_DMT_RGRT,
172 1.14 christos ACPI_DMT_SDEI,
173 1.15 christos ACPI_DMT_SDEV,
174 1.5 christos ACPI_DMT_SLIC,
175 1.5 christos ACPI_DMT_SRAT,
176 1.15 christos ACPI_DMT_TPM2,
177 1.21 christos ACPI_DMT_VIOT,
178 1.5 christos
179 1.5 christos /* Special opcodes */
180 1.5 christos
181 1.5 christos ACPI_DMT_EXTRA_TEXT,
182 1.5 christos ACPI_DMT_EXIT
183 1.5 christos
184 1.5 christos } ACPI_ENTRY_TYPES;
185 1.1 jruoho
186 1.1 jruoho typedef
187 1.1 jruoho void (*ACPI_DMTABLE_HANDLER) (
188 1.1 jruoho ACPI_TABLE_HEADER *Table);
189 1.1 jruoho
190 1.1 jruoho typedef
191 1.1 jruoho ACPI_STATUS (*ACPI_CMTABLE_HANDLER) (
192 1.1 jruoho void **PFieldList);
193 1.1 jruoho
194 1.1 jruoho typedef struct acpi_dmtable_data
195 1.1 jruoho {
196 1.1 jruoho char *Signature;
197 1.1 jruoho ACPI_DMTABLE_INFO *TableInfo;
198 1.1 jruoho ACPI_DMTABLE_HANDLER TableHandler;
199 1.1 jruoho ACPI_CMTABLE_HANDLER CmTableHandler;
200 1.3 jruoho const unsigned char *Template;
201 1.1 jruoho
202 1.1 jruoho } ACPI_DMTABLE_DATA;
203 1.1 jruoho
204 1.1 jruoho
205 1.1 jruoho typedef struct acpi_op_walk_info
206 1.1 jruoho {
207 1.9 christos ACPI_WALK_STATE *WalkState;
208 1.9 christos ACPI_PARSE_OBJECT *MappingOp;
209 1.9 christos UINT8 *PreviousAml;
210 1.9 christos UINT8 *StartAml;
211 1.1 jruoho UINT32 Level;
212 1.1 jruoho UINT32 LastLevel;
213 1.1 jruoho UINT32 Count;
214 1.1 jruoho UINT32 BitOffset;
215 1.1 jruoho UINT32 Flags;
216 1.9 christos UINT32 AmlOffset;
217 1.1 jruoho
218 1.1 jruoho } ACPI_OP_WALK_INFO;
219 1.1 jruoho
220 1.1 jruoho /*
221 1.1 jruoho * TBD - another copy of this is in asltypes.h, fix
222 1.1 jruoho */
223 1.1 jruoho #ifndef ASL_WALK_CALLBACK_DEFINED
224 1.1 jruoho typedef
225 1.1 jruoho ACPI_STATUS (*ASL_WALK_CALLBACK) (
226 1.1 jruoho ACPI_PARSE_OBJECT *Op,
227 1.1 jruoho UINT32 Level,
228 1.1 jruoho void *Context);
229 1.1 jruoho #define ASL_WALK_CALLBACK_DEFINED
230 1.1 jruoho #endif
231 1.1 jruoho
232 1.5 christos typedef
233 1.5 christos void (*ACPI_RESOURCE_HANDLER) (
234 1.6 christos ACPI_OP_WALK_INFO *Info,
235 1.5 christos AML_RESOURCE *Resource,
236 1.5 christos UINT32 Length,
237 1.5 christos UINT32 Level);
238 1.1 jruoho
239 1.1 jruoho typedef struct acpi_resource_tag
240 1.1 jruoho {
241 1.1 jruoho UINT32 BitIndex;
242 1.1 jruoho char *Tag;
243 1.1 jruoho
244 1.1 jruoho } ACPI_RESOURCE_TAG;
245 1.1 jruoho
246 1.1 jruoho /* Strings used for decoding flags to ASL keywords */
247 1.1 jruoho
248 1.1 jruoho extern const char *AcpiGbl_WordDecode[];
249 1.1 jruoho extern const char *AcpiGbl_IrqDecode[];
250 1.1 jruoho extern const char *AcpiGbl_LockRule[];
251 1.1 jruoho extern const char *AcpiGbl_AccessTypes[];
252 1.1 jruoho extern const char *AcpiGbl_UpdateRules[];
253 1.1 jruoho extern const char *AcpiGbl_MatchOps[];
254 1.1 jruoho
255 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf0[];
256 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf1[];
257 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf1a[];
258 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf2[];
259 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf2a[];
260 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf3[];
261 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf4[];
262 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsfHdr[];
263 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoBdat[];
264 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoBoot[];
265 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoBert[];
266 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoBgrt[];
267 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedtHdr[];
268 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedt0[];
269 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoCpep[];
270 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoCpep0[];
271 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt0[];
272 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt1[];
273 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt2[];
274 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt2a[];
275 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2[];
276 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Device[];
277 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Addr[];
278 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Size[];
279 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Name[];
280 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2OemData[];
281 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbgp[];
282 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar[];
283 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmarHdr[];
284 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmarScope[];
285 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar0[];
286 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar1[];
287 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar2[];
288 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar3[];
289 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar4[];
290 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm[];
291 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm0[];
292 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm0a[];
293 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm1[];
294 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm1a[];
295 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm2[];
296 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoEcdt[];
297 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoEinj[];
298 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoEinj0[];
299 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoErst[];
300 1.3 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoErst0[];
301 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoFacs[];
302 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt1[];
303 1.12 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt2[];
304 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt3[];
305 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt5[];
306 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt6[];
307 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt[];
308 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdtHdr[];
309 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt0[];
310 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt1[];
311 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoGas[];
312 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt[];
313 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdtHdr[];
314 1.19 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdtEl2[];
315 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt0[];
316 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt0a[];
317 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt1[];
318 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHeader[];
319 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest[];
320 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest0[];
321 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest1[];
322 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest2[];
323 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest6[];
324 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest7[];
325 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest8[];
326 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest9[];
327 1.10 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest10[];
328 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest11[];
329 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHestNotify[];
330 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHestBank[];
331 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHpet[];
332 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpitHdr[];
333 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpit0[];
334 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpit1[];
335 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat[];
336 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat0[];
337 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat1[];
338 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat1a[];
339 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat1b[];
340 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat1c[];
341 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat2[];
342 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat2a[];
343 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmatHdr[];
344 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort[];
345 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort0[];
346 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort0a[];
347 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort1[];
348 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort1a[];
349 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort2[];
350 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3[];
351 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3a[];
352 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3b[];
353 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3c[];
354 1.10 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort4[];
355 1.17 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort5[];
356 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort6[];
357 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort6a[];
358 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortAcc[];
359 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortHdr[];
360 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortHdr3[];
361 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortMap[];
362 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortPad[];
363 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs[];
364 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHware1[];
365 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHware23[];
366 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsMemory[];
367 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs4[];
368 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8a[];
369 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8b[];
370 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8c[];
371 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsCidString[];
372 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsCidInteger[];
373 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHid[];
374 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsUidString[];
375 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsUidInteger[];
376 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHidString[];
377 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHidInteger[];
378 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt[];
379 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt0[];
380 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt1[];
381 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt2[];
382 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt3[];
383 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt4[];
384 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt5[];
385 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt6[];
386 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt7[];
387 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt8[];
388 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt9[];
389 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt10[];
390 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt11[];
391 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt12[];
392 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt13[];
393 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt14[];
394 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt15[];
395 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt16[];
396 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadtHdr[];
397 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg[];
398 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg0[];
399 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMchi[];
400 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst[];
401 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0[];
402 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0A[];
403 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0B[];
404 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst1[];
405 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst2[];
406 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMsct[];
407 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMsct0[];
408 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit[];
409 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfitHdr[];
410 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit0[];
411 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit1[];
412 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit2[];
413 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit2a[];
414 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit3[];
415 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit3a[];
416 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit4[];
417 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit5[];
418 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit6[];
419 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit6a[];
420 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit7[];
421 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPdtt[];
422 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhatHdr[];
423 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat0[];
424 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat0a[];
425 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat1[];
426 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat1a[];
427 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat1b[];
428 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt[];
429 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt0[];
430 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt1[];
431 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt2[];
432 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmttVendor[];
433 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmttHdr[];
434 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct[];
435 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcctHdr[];
436 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct0[];
437 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct1[];
438 1.10 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct2[];
439 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct3[];
440 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct4[];
441 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct5[];
442 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPdtt0[];
443 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt0[];
444 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt0a[];
445 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt1[];
446 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt1a[];
447 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt2[];
448 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPpttHdr[];
449 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPrmtHdr[];
450 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPrmtModule[];
451 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPrmtHandler[];
452 1.11 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoRasf[];
453 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoRgrt[];
454 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoRgrt0[];
455 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoRsdp1[];
456 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoRsdp2[];
457 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt[];
458 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3ptHdr[];
459 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt0[];
460 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt1[];
461 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSbst[];
462 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdei[];
463 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev[];
464 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdevHdr[];
465 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev0[];
466 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev0a[];
467 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev0b[];
468 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdevSecCompHdr[];
469 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdevSecCompId[];
470 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdevSecCompMem[];
471 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1[];
472 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1a[];
473 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1b[];
474 1.7 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSlic[];
475 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSlit[];
476 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSpcr[];
477 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSpmi[];
478 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat[];
479 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSratHdr[];
480 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat0[];
481 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat1[];
482 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat2[];
483 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat3[];
484 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat4[];
485 1.19 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat5[];
486 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoStao[];
487 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoStaoStr[];
488 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSvkl[];
489 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSvkl0[];
490 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaHdr[];
491 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaClient[];
492 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaServer[];
493 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm2[];
494 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm2a[];
495 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm211[];
496 1.18 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm23[];
497 1.18 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm23a[];
498 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoUefi[];
499 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot[];
500 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViotHeader[];
501 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot1[];
502 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot2[];
503 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot3[];
504 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot4[];
505 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWaet[];
506 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdat[];
507 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdat0[];
508 1.3 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWddt[];
509 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdrt[];
510 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoWpbt[];
511 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoWpbt0[];
512 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoWsmt[];
513 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoXenv[];
514 1.1 jruoho
515 1.3 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoGeneric[][2];
516 1.3 jruoho
517 1.1 jruoho /*
518 1.8 christos * dmtable and ahtable
519 1.1 jruoho */
520 1.8 christos extern const ACPI_DMTABLE_DATA AcpiDmTableData[];
521 1.18 christos extern const AH_TABLE AcpiGbl_SupportedTables[];
522 1.3 jruoho
523 1.3 jruoho UINT8
524 1.3 jruoho AcpiDmGenerateChecksum (
525 1.3 jruoho void *Table,
526 1.3 jruoho UINT32 Length,
527 1.3 jruoho UINT8 OriginalChecksum);
528 1.1 jruoho
529 1.8 christos const ACPI_DMTABLE_DATA *
530 1.1 jruoho AcpiDmGetTableData (
531 1.1 jruoho char *Signature);
532 1.1 jruoho
533 1.1 jruoho void
534 1.1 jruoho AcpiDmDumpDataTable (
535 1.1 jruoho ACPI_TABLE_HEADER *Table);
536 1.1 jruoho
537 1.1 jruoho ACPI_STATUS
538 1.1 jruoho AcpiDmDumpTable (
539 1.1 jruoho UINT32 TableLength,
540 1.1 jruoho UINT32 TableOffset,
541 1.1 jruoho void *Table,
542 1.15 christos UINT32 SubtableLength,
543 1.1 jruoho ACPI_DMTABLE_INFO *Info);
544 1.1 jruoho
545 1.1 jruoho void
546 1.1 jruoho AcpiDmLineHeader (
547 1.1 jruoho UINT32 Offset,
548 1.1 jruoho UINT32 ByteLength,
549 1.1 jruoho char *Name);
550 1.1 jruoho
551 1.1 jruoho void
552 1.1 jruoho AcpiDmLineHeader2 (
553 1.1 jruoho UINT32 Offset,
554 1.1 jruoho UINT32 ByteLength,
555 1.1 jruoho char *Name,
556 1.1 jruoho UINT32 Value);
557 1.1 jruoho
558 1.1 jruoho
559 1.1 jruoho /*
560 1.1 jruoho * dmtbdump
561 1.1 jruoho */
562 1.1 jruoho void
563 1.7 christos AcpiDmDumpBuffer (
564 1.7 christos void *Table,
565 1.7 christos UINT32 BufferOffset,
566 1.7 christos UINT32 Length,
567 1.7 christos UINT32 AbsoluteOffset,
568 1.8 christos char *Header);
569 1.8 christos
570 1.8 christos void
571 1.8 christos AcpiDmDumpUnicode (
572 1.8 christos void *Table,
573 1.8 christos UINT32 BufferOffset,
574 1.8 christos UINT32 ByteLength);
575 1.7 christos
576 1.7 christos void
577 1.1 jruoho AcpiDmDumpAsf (
578 1.1 jruoho ACPI_TABLE_HEADER *Table);
579 1.1 jruoho
580 1.1 jruoho void
581 1.21 christos AcpiDmDumpCedt (
582 1.21 christos ACPI_TABLE_HEADER *Table);
583 1.21 christos
584 1.21 christos void
585 1.1 jruoho AcpiDmDumpCpep (
586 1.1 jruoho ACPI_TABLE_HEADER *Table);
587 1.1 jruoho
588 1.1 jruoho void
589 1.5 christos AcpiDmDumpCsrt (
590 1.5 christos ACPI_TABLE_HEADER *Table);
591 1.5 christos
592 1.5 christos void
593 1.5 christos AcpiDmDumpDbg2 (
594 1.5 christos ACPI_TABLE_HEADER *Table);
595 1.5 christos
596 1.5 christos void
597 1.1 jruoho AcpiDmDumpDmar (
598 1.1 jruoho ACPI_TABLE_HEADER *Table);
599 1.1 jruoho
600 1.1 jruoho void
601 1.8 christos AcpiDmDumpDrtm (
602 1.8 christos ACPI_TABLE_HEADER *Table);
603 1.8 christos
604 1.8 christos void
605 1.1 jruoho AcpiDmDumpEinj (
606 1.1 jruoho ACPI_TABLE_HEADER *Table);
607 1.1 jruoho
608 1.1 jruoho void
609 1.1 jruoho AcpiDmDumpErst (
610 1.1 jruoho ACPI_TABLE_HEADER *Table);
611 1.1 jruoho
612 1.1 jruoho void
613 1.1 jruoho AcpiDmDumpFadt (
614 1.1 jruoho ACPI_TABLE_HEADER *Table);
615 1.1 jruoho
616 1.1 jruoho void
617 1.5 christos AcpiDmDumpFpdt (
618 1.5 christos ACPI_TABLE_HEADER *Table);
619 1.5 christos
620 1.5 christos void
621 1.6 christos AcpiDmDumpGtdt (
622 1.6 christos ACPI_TABLE_HEADER *Table);
623 1.6 christos
624 1.6 christos void
625 1.1 jruoho AcpiDmDumpHest (
626 1.1 jruoho ACPI_TABLE_HEADER *Table);
627 1.1 jruoho
628 1.1 jruoho void
629 1.14 christos AcpiDmDumpHmat (
630 1.14 christos ACPI_TABLE_HEADER *Table);
631 1.14 christos
632 1.14 christos void
633 1.8 christos AcpiDmDumpIort (
634 1.8 christos ACPI_TABLE_HEADER *Table);
635 1.8 christos
636 1.8 christos void
637 1.1 jruoho AcpiDmDumpIvrs (
638 1.1 jruoho ACPI_TABLE_HEADER *Table);
639 1.1 jruoho
640 1.1 jruoho void
641 1.6 christos AcpiDmDumpLpit (
642 1.6 christos ACPI_TABLE_HEADER *Table);
643 1.6 christos
644 1.6 christos void
645 1.5 christos AcpiDmDumpMadt (
646 1.5 christos ACPI_TABLE_HEADER *Table);
647 1.5 christos
648 1.5 christos void
649 1.1 jruoho AcpiDmDumpMcfg (
650 1.1 jruoho ACPI_TABLE_HEADER *Table);
651 1.1 jruoho
652 1.1 jruoho void
653 1.5 christos AcpiDmDumpMpst (
654 1.1 jruoho ACPI_TABLE_HEADER *Table);
655 1.1 jruoho
656 1.1 jruoho void
657 1.1 jruoho AcpiDmDumpMsct (
658 1.1 jruoho ACPI_TABLE_HEADER *Table);
659 1.1 jruoho
660 1.5 christos void
661 1.21 christos AcpiDmDumpNfit (
662 1.5 christos ACPI_TABLE_HEADER *Table);
663 1.5 christos
664 1.5 christos void
665 1.21 christos AcpiDmDumpPcct (
666 1.8 christos ACPI_TABLE_HEADER *Table);
667 1.8 christos
668 1.8 christos void
669 1.21 christos AcpiDmDumpPdtt (
670 1.5 christos ACPI_TABLE_HEADER *Table);
671 1.5 christos
672 1.5 christos void
673 1.21 christos AcpiDmDumpPhat (
674 1.15 christos ACPI_TABLE_HEADER *Table);
675 1.15 christos
676 1.15 christos void
677 1.5 christos AcpiDmDumpPmtt (
678 1.5 christos ACPI_TABLE_HEADER *Table);
679 1.5 christos
680 1.14 christos void
681 1.14 christos AcpiDmDumpPptt (
682 1.14 christos ACPI_TABLE_HEADER *Table);
683 1.14 christos
684 1.22 christos void
685 1.22 christos AcpiDmDumpPrmt (
686 1.22 christos ACPI_TABLE_HEADER *Table);
687 1.22 christos
688 1.22 christos void
689 1.22 christos AcpiDmDumpRgrt (
690 1.22 christos ACPI_TABLE_HEADER *Table);
691 1.22 christos
692 1.1 jruoho UINT32
693 1.1 jruoho AcpiDmDumpRsdp (
694 1.1 jruoho ACPI_TABLE_HEADER *Table);
695 1.1 jruoho
696 1.1 jruoho void
697 1.1 jruoho AcpiDmDumpRsdt (
698 1.1 jruoho ACPI_TABLE_HEADER *Table);
699 1.1 jruoho
700 1.5 christos UINT32
701 1.5 christos AcpiDmDumpS3pt (
702 1.5 christos ACPI_TABLE_HEADER *Table);
703 1.5 christos
704 1.1 jruoho void
705 1.15 christos AcpiDmDumpSdev (
706 1.15 christos ACPI_TABLE_HEADER *Table);
707 1.15 christos
708 1.15 christos void
709 1.4 jruoho AcpiDmDumpSlic (
710 1.4 jruoho ACPI_TABLE_HEADER *Table);
711 1.4 jruoho
712 1.4 jruoho void
713 1.1 jruoho AcpiDmDumpSlit (
714 1.1 jruoho ACPI_TABLE_HEADER *Table);
715 1.1 jruoho
716 1.1 jruoho void
717 1.1 jruoho AcpiDmDumpSrat (
718 1.1 jruoho ACPI_TABLE_HEADER *Table);
719 1.1 jruoho
720 1.1 jruoho void
721 1.8 christos AcpiDmDumpStao (
722 1.8 christos ACPI_TABLE_HEADER *Table);
723 1.8 christos
724 1.8 christos void
725 1.22 christos AcpiDmDumpSvkl (
726 1.22 christos ACPI_TABLE_HEADER *Table);
727 1.22 christos
728 1.22 christos void
729 1.8 christos AcpiDmDumpTcpa (
730 1.8 christos ACPI_TABLE_HEADER *Table);
731 1.8 christos
732 1.8 christos void
733 1.15 christos AcpiDmDumpTpm2 (
734 1.15 christos ACPI_TABLE_HEADER *Table);
735 1.15 christos
736 1.15 christos void
737 1.21 christos AcpiDmDumpViot (
738 1.5 christos ACPI_TABLE_HEADER *Table);
739 1.5 christos
740 1.5 christos void
741 1.1 jruoho AcpiDmDumpWdat (
742 1.1 jruoho ACPI_TABLE_HEADER *Table);
743 1.1 jruoho
744 1.1 jruoho void
745 1.8 christos AcpiDmDumpWpbt (
746 1.8 christos ACPI_TABLE_HEADER *Table);
747 1.8 christos
748 1.8 christos void
749 1.1 jruoho AcpiDmDumpXsdt (
750 1.1 jruoho ACPI_TABLE_HEADER *Table);
751 1.1 jruoho
752 1.1 jruoho
753 1.1 jruoho /*
754 1.1 jruoho * dmwalk
755 1.1 jruoho */
756 1.1 jruoho void
757 1.1 jruoho AcpiDmDisassemble (
758 1.1 jruoho ACPI_WALK_STATE *WalkState,
759 1.1 jruoho ACPI_PARSE_OBJECT *Origin,
760 1.1 jruoho UINT32 NumOpcodes);
761 1.1 jruoho
762 1.1 jruoho void
763 1.1 jruoho AcpiDmWalkParseTree (
764 1.1 jruoho ACPI_PARSE_OBJECT *Op,
765 1.1 jruoho ASL_WALK_CALLBACK DescendingCallback,
766 1.1 jruoho ASL_WALK_CALLBACK AscendingCallback,
767 1.1 jruoho void *Context);
768 1.1 jruoho
769 1.1 jruoho
770 1.1 jruoho /*
771 1.1 jruoho * dmopcode
772 1.1 jruoho */
773 1.1 jruoho void
774 1.1 jruoho AcpiDmDisassembleOneOp (
775 1.1 jruoho ACPI_WALK_STATE *WalkState,
776 1.1 jruoho ACPI_OP_WALK_INFO *Info,
777 1.1 jruoho ACPI_PARSE_OBJECT *Op);
778 1.1 jruoho
779 1.1 jruoho UINT32
780 1.1 jruoho AcpiDmListType (
781 1.1 jruoho ACPI_PARSE_OBJECT *Op);
782 1.1 jruoho
783 1.1 jruoho void
784 1.1 jruoho AcpiDmMethodFlags (
785 1.1 jruoho ACPI_PARSE_OBJECT *Op);
786 1.1 jruoho
787 1.1 jruoho void
788 1.6 christos AcpiDmDisplayTargetPathname (
789 1.6 christos ACPI_PARSE_OBJECT *Op);
790 1.6 christos
791 1.6 christos void
792 1.6 christos AcpiDmNotifyDescription (
793 1.6 christos ACPI_PARSE_OBJECT *Op);
794 1.6 christos
795 1.6 christos void
796 1.5 christos AcpiDmPredefinedDescription (
797 1.5 christos ACPI_PARSE_OBJECT *Op);
798 1.5 christos
799 1.5 christos void
800 1.5 christos AcpiDmFieldPredefinedDescription (
801 1.5 christos ACPI_PARSE_OBJECT *Op);
802 1.5 christos
803 1.5 christos void
804 1.1 jruoho AcpiDmFieldFlags (
805 1.1 jruoho ACPI_PARSE_OBJECT *Op);
806 1.1 jruoho
807 1.1 jruoho void
808 1.1 jruoho AcpiDmAddressSpace (
809 1.1 jruoho UINT8 SpaceId);
810 1.1 jruoho
811 1.1 jruoho void
812 1.1 jruoho AcpiDmRegionFlags (
813 1.1 jruoho ACPI_PARSE_OBJECT *Op);
814 1.1 jruoho
815 1.1 jruoho void
816 1.1 jruoho AcpiDmMatchOp (
817 1.1 jruoho ACPI_PARSE_OBJECT *Op);
818 1.1 jruoho
819 1.1 jruoho
820 1.1 jruoho /*
821 1.1 jruoho * dmnames
822 1.1 jruoho */
823 1.1 jruoho UINT32
824 1.1 jruoho AcpiDmDumpName (
825 1.1 jruoho UINT32 Name);
826 1.1 jruoho
827 1.1 jruoho ACPI_STATUS
828 1.1 jruoho AcpiPsDisplayObjectPathname (
829 1.1 jruoho ACPI_WALK_STATE *WalkState,
830 1.1 jruoho ACPI_PARSE_OBJECT *Op);
831 1.1 jruoho
832 1.1 jruoho void
833 1.1 jruoho AcpiDmNamestring (
834 1.1 jruoho char *Name);
835 1.1 jruoho
836 1.1 jruoho
837 1.1 jruoho /*
838 1.1 jruoho * dmbuffer
839 1.1 jruoho */
840 1.1 jruoho void
841 1.1 jruoho AcpiDmDisasmByteList (
842 1.1 jruoho UINT32 Level,
843 1.1 jruoho UINT8 *ByteData,
844 1.1 jruoho UINT32 ByteCount);
845 1.1 jruoho
846 1.1 jruoho void
847 1.1 jruoho AcpiDmByteList (
848 1.1 jruoho ACPI_OP_WALK_INFO *Info,
849 1.1 jruoho ACPI_PARSE_OBJECT *Op);
850 1.1 jruoho
851 1.1 jruoho void
852 1.6 christos AcpiDmCheckForHardwareId (
853 1.1 jruoho ACPI_PARSE_OBJECT *Op);
854 1.1 jruoho
855 1.1 jruoho void
856 1.6 christos AcpiDmDecompressEisaId (
857 1.1 jruoho UINT32 EncodedId);
858 1.1 jruoho
859 1.1 jruoho BOOLEAN
860 1.6 christos AcpiDmIsUuidBuffer (
861 1.6 christos ACPI_PARSE_OBJECT *Op);
862 1.6 christos
863 1.6 christos BOOLEAN
864 1.1 jruoho AcpiDmIsUnicodeBuffer (
865 1.1 jruoho ACPI_PARSE_OBJECT *Op);
866 1.1 jruoho
867 1.1 jruoho BOOLEAN
868 1.1 jruoho AcpiDmIsStringBuffer (
869 1.1 jruoho ACPI_PARSE_OBJECT *Op);
870 1.1 jruoho
871 1.5 christos BOOLEAN
872 1.5 christos AcpiDmIsPldBuffer (
873 1.5 christos ACPI_PARSE_OBJECT *Op);
874 1.5 christos
875 1.5 christos
876 1.5 christos /*
877 1.5 christos * dmdeferred
878 1.5 christos */
879 1.5 christos ACPI_STATUS
880 1.5 christos AcpiDmParseDeferredOps (
881 1.5 christos ACPI_PARSE_OBJECT *Root);
882 1.5 christos
883 1.1 jruoho
884 1.1 jruoho /*
885 1.1 jruoho * dmextern
886 1.1 jruoho */
887 1.3 jruoho ACPI_STATUS
888 1.3 jruoho AcpiDmAddToExternalFileList (
889 1.3 jruoho char *PathList);
890 1.3 jruoho
891 1.3 jruoho void
892 1.3 jruoho AcpiDmClearExternalFileList (
893 1.3 jruoho void);
894 1.3 jruoho
895 1.1 jruoho void
896 1.5 christos AcpiDmAddOpToExternalList (
897 1.1 jruoho ACPI_PARSE_OBJECT *Op,
898 1.1 jruoho char *Path,
899 1.1 jruoho UINT8 Type,
900 1.5 christos UINT32 Value,
901 1.5 christos UINT16 Flags);
902 1.5 christos
903 1.5 christos void
904 1.14 christos AcpiDmCreateSubobjectForExternal (
905 1.14 christos UINT8 Type,
906 1.14 christos ACPI_NAMESPACE_NODE **Node,
907 1.14 christos UINT32 Value);
908 1.14 christos
909 1.14 christos void
910 1.5 christos AcpiDmAddNodeToExternalList (
911 1.5 christos ACPI_NAMESPACE_NODE *Node,
912 1.5 christos UINT8 Type,
913 1.5 christos UINT32 Value,
914 1.5 christos UINT16 Flags);
915 1.1 jruoho
916 1.1 jruoho void
917 1.14 christos AcpiDmAddExternalListToNamespace (
918 1.1 jruoho void);
919 1.1 jruoho
920 1.14 christos void
921 1.14 christos AcpiDmAddOneExternalToNamespace (
922 1.14 christos char *Path,
923 1.14 christos UINT8 Type,
924 1.14 christos UINT32 Value);
925 1.14 christos
926 1.1 jruoho UINT32
927 1.14 christos AcpiDmGetUnresolvedExternalMethodCount (
928 1.1 jruoho void);
929 1.1 jruoho
930 1.1 jruoho void
931 1.1 jruoho AcpiDmClearExternalList (
932 1.1 jruoho void);
933 1.1 jruoho
934 1.1 jruoho void
935 1.1 jruoho AcpiDmEmitExternals (
936 1.1 jruoho void);
937 1.1 jruoho
938 1.5 christos void
939 1.13 christos AcpiDmEmitExternal (
940 1.13 christos ACPI_PARSE_OBJECT *NameOp,
941 1.13 christos ACPI_PARSE_OBJECT *TypeOp);
942 1.13 christos
943 1.13 christos void
944 1.5 christos AcpiDmUnresolvedWarning (
945 1.5 christos UINT8 Type);
946 1.5 christos
947 1.5 christos void
948 1.5 christos AcpiDmGetExternalsFromFile (
949 1.5 christos void);
950 1.1 jruoho
951 1.14 christos void
952 1.14 christos AcpiDmMarkExternalConflict (
953 1.14 christos ACPI_NAMESPACE_NODE *Node);
954 1.14 christos
955 1.14 christos
956 1.1 jruoho /*
957 1.1 jruoho * dmresrc
958 1.1 jruoho */
959 1.1 jruoho void
960 1.1 jruoho AcpiDmDumpInteger8 (
961 1.1 jruoho UINT8 Value,
962 1.2 jruoho const char *Name);
963 1.1 jruoho
964 1.1 jruoho void
965 1.1 jruoho AcpiDmDumpInteger16 (
966 1.1 jruoho UINT16 Value,
967 1.2 jruoho const char *Name);
968 1.1 jruoho
969 1.1 jruoho void
970 1.1 jruoho AcpiDmDumpInteger32 (
971 1.1 jruoho UINT32 Value,
972 1.2 jruoho const char *Name);
973 1.1 jruoho
974 1.1 jruoho void
975 1.1 jruoho AcpiDmDumpInteger64 (
976 1.1 jruoho UINT64 Value,
977 1.2 jruoho const char *Name);
978 1.1 jruoho
979 1.1 jruoho void
980 1.1 jruoho AcpiDmResourceTemplate (
981 1.1 jruoho ACPI_OP_WALK_INFO *Info,
982 1.1 jruoho ACPI_PARSE_OBJECT *Op,
983 1.1 jruoho UINT8 *ByteData,
984 1.1 jruoho UINT32 ByteCount);
985 1.1 jruoho
986 1.1 jruoho ACPI_STATUS
987 1.1 jruoho AcpiDmIsResourceTemplate (
988 1.5 christos ACPI_WALK_STATE *WalkState,
989 1.1 jruoho ACPI_PARSE_OBJECT *Op);
990 1.1 jruoho
991 1.1 jruoho void
992 1.1 jruoho AcpiDmBitList (
993 1.1 jruoho UINT16 Mask);
994 1.1 jruoho
995 1.1 jruoho void
996 1.1 jruoho AcpiDmDescriptorName (
997 1.1 jruoho void);
998 1.1 jruoho
999 1.1 jruoho
1000 1.1 jruoho /*
1001 1.1 jruoho * dmresrcl
1002 1.1 jruoho */
1003 1.1 jruoho void
1004 1.1 jruoho AcpiDmWordDescriptor (
1005 1.6 christos ACPI_OP_WALK_INFO *Info,
1006 1.1 jruoho AML_RESOURCE *Resource,
1007 1.1 jruoho UINT32 Length,
1008 1.1 jruoho UINT32 Level);
1009 1.1 jruoho
1010 1.1 jruoho void
1011 1.1 jruoho AcpiDmDwordDescriptor (
1012 1.6 christos ACPI_OP_WALK_INFO *Info,
1013 1.1 jruoho AML_RESOURCE *Resource,
1014 1.1 jruoho UINT32 Length,
1015 1.1 jruoho UINT32 Level);
1016 1.1 jruoho
1017 1.1 jruoho void
1018 1.1 jruoho AcpiDmExtendedDescriptor (
1019 1.6 christos ACPI_OP_WALK_INFO *Info,
1020 1.1 jruoho AML_RESOURCE *Resource,
1021 1.1 jruoho UINT32 Length,
1022 1.1 jruoho UINT32 Level);
1023 1.1 jruoho
1024 1.1 jruoho void
1025 1.1 jruoho AcpiDmQwordDescriptor (
1026 1.6 christos ACPI_OP_WALK_INFO *Info,
1027 1.1 jruoho AML_RESOURCE *Resource,
1028 1.1 jruoho UINT32 Length,
1029 1.1 jruoho UINT32 Level);
1030 1.1 jruoho
1031 1.1 jruoho void
1032 1.1 jruoho AcpiDmMemory24Descriptor (
1033 1.6 christos ACPI_OP_WALK_INFO *Info,
1034 1.1 jruoho AML_RESOURCE *Resource,
1035 1.1 jruoho UINT32 Length,
1036 1.1 jruoho UINT32 Level);
1037 1.1 jruoho
1038 1.1 jruoho void
1039 1.1 jruoho AcpiDmMemory32Descriptor (
1040 1.6 christos ACPI_OP_WALK_INFO *Info,
1041 1.1 jruoho AML_RESOURCE *Resource,
1042 1.1 jruoho UINT32 Length,
1043 1.1 jruoho UINT32 Level);
1044 1.1 jruoho
1045 1.1 jruoho void
1046 1.1 jruoho AcpiDmFixedMemory32Descriptor (
1047 1.6 christos ACPI_OP_WALK_INFO *Info,
1048 1.1 jruoho AML_RESOURCE *Resource,
1049 1.1 jruoho UINT32 Length,
1050 1.1 jruoho UINT32 Level);
1051 1.1 jruoho
1052 1.1 jruoho void
1053 1.1 jruoho AcpiDmGenericRegisterDescriptor (
1054 1.6 christos ACPI_OP_WALK_INFO *Info,
1055 1.1 jruoho AML_RESOURCE *Resource,
1056 1.1 jruoho UINT32 Length,
1057 1.1 jruoho UINT32 Level);
1058 1.1 jruoho
1059 1.1 jruoho void
1060 1.1 jruoho AcpiDmInterruptDescriptor (
1061 1.6 christos ACPI_OP_WALK_INFO *Info,
1062 1.1 jruoho AML_RESOURCE *Resource,
1063 1.1 jruoho UINT32 Length,
1064 1.1 jruoho UINT32 Level);
1065 1.1 jruoho
1066 1.1 jruoho void
1067 1.1 jruoho AcpiDmVendorLargeDescriptor (
1068 1.6 christos ACPI_OP_WALK_INFO *Info,
1069 1.1 jruoho AML_RESOURCE *Resource,
1070 1.1 jruoho UINT32 Length,
1071 1.1 jruoho UINT32 Level);
1072 1.1 jruoho
1073 1.1 jruoho void
1074 1.5 christos AcpiDmGpioDescriptor (
1075 1.6 christos ACPI_OP_WALK_INFO *Info,
1076 1.5 christos AML_RESOURCE *Resource,
1077 1.5 christos UINT32 Length,
1078 1.5 christos UINT32 Level);
1079 1.5 christos
1080 1.5 christos void
1081 1.14 christos AcpiDmPinFunctionDescriptor (
1082 1.14 christos ACPI_OP_WALK_INFO *Info,
1083 1.14 christos AML_RESOURCE *Resource,
1084 1.14 christos UINT32 Length,
1085 1.14 christos UINT32 Level);
1086 1.14 christos
1087 1.14 christos void
1088 1.14 christos AcpiDmPinConfigDescriptor (
1089 1.14 christos ACPI_OP_WALK_INFO *Info,
1090 1.14 christos AML_RESOURCE *Resource,
1091 1.14 christos UINT32 Length,
1092 1.14 christos UINT32 Level);
1093 1.14 christos
1094 1.14 christos void
1095 1.14 christos AcpiDmPinGroupDescriptor (
1096 1.14 christos ACPI_OP_WALK_INFO *Info,
1097 1.14 christos AML_RESOURCE *Resource,
1098 1.14 christos UINT32 Length,
1099 1.14 christos UINT32 Level);
1100 1.14 christos
1101 1.14 christos void
1102 1.14 christos AcpiDmPinGroupFunctionDescriptor (
1103 1.14 christos ACPI_OP_WALK_INFO *Info,
1104 1.14 christos AML_RESOURCE *Resource,
1105 1.14 christos UINT32 Length,
1106 1.14 christos UINT32 Level);
1107 1.14 christos
1108 1.14 christos void
1109 1.14 christos AcpiDmPinGroupConfigDescriptor (
1110 1.14 christos ACPI_OP_WALK_INFO *Info,
1111 1.14 christos AML_RESOURCE *Resource,
1112 1.14 christos UINT32 Length,
1113 1.14 christos UINT32 Level);
1114 1.14 christos
1115 1.14 christos void
1116 1.5 christos AcpiDmSerialBusDescriptor (
1117 1.6 christos ACPI_OP_WALK_INFO *Info,
1118 1.5 christos AML_RESOURCE *Resource,
1119 1.5 christos UINT32 Length,
1120 1.5 christos UINT32 Level);
1121 1.5 christos
1122 1.5 christos void
1123 1.1 jruoho AcpiDmVendorCommon (
1124 1.2 jruoho const char *Name,
1125 1.1 jruoho UINT8 *ByteData,
1126 1.1 jruoho UINT32 Length,
1127 1.1 jruoho UINT32 Level);
1128 1.1 jruoho
1129 1.1 jruoho
1130 1.1 jruoho /*
1131 1.1 jruoho * dmresrcs
1132 1.1 jruoho */
1133 1.1 jruoho void
1134 1.1 jruoho AcpiDmIrqDescriptor (
1135 1.6 christos ACPI_OP_WALK_INFO *Info,
1136 1.1 jruoho AML_RESOURCE *Resource,
1137 1.1 jruoho UINT32 Length,
1138 1.1 jruoho UINT32 Level);
1139 1.1 jruoho
1140 1.1 jruoho void
1141 1.1 jruoho AcpiDmDmaDescriptor (
1142 1.6 christos ACPI_OP_WALK_INFO *Info,
1143 1.1 jruoho AML_RESOURCE *Resource,
1144 1.1 jruoho UINT32 Length,
1145 1.1 jruoho UINT32 Level);
1146 1.1 jruoho
1147 1.1 jruoho void
1148 1.5 christos AcpiDmFixedDmaDescriptor (
1149 1.6 christos ACPI_OP_WALK_INFO *Info,
1150 1.5 christos AML_RESOURCE *Resource,
1151 1.5 christos UINT32 Length,
1152 1.5 christos UINT32 Level);
1153 1.5 christos
1154 1.5 christos void
1155 1.1 jruoho AcpiDmIoDescriptor (
1156 1.6 christos ACPI_OP_WALK_INFO *Info,
1157 1.1 jruoho AML_RESOURCE *Resource,
1158 1.1 jruoho UINT32 Length,
1159 1.1 jruoho UINT32 Level);
1160 1.1 jruoho
1161 1.1 jruoho void
1162 1.1 jruoho AcpiDmFixedIoDescriptor (
1163 1.6 christos ACPI_OP_WALK_INFO *Info,
1164 1.1 jruoho AML_RESOURCE *Resource,
1165 1.1 jruoho UINT32 Length,
1166 1.1 jruoho UINT32 Level);
1167 1.1 jruoho
1168 1.1 jruoho void
1169 1.1 jruoho AcpiDmStartDependentDescriptor (
1170 1.6 christos ACPI_OP_WALK_INFO *Info,
1171 1.1 jruoho AML_RESOURCE *Resource,
1172 1.1 jruoho UINT32 Length,
1173 1.1 jruoho UINT32 Level);
1174 1.1 jruoho
1175 1.1 jruoho void
1176 1.1 jruoho AcpiDmEndDependentDescriptor (
1177 1.6 christos ACPI_OP_WALK_INFO *Info,
1178 1.1 jruoho AML_RESOURCE *Resource,
1179 1.1 jruoho UINT32 Length,
1180 1.1 jruoho UINT32 Level);
1181 1.1 jruoho
1182 1.1 jruoho void
1183 1.1 jruoho AcpiDmVendorSmallDescriptor (
1184 1.6 christos ACPI_OP_WALK_INFO *Info,
1185 1.1 jruoho AML_RESOURCE *Resource,
1186 1.1 jruoho UINT32 Length,
1187 1.1 jruoho UINT32 Level);
1188 1.1 jruoho
1189 1.1 jruoho
1190 1.1 jruoho /*
1191 1.1 jruoho * dmutils
1192 1.1 jruoho */
1193 1.1 jruoho void
1194 1.1 jruoho AcpiDmDecodeAttribute (
1195 1.1 jruoho UINT8 Attribute);
1196 1.1 jruoho
1197 1.1 jruoho void
1198 1.1 jruoho AcpiDmIndent (
1199 1.1 jruoho UINT32 Level);
1200 1.1 jruoho
1201 1.1 jruoho BOOLEAN
1202 1.1 jruoho AcpiDmCommaIfListMember (
1203 1.1 jruoho ACPI_PARSE_OBJECT *Op);
1204 1.1 jruoho
1205 1.1 jruoho void
1206 1.1 jruoho AcpiDmCommaIfFieldMember (
1207 1.1 jruoho ACPI_PARSE_OBJECT *Op);
1208 1.1 jruoho
1209 1.1 jruoho
1210 1.1 jruoho /*
1211 1.1 jruoho * dmrestag
1212 1.1 jruoho */
1213 1.1 jruoho void
1214 1.1 jruoho AcpiDmFindResources (
1215 1.1 jruoho ACPI_PARSE_OBJECT *Root);
1216 1.1 jruoho
1217 1.1 jruoho void
1218 1.1 jruoho AcpiDmCheckResourceReference (
1219 1.1 jruoho ACPI_PARSE_OBJECT *Op,
1220 1.1 jruoho ACPI_WALK_STATE *WalkState);
1221 1.1 jruoho
1222 1.3 jruoho
1223 1.3 jruoho /*
1224 1.7 christos * dmcstyle
1225 1.7 christos */
1226 1.7 christos BOOLEAN
1227 1.7 christos AcpiDmCheckForSymbolicOpcode (
1228 1.7 christos ACPI_PARSE_OBJECT *Op,
1229 1.7 christos ACPI_OP_WALK_INFO *Info);
1230 1.7 christos
1231 1.7 christos void
1232 1.7 christos AcpiDmCloseOperator (
1233 1.7 christos ACPI_PARSE_OBJECT *Op);
1234 1.7 christos
1235 1.7 christos
1236 1.7 christos /*
1237 1.9 christos * dmtables
1238 1.3 jruoho */
1239 1.14 christos ACPI_STATUS
1240 1.14 christos AcpiDmProcessSwitch (
1241 1.14 christos ACPI_PARSE_OBJECT *Op);
1242 1.14 christos
1243 1.14 christos void
1244 1.14 christos AcpiDmClearTempList(
1245 1.14 christos void);
1246 1.14 christos
1247 1.14 christos /*
1248 1.14 christos * dmtables
1249 1.14 christos */
1250 1.3 jruoho void
1251 1.3 jruoho AdDisassemblerHeader (
1252 1.7 christos char *Filename,
1253 1.7 christos UINT8 TableType);
1254 1.3 jruoho
1255 1.7 christos #define ACPI_IS_AML_TABLE 0
1256 1.7 christos #define ACPI_IS_DATA_TABLE 1
1257 1.3 jruoho
1258 1.9 christos
1259 1.9 christos /*
1260 1.9 christos * adisasm
1261 1.9 christos */
1262 1.9 christos ACPI_STATUS
1263 1.9 christos AdAmlDisassemble (
1264 1.9 christos BOOLEAN OutToFile,
1265 1.9 christos char *Filename,
1266 1.9 christos char *Prefix,
1267 1.9 christos char **OutFilename);
1268 1.9 christos
1269 1.9 christos ACPI_STATUS
1270 1.9 christos AdGetLocalTables (
1271 1.9 christos void);
1272 1.9 christos
1273 1.9 christos ACPI_STATUS
1274 1.9 christos AdParseTable (
1275 1.9 christos ACPI_TABLE_HEADER *Table,
1276 1.9 christos ACPI_OWNER_ID *OwnerId,
1277 1.9 christos BOOLEAN LoadTable,
1278 1.9 christos BOOLEAN External);
1279 1.9 christos
1280 1.9 christos ACPI_STATUS
1281 1.9 christos AdDisplayTables (
1282 1.9 christos char *Filename,
1283 1.9 christos ACPI_TABLE_HEADER *Table);
1284 1.9 christos
1285 1.9 christos ACPI_STATUS
1286 1.9 christos AdDisplayStatistics (
1287 1.9 christos void);
1288 1.9 christos
1289 1.13 christos
1290 1.13 christos /*
1291 1.13 christos * dmwalk
1292 1.13 christos */
1293 1.13 christos UINT32
1294 1.13 christos AcpiDmBlockType (
1295 1.13 christos ACPI_PARSE_OBJECT *Op);
1296 1.13 christos
1297 1.13 christos
1298 1.1 jruoho #endif /* __ACDISASM_H__ */
1299