aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acdisasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/acdisasm.h')
-rw-r--r--include/acpi/acdisasm.h23
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
54struct acpi_external_list { 55struct acpi_external_list {
55 char *path; 56 char *path;
@@ -78,6 +79,11 @@ typedef
78acpi_status(*asl_walk_callback) (union acpi_parse_object * op, 79acpi_status(*asl_walk_callback) (union acpi_parse_object * op,
79 u32 level, void *context); 80 u32 level, void *context);
80 81
82struct 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
85acpi_dm_disassemble(struct acpi_walk_state *walk_state, 91acpi_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
94void
95acpi_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
168void 179void
169acpi_dm_resource_template(struct acpi_op_walk_info *info, 180acpi_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
172u8 acpi_dm_is_resource_template(union acpi_parse_object *op); 184u8 acpi_dm_is_resource_template(union acpi_parse_object *op);
@@ -177,6 +189,8 @@ void acpi_dm_bit_list(u16 mask);
177 189
178void acpi_dm_decode_attribute(u8 attribute); 190void acpi_dm_decode_attribute(u8 attribute);
179 191
192void 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 */
252void acpi_dm_add_to_external_list(char *path); 266void acpi_dm_add_to_external_list(char *path);
253 267
268/*
269 * dmrestag
270 */
271void acpi_dm_find_resources(union acpi_parse_object *root);
272
273void
274acpi_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__ */