diff options
author | Robert Moore <robert.moore@intel.com> | 2005-04-18 22:49:35 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-12 00:08:52 -0400 |
commit | 44f6c01242da4e162f28d8e1216a8c7a91174605 (patch) | |
tree | 53f724764f1bd9036dfb049a643d198125cc9edc /include/acpi/acdisasm.h | |
parent | ebb6e1a6122fd6b7c96470cfd4ce0f04150e5084 (diff) |
ACPICA 20050408 from Bob Moore
Fixed three cases in the interpreter where an "index"
argument to an ASL function was still (internally) 32
bits instead of the required 64 bits. This was the Index
argument to the Index, Mid, and Match operators.
The "strupr" function is now permanently local
(acpi_ut_strupr), since this is not a POSIX-defined
function and not present in most kernel-level C
libraries. References to the C library strupr function
have been removed from the headers.
Completed the deployment of static
functions/prototypes. All prototypes with the static
attribute have been moved from the headers to the owning
C file.
ACPICA 20050329 from Bob Moore
An error is now generated if an attempt is made to create
a Buffer Field of length zero (A CreateField with a length
operand of zero.)
The interpreter now issues a warning whenever executable
code at the module level is detected during ACPI table
load. This will give some idea of the prevalence of this
type of code.
Implemented support for references to named objects (other
than control methods) within package objects.
Enhanced package object output for the debug
object. Package objects are now completely dumped, showing
all elements.
Enhanced miscellaneous object output for the debug
object. Any object can now be written to the debug object
(for example, a device object can be written, and the type
of the object will be displayed.)
The "static" qualifier has been added to all local
functions across the core subsystem.
The number of "long" lines (> 80 chars) within the source
has been significantly reduced, by about 1/3.
Cleaned up all header files to ensure that all CA/iASL
functions are prototyped (even static functions) and the
formatting is consistent.
Two new header files have been added, acopcode.h and
acnames.h.
Removed several obsolete functions that were no longer
used.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acdisasm.h')
-rw-r--r-- | include/acpi/acdisasm.h | 114 |
1 files changed, 29 insertions, 85 deletions
diff --git a/include/acpi/acdisasm.h b/include/acpi/acdisasm.h index 26d907eae6fe..dbfa877121ba 100644 --- a/include/acpi/acdisasm.h +++ b/include/acpi/acdisasm.h | |||
@@ -102,58 +102,16 @@ acpi_status (*asl_walk_callback) ( | |||
102 | /* | 102 | /* |
103 | * dmwalk | 103 | * dmwalk |
104 | */ | 104 | */ |
105 | |||
106 | void | ||
107 | acpi_dm_walk_parse_tree ( | ||
108 | union acpi_parse_object *op, | ||
109 | asl_walk_callback descending_callback, | ||
110 | asl_walk_callback ascending_callback, | ||
111 | void *context); | ||
112 | |||
113 | acpi_status | ||
114 | acpi_dm_descending_op ( | ||
115 | union acpi_parse_object *op, | ||
116 | u32 level, | ||
117 | void *context); | ||
118 | |||
119 | acpi_status | ||
120 | acpi_dm_ascending_op ( | ||
121 | union acpi_parse_object *op, | ||
122 | u32 level, | ||
123 | void *context); | ||
124 | |||
125 | |||
126 | /* | ||
127 | * dmopcode | ||
128 | */ | ||
129 | |||
130 | void | ||
131 | acpi_dm_validate_name ( | ||
132 | char *name, | ||
133 | union acpi_parse_object *op); | ||
134 | |||
135 | u32 | ||
136 | acpi_dm_dump_name ( | ||
137 | char *name); | ||
138 | |||
139 | void | ||
140 | acpi_dm_unicode ( | ||
141 | union acpi_parse_object *op); | ||
142 | |||
143 | void | 105 | void |
144 | acpi_dm_disassemble ( | 106 | acpi_dm_disassemble ( |
145 | struct acpi_walk_state *walk_state, | 107 | struct acpi_walk_state *walk_state, |
146 | union acpi_parse_object *origin, | 108 | union acpi_parse_object *origin, |
147 | u32 num_opcodes); | 109 | u32 num_opcodes); |
148 | 110 | ||
149 | void | ||
150 | acpi_dm_namestring ( | ||
151 | char *name); | ||
152 | |||
153 | void | ||
154 | acpi_dm_display_path ( | ||
155 | union acpi_parse_object *op); | ||
156 | 111 | ||
112 | /* | ||
113 | * dmopcode | ||
114 | */ | ||
157 | void | 115 | void |
158 | acpi_dm_disassemble_one_op ( | 116 | acpi_dm_disassemble_one_op ( |
159 | struct acpi_walk_state *walk_state, | 117 | struct acpi_walk_state *walk_state, |
@@ -165,18 +123,9 @@ acpi_dm_decode_internal_object ( | |||
165 | union acpi_operand_object *obj_desc); | 123 | union acpi_operand_object *obj_desc); |
166 | 124 | ||
167 | u32 | 125 | u32 |
168 | acpi_dm_block_type ( | ||
169 | union acpi_parse_object *op); | ||
170 | |||
171 | u32 | ||
172 | acpi_dm_list_type ( | 126 | acpi_dm_list_type ( |
173 | union acpi_parse_object *op); | 127 | union acpi_parse_object *op); |
174 | 128 | ||
175 | acpi_status | ||
176 | acpi_ps_display_object_pathname ( | ||
177 | struct acpi_walk_state *walk_state, | ||
178 | union acpi_parse_object *op); | ||
179 | |||
180 | void | 129 | void |
181 | acpi_dm_method_flags ( | 130 | acpi_dm_method_flags ( |
182 | union acpi_parse_object *op); | 131 | union acpi_parse_object *op); |
@@ -197,10 +146,6 @@ void | |||
197 | acpi_dm_match_op ( | 146 | acpi_dm_match_op ( |
198 | union acpi_parse_object *op); | 147 | union acpi_parse_object *op); |
199 | 148 | ||
200 | void | ||
201 | acpi_dm_match_keyword ( | ||
202 | union acpi_parse_object *op); | ||
203 | |||
204 | u8 | 149 | u8 |
205 | acpi_dm_comma_if_list_member ( | 150 | acpi_dm_comma_if_list_member ( |
206 | union acpi_parse_object *op); | 151 | union acpi_parse_object *op); |
@@ -211,13 +156,25 @@ acpi_dm_comma_if_field_member ( | |||
211 | 156 | ||
212 | 157 | ||
213 | /* | 158 | /* |
214 | * dmobject | 159 | * dmnames |
215 | */ | 160 | */ |
161 | u32 | ||
162 | acpi_dm_dump_name ( | ||
163 | char *name); | ||
164 | |||
165 | acpi_status | ||
166 | acpi_ps_display_object_pathname ( | ||
167 | struct acpi_walk_state *walk_state, | ||
168 | union acpi_parse_object *op); | ||
216 | 169 | ||
217 | void | 170 | void |
218 | acpi_dm_decode_node ( | 171 | acpi_dm_namestring ( |
219 | struct acpi_namespace_node *node); | 172 | char *name); |
173 | |||
220 | 174 | ||
175 | /* | ||
176 | * dmobject | ||
177 | */ | ||
221 | void | 178 | void |
222 | acpi_dm_display_internal_object ( | 179 | acpi_dm_display_internal_object ( |
223 | union acpi_operand_object *obj_desc, | 180 | union acpi_operand_object *obj_desc, |
@@ -241,6 +198,16 @@ acpi_dm_dump_method_info ( | |||
241 | /* | 198 | /* |
242 | * dmbuffer | 199 | * dmbuffer |
243 | */ | 200 | */ |
201 | void | ||
202 | acpi_dm_disasm_byte_list ( | ||
203 | u32 level, | ||
204 | u8 *byte_data, | ||
205 | u32 byte_count); | ||
206 | |||
207 | void | ||
208 | acpi_dm_byte_list ( | ||
209 | struct acpi_op_walk_info *info, | ||
210 | union acpi_parse_object *op); | ||
244 | 211 | ||
245 | void | 212 | void |
246 | acpi_is_eisa_id ( | 213 | acpi_is_eisa_id ( |
@@ -262,18 +229,6 @@ acpi_dm_is_string_buffer ( | |||
262 | /* | 229 | /* |
263 | * dmresrc | 230 | * dmresrc |
264 | */ | 231 | */ |
265 | |||
266 | void | ||
267 | acpi_dm_disasm_byte_list ( | ||
268 | u32 level, | ||
269 | u8 *byte_data, | ||
270 | u32 byte_count); | ||
271 | |||
272 | void | ||
273 | acpi_dm_byte_list ( | ||
274 | struct acpi_op_walk_info *info, | ||
275 | union acpi_parse_object *op); | ||
276 | |||
277 | void | 232 | void |
278 | acpi_dm_resource_descriptor ( | 233 | acpi_dm_resource_descriptor ( |
279 | struct acpi_op_walk_info *info, | 234 | struct acpi_op_walk_info *info, |
@@ -296,19 +251,10 @@ void | |||
296 | acpi_dm_decode_attribute ( | 251 | acpi_dm_decode_attribute ( |
297 | u8 attribute); | 252 | u8 attribute); |
298 | 253 | ||
254 | |||
299 | /* | 255 | /* |
300 | * dmresrcl | 256 | * dmresrcl |
301 | */ | 257 | */ |
302 | |||
303 | void | ||
304 | acpi_dm_io_flags ( | ||
305 | u8 flags); | ||
306 | |||
307 | void | ||
308 | acpi_dm_memory_flags ( | ||
309 | u8 flags, | ||
310 | u8 specific_flags); | ||
311 | |||
312 | void | 258 | void |
313 | acpi_dm_word_descriptor ( | 259 | acpi_dm_word_descriptor ( |
314 | struct asl_word_address_desc *resource, | 260 | struct asl_word_address_desc *resource, |
@@ -373,7 +319,6 @@ acpi_dm_vendor_large_descriptor ( | |||
373 | /* | 319 | /* |
374 | * dmresrcs | 320 | * dmresrcs |
375 | */ | 321 | */ |
376 | |||
377 | void | 322 | void |
378 | acpi_dm_irq_descriptor ( | 323 | acpi_dm_irq_descriptor ( |
379 | struct asl_irq_format_desc *resource, | 324 | struct asl_irq_format_desc *resource, |
@@ -420,7 +365,6 @@ acpi_dm_vendor_small_descriptor ( | |||
420 | /* | 365 | /* |
421 | * dmutils | 366 | * dmutils |
422 | */ | 367 | */ |
423 | |||
424 | void | 368 | void |
425 | acpi_dm_add_to_external_list ( | 369 | acpi_dm_add_to_external_list ( |
426 | char *path); | 370 | char *path); |