Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /****************************************************************************** |
2 | * | |
3 | * Name: acdisasm.h - AML disassembler | |
4 | * | |
5 | *****************************************************************************/ | |
6 | ||
7 | /* | |
75a44ce0 | 8 | * Copyright (C) 2000 - 2008, Intel Corp. |
1da177e4 LT |
9 | * All rights reserved. |
10 | * | |
11 | * Redistribution and use in source and binary forms, with or without | |
12 | * modification, are permitted provided that the following conditions | |
13 | * are met: | |
14 | * 1. Redistributions of source code must retain the above copyright | |
15 | * notice, this list of conditions, and the following disclaimer, | |
16 | * without modification. | |
17 | * 2. Redistributions in binary form must reproduce at minimum a disclaimer | |
18 | * substantially similar to the "NO WARRANTY" disclaimer below | |
19 | * ("Disclaimer") and any redistribution must be conditioned upon | |
20 | * including a substantially similar Disclaimer requirement for further | |
21 | * binary redistribution. | |
22 | * 3. Neither the names of the above-listed copyright holders nor the names | |
23 | * of any contributors may be used to endorse or promote products derived | |
24 | * from this software without specific prior written permission. | |
25 | * | |
26 | * Alternatively, this software may be distributed under the terms of the | |
27 | * GNU General Public License ("GPL") version 2 as published by the Free | |
28 | * Software Foundation. | |
29 | * | |
30 | * NO WARRANTY | |
31 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
32 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
33 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR | |
34 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
35 | * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
36 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
37 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
38 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | |
39 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | |
40 | * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
41 | * POSSIBILITY OF SUCH DAMAGES. | |
42 | */ | |
43 | ||
44 | #ifndef __ACDISASM_H__ | |
45 | #define __ACDISASM_H__ | |
46 | ||
47 | #include "amlresrc.h" | |
48 | ||
1da177e4 LT |
49 | #define BLOCK_NONE 0 |
50 | #define BLOCK_PAREN 1 | |
51 | #define BLOCK_BRACE 2 | |
52 | #define BLOCK_COMMA_LIST 4 | |
8313524a | 53 | #define ACPI_DEFAULT_RESNAME *(u32 *) "__RD" |
1da177e4 | 54 | |
4be44fcd LB |
55 | struct acpi_external_list { |
56 | char *path; | |
958dd242 | 57 | char *internal_path; |
4be44fcd | 58 | struct acpi_external_list *next; |
958dd242 BM |
59 | u32 value; |
60 | u16 length; | |
61 | u8 type; | |
1da177e4 LT |
62 | }; |
63 | ||
4be44fcd | 64 | extern struct acpi_external_list *acpi_gbl_external_list; |
defba1d8 | 65 | |
793c2388 BM |
66 | typedef const struct acpi_dmtable_info { |
67 | u8 opcode; | |
68 | u8 offset; | |
69 | char *name; | |
defba1d8 | 70 | |
793c2388 BM |
71 | } acpi_dmtable_info; |
72 | ||
73 | /* | |
74 | * Values for Opcode above. | |
75 | * Note: 0-7 must not change, used as a flag shift value | |
76 | */ | |
77 | #define ACPI_DMT_FLAG0 0 | |
78 | #define ACPI_DMT_FLAG1 1 | |
79 | #define ACPI_DMT_FLAG2 2 | |
80 | #define ACPI_DMT_FLAG3 3 | |
81 | #define ACPI_DMT_FLAG4 4 | |
82 | #define ACPI_DMT_FLAG5 5 | |
83 | #define ACPI_DMT_FLAG6 6 | |
84 | #define ACPI_DMT_FLAG7 7 | |
85 | #define ACPI_DMT_FLAGS0 8 | |
86 | #define ACPI_DMT_FLAGS2 9 | |
87 | #define ACPI_DMT_UINT8 10 | |
88 | #define ACPI_DMT_UINT16 11 | |
89 | #define ACPI_DMT_UINT24 12 | |
90 | #define ACPI_DMT_UINT32 13 | |
91 | #define ACPI_DMT_UINT56 14 | |
92 | #define ACPI_DMT_UINT64 15 | |
93 | #define ACPI_DMT_STRING 16 | |
94 | #define ACPI_DMT_NAME4 17 | |
95 | #define ACPI_DMT_NAME6 18 | |
96 | #define ACPI_DMT_NAME8 19 | |
97 | #define ACPI_DMT_CHKSUM 20 | |
98 | #define ACPI_DMT_SPACEID 21 | |
99 | #define ACPI_DMT_GAS 22 | |
a6f4a451 BM |
100 | #define ACPI_DMT_ASF 23 |
101 | #define ACPI_DMT_DMAR 24 | |
3fa34777 BM |
102 | #define ACPI_DMT_HEST 25 |
103 | #define ACPI_DMT_HESTNTFY 26 | |
104 | #define ACPI_DMT_HESTNTYP 27 | |
105 | #define ACPI_DMT_MADT 28 | |
106 | #define ACPI_DMT_SRAT 29 | |
107 | #define ACPI_DMT_EXIT 30 | |
108 | #define ACPI_DMT_SIG 31 | |
793c2388 BM |
109 | |
110 | typedef | |
3e08e2d2 | 111 | void (*acpi_dmtable_handler) (struct acpi_table_header * table); |
793c2388 BM |
112 | |
113 | struct acpi_dmtable_data { | |
114 | char *signature; | |
115 | struct acpi_dmtable_info *table_info; | |
3e08e2d2 | 116 | acpi_dmtable_handler table_handler; |
14d64b5e | 117 | char *name; |
793c2388 | 118 | }; |
4be44fcd LB |
119 | |
120 | struct acpi_op_walk_info { | |
121 | u32 level; | |
958dd242 BM |
122 | u32 last_level; |
123 | u32 count; | |
4be44fcd | 124 | u32 bit_offset; |
52fc0b02 | 125 | u32 flags; |
4be44fcd | 126 | struct acpi_walk_state *walk_state; |
1da177e4 LT |
127 | }; |
128 | ||
129 | typedef | |
4be44fcd LB |
130 | acpi_status(*asl_walk_callback) (union acpi_parse_object * op, |
131 | u32 level, void *context); | |
1da177e4 | 132 | |
8313524a BM |
133 | struct acpi_resource_tag { |
134 | u32 bit_index; | |
135 | char *tag; | |
136 | }; | |
137 | ||
793c2388 BM |
138 | /* Strings used for decoding flags to ASL keywords */ |
139 | ||
b229cf92 BM |
140 | extern const char *acpi_gbl_word_decode[]; |
141 | extern const char *acpi_gbl_irq_decode[]; | |
142 | extern const char *acpi_gbl_lock_rule[]; | |
143 | extern const char *acpi_gbl_access_types[]; | |
144 | extern const char *acpi_gbl_update_rules[]; | |
145 | extern const char *acpi_gbl_match_ops[]; | |
793c2388 BM |
146 | |
147 | extern struct acpi_dmtable_info acpi_dm_table_info_asf0[]; | |
148 | extern struct acpi_dmtable_info acpi_dm_table_info_asf1[]; | |
cc2a472b | 149 | extern struct acpi_dmtable_info acpi_dm_table_info_asf1a[]; |
793c2388 | 150 | extern struct acpi_dmtable_info acpi_dm_table_info_asf2[]; |
cc2a472b | 151 | extern struct acpi_dmtable_info acpi_dm_table_info_asf2a[]; |
793c2388 BM |
152 | extern struct acpi_dmtable_info acpi_dm_table_info_asf3[]; |
153 | extern struct acpi_dmtable_info acpi_dm_table_info_asf4[]; | |
154 | extern struct acpi_dmtable_info acpi_dm_table_info_asf_hdr[]; | |
155 | extern struct acpi_dmtable_info acpi_dm_table_info_boot[]; | |
3fa34777 | 156 | extern struct acpi_dmtable_info acpi_dm_table_info_bert[]; |
793c2388 BM |
157 | extern struct acpi_dmtable_info acpi_dm_table_info_cpep[]; |
158 | extern struct acpi_dmtable_info acpi_dm_table_info_cpep0[]; | |
159 | extern struct acpi_dmtable_info acpi_dm_table_info_dbgp[]; | |
2502fffb BM |
160 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar[]; |
161 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar_hdr[]; | |
162 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar_scope[]; | |
163 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar0[]; | |
164 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar1[]; | |
75e5b5fb | 165 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar2[]; |
793c2388 | 166 | extern struct acpi_dmtable_info acpi_dm_table_info_ecdt[]; |
3fa34777 BM |
167 | extern struct acpi_dmtable_info acpi_dm_table_info_einj[]; |
168 | extern struct acpi_dmtable_info acpi_dm_table_info_einj0[]; | |
169 | extern struct acpi_dmtable_info acpi_dm_table_info_erst[]; | |
793c2388 BM |
170 | extern struct acpi_dmtable_info acpi_dm_table_info_facs[]; |
171 | extern struct acpi_dmtable_info acpi_dm_table_info_fadt1[]; | |
172 | extern struct acpi_dmtable_info acpi_dm_table_info_fadt2[]; | |
173 | extern struct acpi_dmtable_info acpi_dm_table_info_gas[]; | |
174 | extern struct acpi_dmtable_info acpi_dm_table_info_header[]; | |
3fa34777 BM |
175 | extern struct acpi_dmtable_info acpi_dm_table_info_hest[]; |
176 | extern struct acpi_dmtable_info acpi_dm_table_info_hest9[]; | |
177 | extern struct acpi_dmtable_info acpi_dm_table_info_hest_notify[]; | |
793c2388 BM |
178 | extern struct acpi_dmtable_info acpi_dm_table_info_hpet[]; |
179 | extern struct acpi_dmtable_info acpi_dm_table_info_madt[]; | |
180 | extern struct acpi_dmtable_info acpi_dm_table_info_madt0[]; | |
181 | extern struct acpi_dmtable_info acpi_dm_table_info_madt1[]; | |
182 | extern struct acpi_dmtable_info acpi_dm_table_info_madt2[]; | |
183 | extern struct acpi_dmtable_info acpi_dm_table_info_madt3[]; | |
184 | extern struct acpi_dmtable_info acpi_dm_table_info_madt4[]; | |
185 | extern struct acpi_dmtable_info acpi_dm_table_info_madt5[]; | |
186 | extern struct acpi_dmtable_info acpi_dm_table_info_madt6[]; | |
187 | extern struct acpi_dmtable_info acpi_dm_table_info_madt7[]; | |
188 | extern struct acpi_dmtable_info acpi_dm_table_info_madt8[]; | |
189 | extern struct acpi_dmtable_info acpi_dm_table_info_madt_hdr[]; | |
190 | extern struct acpi_dmtable_info acpi_dm_table_info_mcfg[]; | |
191 | extern struct acpi_dmtable_info acpi_dm_table_info_mcfg0[]; | |
192 | extern struct acpi_dmtable_info acpi_dm_table_info_rsdp1[]; | |
193 | extern struct acpi_dmtable_info acpi_dm_table_info_rsdp2[]; | |
194 | extern struct acpi_dmtable_info acpi_dm_table_info_sbst[]; | |
698c0a0c | 195 | extern struct acpi_dmtable_info acpi_dm_table_info_slic[]; |
793c2388 BM |
196 | extern struct acpi_dmtable_info acpi_dm_table_info_slit[]; |
197 | extern struct acpi_dmtable_info acpi_dm_table_info_spcr[]; | |
198 | extern struct acpi_dmtable_info acpi_dm_table_info_spmi[]; | |
199 | extern struct acpi_dmtable_info acpi_dm_table_info_srat[]; | |
200 | extern struct acpi_dmtable_info acpi_dm_table_info_srat0[]; | |
201 | extern struct acpi_dmtable_info acpi_dm_table_info_srat1[]; | |
202 | extern struct acpi_dmtable_info acpi_dm_table_info_tcpa[]; | |
203 | extern struct acpi_dmtable_info acpi_dm_table_info_wdrt[]; | |
204 | ||
205 | /* | |
206 | * dmtable | |
207 | */ | |
208 | void acpi_dm_dump_data_table(struct acpi_table_header *table); | |
209 | ||
a6f4a451 | 210 | acpi_status |
793c2388 BM |
211 | acpi_dm_dump_table(u32 table_length, |
212 | u32 table_offset, | |
213 | void *table, | |
214 | u32 sub_table_length, struct acpi_dmtable_info *info); | |
215 | ||
216 | void acpi_dm_line_header(u32 offset, u32 byte_length, char *name); | |
217 | ||
218 | void acpi_dm_line_header2(u32 offset, u32 byte_length, char *name, u32 value); | |
219 | ||
220 | /* | |
221 | * dmtbdump | |
222 | */ | |
223 | void acpi_dm_dump_asf(struct acpi_table_header *table); | |
224 | ||
225 | void acpi_dm_dump_cpep(struct acpi_table_header *table); | |
226 | ||
2502fffb BM |
227 | void acpi_dm_dump_dmar(struct acpi_table_header *table); |
228 | ||
3fa34777 BM |
229 | void acpi_dm_dump_einj(struct acpi_table_header *table); |
230 | ||
231 | void acpi_dm_dump_erst(struct acpi_table_header *table); | |
232 | ||
793c2388 BM |
233 | void acpi_dm_dump_fadt(struct acpi_table_header *table); |
234 | ||
3fa34777 | 235 | void acpi_dm_dump_hest(struct acpi_table_header *table); |
793c2388 BM |
236 | |
237 | void acpi_dm_dump_mcfg(struct acpi_table_header *table); | |
238 | ||
239 | void acpi_dm_dump_madt(struct acpi_table_header *table); | |
240 | ||
241 | u32 acpi_dm_dump_rsdp(struct acpi_table_header *table); | |
242 | ||
243 | void acpi_dm_dump_rsdt(struct acpi_table_header *table); | |
244 | ||
245 | void acpi_dm_dump_slit(struct acpi_table_header *table); | |
246 | ||
3fa34777 BM |
247 | void acpi_dm_dump_srat(struct acpi_table_header *table); |
248 | ||
793c2388 BM |
249 | void acpi_dm_dump_xsdt(struct acpi_table_header *table); |
250 | ||
1da177e4 LT |
251 | /* |
252 | * dmwalk | |
253 | */ | |
1da177e4 | 254 | void |
4be44fcd LB |
255 | acpi_dm_disassemble(struct acpi_walk_state *walk_state, |
256 | union acpi_parse_object *origin, u32 num_opcodes); | |
1da177e4 | 257 | |
8313524a BM |
258 | void |
259 | acpi_dm_walk_parse_tree(union acpi_parse_object *op, | |
260 | asl_walk_callback descending_callback, | |
261 | asl_walk_callback ascending_callback, void *context); | |
262 | ||
44f6c012 RM |
263 | /* |
264 | * dmopcode | |
265 | */ | |
1da177e4 | 266 | void |
4be44fcd LB |
267 | acpi_dm_disassemble_one_op(struct acpi_walk_state *walk_state, |
268 | struct acpi_op_walk_info *info, | |
269 | union acpi_parse_object *op); | |
1da177e4 | 270 | |
4be44fcd | 271 | void acpi_dm_decode_internal_object(union acpi_operand_object *obj_desc); |
1da177e4 | 272 | |
4be44fcd | 273 | u32 acpi_dm_list_type(union acpi_parse_object *op); |
1da177e4 | 274 | |
4be44fcd | 275 | void acpi_dm_method_flags(union acpi_parse_object *op); |
1da177e4 | 276 | |
4be44fcd | 277 | void acpi_dm_field_flags(union acpi_parse_object *op); |
1da177e4 | 278 | |
4be44fcd | 279 | void acpi_dm_address_space(u8 space_id); |
1da177e4 | 280 | |
4be44fcd | 281 | void acpi_dm_region_flags(union acpi_parse_object *op); |
1da177e4 | 282 | |
4be44fcd | 283 | void acpi_dm_match_op(union acpi_parse_object *op); |
1da177e4 | 284 | |
4be44fcd | 285 | u8 acpi_dm_comma_if_list_member(union acpi_parse_object *op); |
1da177e4 | 286 | |
4be44fcd | 287 | void acpi_dm_comma_if_field_member(union acpi_parse_object *op); |
1da177e4 LT |
288 | |
289 | /* | |
44f6c012 | 290 | * dmnames |
1da177e4 | 291 | */ |
4be44fcd | 292 | u32 acpi_dm_dump_name(char *name); |
44f6c012 RM |
293 | |
294 | acpi_status | |
4be44fcd LB |
295 | acpi_ps_display_object_pathname(struct acpi_walk_state *walk_state, |
296 | union acpi_parse_object *op); | |
44f6c012 | 297 | |
4be44fcd | 298 | void acpi_dm_namestring(char *name); |
1da177e4 | 299 | |
44f6c012 RM |
300 | /* |
301 | * dmobject | |
302 | */ | |
1da177e4 | 303 | void |
4be44fcd LB |
304 | acpi_dm_display_internal_object(union acpi_operand_object *obj_desc, |
305 | struct acpi_walk_state *walk_state); | |
1da177e4 | 306 | |
4be44fcd | 307 | void acpi_dm_display_arguments(struct acpi_walk_state *walk_state); |
1da177e4 | 308 | |
4be44fcd | 309 | void acpi_dm_display_locals(struct acpi_walk_state *walk_state); |
1da177e4 LT |
310 | |
311 | void | |
4be44fcd LB |
312 | acpi_dm_dump_method_info(acpi_status status, |
313 | struct acpi_walk_state *walk_state, | |
314 | union acpi_parse_object *op); | |
1da177e4 LT |
315 | |
316 | /* | |
317 | * dmbuffer | |
318 | */ | |
4be44fcd | 319 | void acpi_dm_disasm_byte_list(u32 level, u8 * byte_data, u32 byte_count); |
44f6c012 RM |
320 | |
321 | void | |
4be44fcd | 322 | acpi_dm_byte_list(struct acpi_op_walk_info *info, union acpi_parse_object *op); |
1da177e4 | 323 | |
4be44fcd | 324 | void acpi_dm_is_eisa_id(union acpi_parse_object *op); |
1da177e4 | 325 | |
4be44fcd | 326 | void acpi_dm_eisa_id(u32 encoded_id); |
1da177e4 | 327 | |
4be44fcd | 328 | u8 acpi_dm_is_unicode_buffer(union acpi_parse_object *op); |
1da177e4 | 329 | |
4be44fcd | 330 | u8 acpi_dm_is_string_buffer(union acpi_parse_object *op); |
1da177e4 LT |
331 | |
332 | /* | |
333 | * dmresrc | |
334 | */ | |
0897831b BM |
335 | void acpi_dm_dump_integer8(u8 value, char *name); |
336 | ||
337 | void acpi_dm_dump_integer16(u16 value, char *name); | |
338 | ||
339 | void acpi_dm_dump_integer32(u32 value, char *name); | |
340 | ||
341 | void acpi_dm_dump_integer64(u64 value, char *name); | |
342 | ||
1da177e4 | 343 | void |
0897831b | 344 | acpi_dm_resource_template(struct acpi_op_walk_info *info, |
8313524a | 345 | union acpi_parse_object *op, |
0897831b | 346 | u8 * byte_data, u32 byte_count); |
1da177e4 | 347 | |
cc2a472b | 348 | acpi_status acpi_dm_is_resource_template(union acpi_parse_object *op); |
1da177e4 | 349 | |
4be44fcd | 350 | void acpi_dm_indent(u32 level); |
1da177e4 | 351 | |
4be44fcd | 352 | void acpi_dm_bit_list(u16 mask); |
1da177e4 | 353 | |
4be44fcd | 354 | void acpi_dm_decode_attribute(u8 attribute); |
44f6c012 | 355 | |
8313524a BM |
356 | void acpi_dm_descriptor_name(void); |
357 | ||
1da177e4 LT |
358 | /* |
359 | * dmresrcl | |
360 | */ | |
1da177e4 | 361 | void |
50eca3eb | 362 | acpi_dm_word_descriptor(union aml_resource *resource, u32 length, u32 level); |
1da177e4 LT |
363 | |
364 | void | |
50eca3eb | 365 | acpi_dm_dword_descriptor(union aml_resource *resource, u32 length, u32 level); |
1da177e4 LT |
366 | |
367 | void | |
50eca3eb | 368 | acpi_dm_extended_descriptor(union aml_resource *resource, |
4be44fcd | 369 | u32 length, u32 level); |
1da177e4 LT |
370 | |
371 | void | |
50eca3eb | 372 | acpi_dm_qword_descriptor(union aml_resource *resource, u32 length, u32 level); |
1da177e4 LT |
373 | |
374 | void | |
50eca3eb | 375 | acpi_dm_memory24_descriptor(union aml_resource *resource, |
4be44fcd | 376 | u32 length, u32 level); |
1da177e4 LT |
377 | |
378 | void | |
50eca3eb | 379 | acpi_dm_memory32_descriptor(union aml_resource *resource, |
4be44fcd | 380 | u32 length, u32 level); |
1da177e4 LT |
381 | |
382 | void | |
50eca3eb | 383 | acpi_dm_fixed_memory32_descriptor(union aml_resource *resource, |
bda663d3 | 384 | u32 length, u32 level); |
1da177e4 LT |
385 | |
386 | void | |
50eca3eb | 387 | acpi_dm_generic_register_descriptor(union aml_resource *resource, |
4be44fcd | 388 | u32 length, u32 level); |
1da177e4 LT |
389 | |
390 | void | |
50eca3eb | 391 | acpi_dm_interrupt_descriptor(union aml_resource *resource, |
4be44fcd | 392 | u32 length, u32 level); |
1da177e4 LT |
393 | |
394 | void | |
50eca3eb | 395 | acpi_dm_vendor_large_descriptor(union aml_resource *resource, |
4be44fcd | 396 | u32 length, u32 level); |
1da177e4 | 397 | |
0897831b BM |
398 | void acpi_dm_vendor_common(char *name, u8 * byte_data, u32 length, u32 level); |
399 | ||
1da177e4 LT |
400 | /* |
401 | * dmresrcs | |
402 | */ | |
1da177e4 | 403 | void |
50eca3eb | 404 | acpi_dm_irq_descriptor(union aml_resource *resource, u32 length, u32 level); |
1da177e4 LT |
405 | |
406 | void | |
50eca3eb | 407 | acpi_dm_dma_descriptor(union aml_resource *resource, u32 length, u32 level); |
1da177e4 | 408 | |
50eca3eb | 409 | void acpi_dm_io_descriptor(union aml_resource *resource, u32 length, u32 level); |
1da177e4 LT |
410 | |
411 | void | |
50eca3eb | 412 | acpi_dm_fixed_io_descriptor(union aml_resource *resource, |
4be44fcd | 413 | u32 length, u32 level); |
1da177e4 LT |
414 | |
415 | void | |
50eca3eb | 416 | acpi_dm_start_dependent_descriptor(union aml_resource *resource, |
4be44fcd | 417 | u32 length, u32 level); |
1da177e4 LT |
418 | |
419 | void | |
50eca3eb | 420 | acpi_dm_end_dependent_descriptor(union aml_resource *resource, |
4be44fcd | 421 | u32 length, u32 level); |
1da177e4 LT |
422 | |
423 | void | |
50eca3eb | 424 | acpi_dm_vendor_small_descriptor(union aml_resource *resource, |
4be44fcd | 425 | u32 length, u32 level); |
1da177e4 LT |
426 | |
427 | /* | |
428 | * dmutils | |
429 | */ | |
958dd242 | 430 | void acpi_dm_add_to_external_list(char *path, u8 type, u32 value); |
1da177e4 | 431 | |
8313524a BM |
432 | /* |
433 | * dmrestag | |
434 | */ | |
435 | void acpi_dm_find_resources(union acpi_parse_object *root); | |
436 | ||
437 | void | |
438 | acpi_dm_check_resource_reference(union acpi_parse_object *op, | |
439 | struct acpi_walk_state *walk_state); | |
440 | ||
4be44fcd | 441 | #endif /* __ACDISASM_H__ */ |