Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141865
b: refs/heads/master
c: 91a56e6
h: refs/heads/master
i:
  141863: 84d44c4
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Mar 27, 2009
1 parent 188a316 commit 54a331d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 36 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3dd25f4c1ca84baa170c0a3a15a884f4f06297e
refs/heads/master: 91a56e631fc837852304ee7bc2876d6e444b7fdb
44 changes: 9 additions & 35 deletions trunk/drivers/acpi/acpica/exdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
break;

case ACPI_EXD_TYPE:

acpi_ex_out_string("Type",
acpi_ut_get_object_type_name
(obj_desc));
Expand Down Expand Up @@ -422,6 +423,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
break;

default:

acpi_os_printf("**** Invalid table opcode [%X] ****\n",
info->opcode);
return;
Expand Down Expand Up @@ -527,44 +529,16 @@ void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth)
type));
break;

case ACPI_REFCLASS_ARG:

acpi_os_printf("%X", obj_desc->reference.value);

if (obj_desc->common.type == ACPI_TYPE_INTEGER) {

/* Value is an Integer */

acpi_os_printf(" value is [%8.8X%8.8x]",
ACPI_FORMAT_UINT64(obj_desc->
integer.
value));
}
case ACPI_REFCLASS_NAME:

acpi_os_printf("\n");
acpi_os_printf("- [%4.4s]\n",
obj_desc->reference.node->name.ascii);
break;

case ACPI_REFCLASS_ARG:
case ACPI_REFCLASS_LOCAL:

acpi_os_printf("%X", obj_desc->reference.value);

if (obj_desc->common.type == ACPI_TYPE_INTEGER) {

/* Value is an Integer */

acpi_os_printf(" value is [%8.8X%8.8x]",
ACPI_FORMAT_UINT64(obj_desc->
integer.
value));
}

acpi_os_printf("\n");
break;

case ACPI_REFCLASS_NAME:

acpi_os_printf("- [%4.4s]\n",
obj_desc->reference.node->name.ascii);
acpi_os_printf("%X\n", obj_desc->reference.value);
break;

default: /* Unknown reference class */
Expand Down Expand Up @@ -661,8 +635,8 @@ void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth)
case ACPI_TYPE_LOCAL_REGION_FIELD:

acpi_os_printf
("RegionField: Bits=%X AccWidth=%X Lock=%X Update=%X at byte=%X bit=%X of below:\n",
obj_desc->field.bit_length,
("RegionField: Bits=%X AccWidth=%X Lock=%X Update=%X at "
"byte=%X bit=%X of below:\n", obj_desc->field.bit_length,
obj_desc->field.access_byte_width,
obj_desc->field.field_flags & AML_FIELD_LOCK_RULE_MASK,
obj_desc->field.field_flags & AML_FIELD_UPDATE_RULE_MASK,
Expand Down

0 comments on commit 54a331d

Please sign in to comment.