diff options
Diffstat (limited to 'include/acpi/acdisasm.h')
-rw-r--r-- | include/acpi/acdisasm.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/acpi/acdisasm.h b/include/acpi/acdisasm.h index 0727c132bd3c..f004461a7753 100644 --- a/include/acpi/acdisasm.h +++ b/include/acpi/acdisasm.h | |||
@@ -50,6 +50,7 @@ | |||
50 | #define BLOCK_PAREN 1 | 50 | #define BLOCK_PAREN 1 |
51 | #define BLOCK_BRACE 2 | 51 | #define BLOCK_BRACE 2 |
52 | #define BLOCK_COMMA_LIST 4 | 52 | #define BLOCK_COMMA_LIST 4 |
53 | #define ACPI_DEFAULT_RESNAME *(u32 *) "__RD" | ||
53 | 54 | ||
54 | struct acpi_external_list { | 55 | struct acpi_external_list { |
55 | char *path; | 56 | char *path; |
@@ -78,6 +79,11 @@ typedef | |||
78 | acpi_status(*asl_walk_callback) (union acpi_parse_object * op, | 79 | acpi_status(*asl_walk_callback) (union acpi_parse_object * op, |
79 | u32 level, void *context); | 80 | u32 level, void *context); |
80 | 81 | ||
82 | struct acpi_resource_tag { | ||
83 | u32 bit_index; | ||
84 | char *tag; | ||
85 | }; | ||
86 | |||
81 | /* | 87 | /* |
82 | * dmwalk | 88 | * dmwalk |
83 | */ | 89 | */ |
@@ -85,6 +91,11 @@ void | |||
85 | acpi_dm_disassemble(struct acpi_walk_state *walk_state, | 91 | acpi_dm_disassemble(struct acpi_walk_state *walk_state, |
86 | union acpi_parse_object *origin, u32 num_opcodes); | 92 | union acpi_parse_object *origin, u32 num_opcodes); |
87 | 93 | ||
94 | void | ||
95 | acpi_dm_walk_parse_tree(union acpi_parse_object *op, | ||
96 | asl_walk_callback descending_callback, | ||
97 | asl_walk_callback ascending_callback, void *context); | ||
98 | |||
88 | /* | 99 | /* |
89 | * dmopcode | 100 | * dmopcode |
90 | */ | 101 | */ |
@@ -167,6 +178,7 @@ void acpi_dm_dump_integer64(u64 value, char *name); | |||
167 | 178 | ||
168 | void | 179 | void |
169 | acpi_dm_resource_template(struct acpi_op_walk_info *info, | 180 | acpi_dm_resource_template(struct acpi_op_walk_info *info, |
181 | union acpi_parse_object *op, | ||
170 | u8 * byte_data, u32 byte_count); | 182 | u8 * byte_data, u32 byte_count); |
171 | 183 | ||
172 | u8 acpi_dm_is_resource_template(union acpi_parse_object *op); | 184 | u8 acpi_dm_is_resource_template(union acpi_parse_object *op); |
@@ -177,6 +189,8 @@ void acpi_dm_bit_list(u16 mask); | |||
177 | 189 | ||
178 | void acpi_dm_decode_attribute(u8 attribute); | 190 | void acpi_dm_decode_attribute(u8 attribute); |
179 | 191 | ||
192 | void acpi_dm_descriptor_name(void); | ||
193 | |||
180 | /* | 194 | /* |
181 | * dmresrcl | 195 | * dmresrcl |
182 | */ | 196 | */ |
@@ -251,4 +265,13 @@ acpi_dm_vendor_small_descriptor(union aml_resource *resource, | |||
251 | */ | 265 | */ |
252 | void acpi_dm_add_to_external_list(char *path); | 266 | void acpi_dm_add_to_external_list(char *path); |
253 | 267 | ||
268 | /* | ||
269 | * dmrestag | ||
270 | */ | ||
271 | void acpi_dm_find_resources(union acpi_parse_object *root); | ||
272 | |||
273 | void | ||
274 | acpi_dm_check_resource_reference(union acpi_parse_object *op, | ||
275 | struct acpi_walk_state *walk_state); | ||
276 | |||
254 | #endif /* __ACDISASM_H__ */ | 277 | #endif /* __ACDISASM_H__ */ |