Deleted Added
full compact
dbdisply.c (102550) dbdisply.c (104470)
1/*******************************************************************************
2 *
3 * Module Name: dbdisply - debug display commands
1/*******************************************************************************
2 *
3 * Module Name: dbdisply - debug display commands
4 * $Revision: 78 $
4 * $Revision: 79 $
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp.

--- 340 unchanged lines hidden (view full) ---

353 Status = AcpiGetName (Node, ACPI_FULL_PATHNAME, &RetBuf);
354 if (ACPI_FAILURE (Status))
355 {
356 AcpiOsPrintf ("Could not convert name to pathname\n");
357 }
358
359 else
360 {
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp.

--- 340 unchanged lines hidden (view full) ---

353 Status = AcpiGetName (Node, ACPI_FULL_PATHNAME, &RetBuf);
354 if (ACPI_FAILURE (Status))
355 {
356 AcpiOsPrintf ("Could not convert name to pathname\n");
357 }
358
359 else
360 {
361 AcpiOsPrintf ("Object (%p) Pathname: %s\n", Node, RetBuf.Pointer);
361 AcpiOsPrintf ("Object (%p) Pathname: %s\n", Node, (char *) RetBuf.Pointer);
362 }
363
364 if (!AcpiOsReadable (Node, sizeof (ACPI_NAMESPACE_NODE)))
365 {
366 AcpiOsPrintf ("Invalid Named object at address %p\n", Node);
367 return;
368 }
369

--- 32 unchanged lines hidden (view full) ---

402AcpiDbDecodeInternalObject (
403 ACPI_OPERAND_OBJECT *ObjDesc)
404{
405 UINT32 i;
406
407
408 if (!ObjDesc)
409 {
362 }
363
364 if (!AcpiOsReadable (Node, sizeof (ACPI_NAMESPACE_NODE)))
365 {
366 AcpiOsPrintf ("Invalid Named object at address %p\n", Node);
367 return;
368 }
369

--- 32 unchanged lines hidden (view full) ---

402AcpiDbDecodeInternalObject (
403 ACPI_OPERAND_OBJECT *ObjDesc)
404{
405 UINT32 i;
406
407
408 if (!ObjDesc)
409 {
410 AcpiOsPrintf (" Uninitialized\n");
410 AcpiOsPrintf (" Uninitialized");
411 return;
412 }
413
414 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) != ACPI_DESC_TYPE_OPERAND)
415 {
416 AcpiOsPrintf ("%p", ObjDesc);
417 return;
418 }

--- 122 unchanged lines hidden (view full) ---

541 break;
542
543
544 case ACPI_DESC_TYPE_OPERAND:
545
546 Type = ACPI_GET_OBJECT_TYPE (ObjDesc);
547 if (Type > INTERNAL_TYPE_MAX)
548 {
411 return;
412 }
413
414 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) != ACPI_DESC_TYPE_OPERAND)
415 {
416 AcpiOsPrintf ("%p", ObjDesc);
417 return;
418 }

--- 122 unchanged lines hidden (view full) ---

541 break;
542
543
544 case ACPI_DESC_TYPE_OPERAND:
545
546 Type = ACPI_GET_OBJECT_TYPE (ObjDesc);
547 if (Type > INTERNAL_TYPE_MAX)
548 {
549 AcpiOsPrintf (" Type %hX [Invalid Type]", Type);
549 AcpiOsPrintf (" Type %X [Invalid Type]", (UINT32) Type);
550 return;
551 }
552
553 /* Decode the ACPI object type */
554
555 switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
556 {
557 case INTERNAL_TYPE_REFERENCE:

--- 28 unchanged lines hidden (view full) ---

586
587 AcpiOsPrintf ("[Debug] ");
588 break;
589
590
591 case AML_INDEX_OP:
592
593 AcpiOsPrintf ("[Index] ");
550 return;
551 }
552
553 /* Decode the ACPI object type */
554
555 switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
556 {
557 case INTERNAL_TYPE_REFERENCE:

--- 28 unchanged lines hidden (view full) ---

586
587 AcpiOsPrintf ("[Debug] ");
588 break;
589
590
591 case AML_INDEX_OP:
592
593 AcpiOsPrintf ("[Index] ");
594 AcpiDbDecodeInternalObject (ObjDesc->Reference.Object);
594 if (!ObjDesc->Reference.Where)
595 {
596 AcpiOsPrintf ("Uninitialized WHERE ptr");
597 }
598 else
599 {
600 AcpiDbDecodeInternalObject (*(ObjDesc->Reference.Where));
601 }
595 break;
596
597
598 case AML_REF_OF_OP:
599
602 break;
603
604
605 case AML_REF_OF_OP:
606
600 AcpiOsPrintf ("[Reference] ");
607 AcpiOsPrintf ("[RefOf] ");
601
602 /* Reference can be to a Node or an Operand object */
603
604 switch (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc->Reference.Object))
605 {
606 case ACPI_DESC_TYPE_NAMED:
607 AcpiDbDecodeNode (ObjDesc->Reference.Object);
608 break;

--- 394 unchanged lines hidden ---
608
609 /* Reference can be to a Node or an Operand object */
610
611 switch (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc->Reference.Object))
612 {
613 case ACPI_DESC_TYPE_NAMED:
614 AcpiDbDecodeNode (ObjDesc->Reference.Object);
615 break;

--- 394 unchanged lines hidden ---