diff options
author | Len Brown <len.brown@intel.com> | 2005-07-12 17:21:56 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-12 17:21:56 -0400 |
commit | 5028770a42e7bc4d15791a44c28f0ad539323807 (patch) | |
tree | 74800e35129775413c13ce7caf036ca19e3ce56c /include/acpi/acdebug.h | |
parent | 9f02d6b7b43d46a74dd385f06090104ecd0fb807 (diff) | |
parent | d8683a0cb5d09cb7f19feefa708424a84577e68f (diff) |
[ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc...
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acdebug.h')
-rw-r--r-- | include/acpi/acdebug.h | 146 |
1 files changed, 8 insertions, 138 deletions
diff --git a/include/acpi/acdebug.h b/include/acpi/acdebug.h index 223b2a506e49..8ba372b0f245 100644 --- a/include/acpi/acdebug.h +++ b/include/acpi/acdebug.h | |||
@@ -61,9 +61,7 @@ struct argument_info | |||
61 | 61 | ||
62 | 62 | ||
63 | #define PARAM_LIST(pl) pl | 63 | #define PARAM_LIST(pl) pl |
64 | |||
65 | #define DBTEST_OUTPUT_LEVEL(lvl) if (acpi_gbl_db_opt_verbose) | 64 | #define DBTEST_OUTPUT_LEVEL(lvl) if (acpi_gbl_db_opt_verbose) |
66 | |||
67 | #define VERBOSE_PRINT(fp) DBTEST_OUTPUT_LEVEL(lvl) {\ | 65 | #define VERBOSE_PRINT(fp) DBTEST_OUTPUT_LEVEL(lvl) {\ |
68 | acpi_os_printf PARAM_LIST(fp);} | 66 | acpi_os_printf PARAM_LIST(fp);} |
69 | 67 | ||
@@ -71,13 +69,9 @@ struct argument_info | |||
71 | #define EX_SINGLE_STEP 2 | 69 | #define EX_SINGLE_STEP 2 |
72 | 70 | ||
73 | 71 | ||
74 | /* Prototypes */ | ||
75 | |||
76 | |||
77 | /* | 72 | /* |
78 | * dbxface - external debugger interfaces | 73 | * dbxface - external debugger interfaces |
79 | */ | 74 | */ |
80 | |||
81 | acpi_status | 75 | acpi_status |
82 | acpi_db_initialize ( | 76 | acpi_db_initialize ( |
83 | void); | 77 | void); |
@@ -92,20 +86,10 @@ acpi_db_single_step ( | |||
92 | union acpi_parse_object *op, | 86 | union acpi_parse_object *op, |
93 | u32 op_type); | 87 | u32 op_type); |
94 | 88 | ||
95 | acpi_status | ||
96 | acpi_db_start_command ( | ||
97 | struct acpi_walk_state *walk_state, | ||
98 | union acpi_parse_object *op); | ||
99 | |||
100 | void | ||
101 | acpi_db_method_end ( | ||
102 | struct acpi_walk_state *walk_state); | ||
103 | |||
104 | 89 | ||
105 | /* | 90 | /* |
106 | * dbcmds - debug commands and output routines | 91 | * dbcmds - debug commands and output routines |
107 | */ | 92 | */ |
108 | |||
109 | acpi_status | 93 | acpi_status |
110 | acpi_db_disassemble_method ( | 94 | acpi_db_disassemble_method ( |
111 | char *name); | 95 | char *name); |
@@ -177,57 +161,30 @@ acpi_db_find_references ( | |||
177 | char *object_arg); | 161 | char *object_arg); |
178 | 162 | ||
179 | void | 163 | void |
180 | acpi_db_display_locks (void); | 164 | acpi_db_display_locks ( |
181 | 165 | void); | |
182 | 166 | ||
183 | void | 167 | void |
184 | acpi_db_display_resources ( | 168 | acpi_db_display_resources ( |
185 | char *object_arg); | 169 | char *object_arg); |
186 | 170 | ||
187 | void | 171 | void |
188 | acpi_db_display_gpes (void); | 172 | acpi_db_display_gpes ( |
173 | void); | ||
189 | 174 | ||
190 | void | 175 | void |
191 | acpi_db_check_integrity ( | 176 | acpi_db_check_integrity ( |
192 | void); | 177 | void); |
193 | 178 | ||
194 | acpi_status | ||
195 | acpi_db_integrity_walk ( | ||
196 | acpi_handle obj_handle, | ||
197 | u32 nesting_level, | ||
198 | void *context, | ||
199 | void **return_value); | ||
200 | |||
201 | acpi_status | ||
202 | acpi_db_walk_and_match_name ( | ||
203 | acpi_handle obj_handle, | ||
204 | u32 nesting_level, | ||
205 | void *context, | ||
206 | void **return_value); | ||
207 | |||
208 | acpi_status | ||
209 | acpi_db_walk_for_references ( | ||
210 | acpi_handle obj_handle, | ||
211 | u32 nesting_level, | ||
212 | void *context, | ||
213 | void **return_value); | ||
214 | |||
215 | acpi_status | ||
216 | acpi_db_walk_for_specific_objects ( | ||
217 | acpi_handle obj_handle, | ||
218 | u32 nesting_level, | ||
219 | void *context, | ||
220 | void **return_value); | ||
221 | |||
222 | void | 179 | void |
223 | acpi_db_generate_gpe ( | 180 | acpi_db_generate_gpe ( |
224 | char *gpe_arg, | 181 | char *gpe_arg, |
225 | char *block_arg); | 182 | char *block_arg); |
226 | 183 | ||
184 | |||
227 | /* | 185 | /* |
228 | * dbdisply - debug display commands | 186 | * dbdisply - debug display commands |
229 | */ | 187 | */ |
230 | |||
231 | void | 188 | void |
232 | acpi_db_display_method_info ( | 189 | acpi_db_display_method_info ( |
233 | union acpi_parse_object *op); | 190 | union acpi_parse_object *op); |
@@ -271,19 +228,10 @@ acpi_db_display_argument_object ( | |||
271 | union acpi_operand_object *obj_desc, | 228 | union acpi_operand_object *obj_desc, |
272 | struct acpi_walk_state *walk_state); | 229 | struct acpi_walk_state *walk_state); |
273 | 230 | ||
274 | void | ||
275 | acpi_db_dump_parser_descriptor ( | ||
276 | union acpi_parse_object *op); | ||
277 | |||
278 | void * | ||
279 | acpi_db_get_pointer ( | ||
280 | void *target); | ||
281 | |||
282 | 231 | ||
283 | /* | 232 | /* |
284 | * dbexec - debugger control method execution | 233 | * dbexec - debugger control method execution |
285 | */ | 234 | */ |
286 | |||
287 | void | 235 | void |
288 | acpi_db_execute ( | 236 | acpi_db_execute ( |
289 | char *name, | 237 | char *name, |
@@ -296,44 +244,15 @@ acpi_db_create_execution_threads ( | |||
296 | char *num_loops_arg, | 244 | char *num_loops_arg, |
297 | char *method_name_arg); | 245 | char *method_name_arg); |
298 | 246 | ||
299 | acpi_status | ||
300 | acpi_db_execute_method ( | ||
301 | struct acpi_db_method_info *info, | ||
302 | struct acpi_buffer *return_obj); | ||
303 | |||
304 | void | ||
305 | acpi_db_execute_setup ( | ||
306 | struct acpi_db_method_info *info); | ||
307 | |||
308 | u32 | ||
309 | acpi_db_get_outstanding_allocations ( | ||
310 | void); | ||
311 | |||
312 | void ACPI_SYSTEM_XFACE | ||
313 | acpi_db_method_thread ( | ||
314 | void *context); | ||
315 | |||
316 | acpi_status | ||
317 | acpi_db_execution_walk ( | ||
318 | acpi_handle obj_handle, | ||
319 | u32 nesting_level, | ||
320 | void *context, | ||
321 | void **return_value); | ||
322 | |||
323 | 247 | ||
324 | /* | 248 | /* |
325 | * dbfileio - Debugger file I/O commands | 249 | * dbfileio - Debugger file I/O commands |
326 | */ | 250 | */ |
327 | |||
328 | acpi_object_type | 251 | acpi_object_type |
329 | acpi_db_match_argument ( | 252 | acpi_db_match_argument ( |
330 | char *user_argument, | 253 | char *user_argument, |
331 | struct argument_info *arguments); | 254 | struct argument_info *arguments); |
332 | 255 | ||
333 | acpi_status | ||
334 | ae_local_load_table ( | ||
335 | struct acpi_table_header *table_ptr); | ||
336 | |||
337 | void | 256 | void |
338 | acpi_db_close_debug_file ( | 257 | acpi_db_close_debug_file ( |
339 | void); | 258 | void); |
@@ -356,16 +275,17 @@ acpi_db_read_table_from_file ( | |||
356 | char *filename, | 275 | char *filename, |
357 | struct acpi_table_header **table); | 276 | struct acpi_table_header **table); |
358 | 277 | ||
278 | |||
359 | /* | 279 | /* |
360 | * dbhistry - debugger HISTORY command | 280 | * dbhistry - debugger HISTORY command |
361 | */ | 281 | */ |
362 | |||
363 | void | 282 | void |
364 | acpi_db_add_to_history ( | 283 | acpi_db_add_to_history ( |
365 | char *command_line); | 284 | char *command_line); |
366 | 285 | ||
367 | void | 286 | void |
368 | acpi_db_display_history (void); | 287 | acpi_db_display_history ( |
288 | void); | ||
369 | 289 | ||
370 | char * | 290 | char * |
371 | acpi_db_get_from_history ( | 291 | acpi_db_get_from_history ( |
@@ -375,7 +295,6 @@ acpi_db_get_from_history ( | |||
375 | /* | 295 | /* |
376 | * dbinput - user front-end to the AML debugger | 296 | * dbinput - user front-end to the AML debugger |
377 | */ | 297 | */ |
378 | |||
379 | acpi_status | 298 | acpi_status |
380 | acpi_db_command_dispatch ( | 299 | acpi_db_command_dispatch ( |
381 | char *input_buffer, | 300 | char *input_buffer, |
@@ -386,71 +305,28 @@ void ACPI_SYSTEM_XFACE | |||
386 | acpi_db_execute_thread ( | 305 | acpi_db_execute_thread ( |
387 | void *context); | 306 | void *context); |
388 | 307 | ||
389 | void | ||
390 | acpi_db_display_help ( | ||
391 | char *help_type); | ||
392 | |||
393 | char * | ||
394 | acpi_db_get_next_token ( | ||
395 | char *string, | ||
396 | char **next); | ||
397 | |||
398 | u32 | ||
399 | acpi_db_get_line ( | ||
400 | char *input_buffer); | ||
401 | |||
402 | u32 | ||
403 | acpi_db_match_command ( | ||
404 | char *user_command); | ||
405 | |||
406 | void | ||
407 | acpi_db_single_thread ( | ||
408 | void); | ||
409 | |||
410 | 308 | ||
411 | /* | 309 | /* |
412 | * dbstats - Generation and display of ACPI table statistics | 310 | * dbstats - Generation and display of ACPI table statistics |
413 | */ | 311 | */ |
414 | |||
415 | void | 312 | void |
416 | acpi_db_generate_statistics ( | 313 | acpi_db_generate_statistics ( |
417 | union acpi_parse_object *root, | 314 | union acpi_parse_object *root, |
418 | u8 is_method); | 315 | u8 is_method); |
419 | 316 | ||
420 | |||
421 | acpi_status | 317 | acpi_status |
422 | acpi_db_display_statistics ( | 318 | acpi_db_display_statistics ( |
423 | char *type_arg); | 319 | char *type_arg); |
424 | 320 | ||
425 | acpi_status | ||
426 | acpi_db_classify_one_object ( | ||
427 | acpi_handle obj_handle, | ||
428 | u32 nesting_level, | ||
429 | void *context, | ||
430 | void **return_value); | ||
431 | |||
432 | void | ||
433 | acpi_db_count_namespace_objects ( | ||
434 | void); | ||
435 | |||
436 | void | ||
437 | acpi_db_enumerate_object ( | ||
438 | union acpi_operand_object *obj_desc); | ||
439 | |||
440 | 321 | ||
441 | /* | 322 | /* |
442 | * dbutils - AML debugger utilities | 323 | * dbutils - AML debugger utilities |
443 | */ | 324 | */ |
444 | |||
445 | void | 325 | void |
446 | acpi_db_set_output_destination ( | 326 | acpi_db_set_output_destination ( |
447 | u32 where); | 327 | u32 where); |
448 | 328 | ||
449 | void | 329 | void |
450 | acpi_db_dump_buffer ( | ||
451 | u32 address); | ||
452 | |||
453 | void | ||
454 | acpi_db_dump_object ( | 330 | acpi_db_dump_object ( |
455 | union acpi_object *obj_desc, | 331 | union acpi_object *obj_desc, |
456 | u32 level); | 332 | u32 level); |
@@ -459,14 +335,8 @@ void | |||
459 | acpi_db_prep_namestring ( | 335 | acpi_db_prep_namestring ( |
460 | char *name); | 336 | char *name); |
461 | 337 | ||
462 | |||
463 | acpi_status | ||
464 | acpi_db_second_pass_parse ( | ||
465 | union acpi_parse_object *root); | ||
466 | |||
467 | struct acpi_namespace_node * | 338 | struct acpi_namespace_node * |
468 | acpi_db_local_ns_lookup ( | 339 | acpi_db_local_ns_lookup ( |
469 | char *name); | 340 | char *name); |
470 | 341 | ||
471 | |||
472 | #endif /* __ACDEBUG_H__ */ | 342 | #endif /* __ACDEBUG_H__ */ |