50 #define _COMPONENT ACPI_EXECUTER
56 #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
58 static void acpi_ex_out_string(
char *title,
char *
value);
60 static void acpi_ex_out_pointer(
char *title,
void *
value);
251 "Next System Notify"},
270 "Access Byte Width"},
292 acpi_ex_dump_integer,
295 acpi_ex_dump_package,
303 acpi_ex_dump_processor,
304 acpi_ex_dump_thermal,
305 acpi_ex_dump_buffer_field,
308 acpi_ex_dump_region_field,
309 acpi_ex_dump_bank_field,
310 acpi_ex_dump_index_field,
311 acpi_ex_dump_reference,
315 acpi_ex_dump_address_handler,
345 (
"ExDumpObject: Display not implemented for object type %s\n",
364 acpi_ex_out_string(
"Type",
395 acpi_ex_out_pointer(name,
417 acpi_ex_dump_package_obj(obj_desc, 0, 0);
422 acpi_ex_dump_object(obj_desc,
423 acpi_ex_dump_field_common);
428 acpi_ex_out_string(
"Class Name",
432 acpi_ex_dump_reference_obj(obj_desc);
489 "%p is not a node or operand object: [%s]\n",
500 depth,
" ", depth, obj_desc));
507 switch (obj_desc->
common.type) {
565 obj_desc->
buffer.pointer);
569 if (obj_desc->
buffer.pointer) {
570 length = obj_desc->
buffer.length;
576 (
"Buffer Contents: (displaying length 0x%.2X)\n",
600 for (index = 0; index < obj_desc->
package.count;
614 obj_desc->
region.space_id);
634 obj_desc->
string.pointer);
648 (
"RegionField: Bits=%X AccWidth=%X Lock=%X Update=%X at "
649 "byte=%X bit=%X of below:\n", obj_desc->
field.bit_length,
650 obj_desc->
field.access_byte_width,
653 obj_desc->
field.base_byte_offset,
654 obj_desc->
field.start_field_bit_offset);
673 }
else if ((obj_desc->
buffer_field.buffer_obj)->common.type !=
690 obj_desc->
method.param_count,
691 obj_desc->
method.aml_start,
692 obj_desc->
method.aml_length);
744 const char *opcode_name,
u32 num_operands)
749 opcode_name =
"UNKNOWN";
753 "**** Start operand dump for opcode [%s], %u operands\n",
754 opcode_name, num_operands));
756 if (num_operands == 0) {
762 while (num_operands) {
769 "**** End operand dump for [%s]\n", opcode_name));
786 static void acpi_ex_out_string(
char *title,
char *
value)
791 static void acpi_ex_out_pointer(
char *title,
void *
value)
821 acpi_ex_out_pointer(
"Attached Object",
823 acpi_ex_out_pointer(
"Parent", node->
parent);
906 for (i = 0; i <
level; i++) {
924 switch (obj_desc->
common.type) {
942 if (obj_desc->
buffer.length) {
957 for (i = 0; i < obj_desc->
package.count; i++) {
958 acpi_ex_dump_package_obj(obj_desc->
package.elements[i],
968 acpi_ex_dump_reference_obj(obj_desc);
1014 obj_desc)->
object, flags);
1020 (
"ExDumpObjectDescriptor: %p is not an ACPI operand object: [%s]\n",
1031 acpi_ex_dump_object(obj_desc, acpi_ex_dump_common);
1035 acpi_ex_dump_object(obj_desc, acpi_ex_dump_info[obj_desc->
common.type]);