Deleted Added
sdiff udiff text old ( 123315 ) new ( 126372 )
full compact
1/*******************************************************************************
2 *
3 * Module Name: dmobject - ACPI object decode and display
4 * $Revision: 11 $
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
13 * All rights reserved.
14 *
15 * 2. License
16 *
17 * 2.1. This is your license from Intel Corp. under its intellectual property
18 * rights. You may have additional license terms from the party that provided
19 * you this software, covering your right to use that party's intellectual
20 * property rights.

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

260 }
261
262 AcpiOsPrintf (" %s", AcpiUtGetObjectTypeName (ObjDesc));
263
264 switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
265 {
266 case ACPI_TYPE_INTEGER:
267
268 AcpiOsPrintf (" %8.8X%8.8X",
269 ACPI_FORMAT_UINT64 (ObjDesc->Integer.Value));
270 break;
271
272
273 case ACPI_TYPE_STRING:
274
275 AcpiOsPrintf ("(%d) \"%.24s",
276 ObjDesc->String.Length, ObjDesc->String.Pointer);

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

427 case AML_DEBUG_OP:
428
429 AcpiOsPrintf ("[Debug] ");
430 break;
431
432
433 case AML_INDEX_OP:
434
435 AcpiOsPrintf ("[Index] ");
436 switch (ObjDesc->Reference.TargetType)
437 {
438 case ACPI_TYPE_BUFFER_FIELD:
439 AcpiOsPrintf ("%p", ObjDesc->Reference.Object);
440 AcpiDmDecodeInternalObject (ObjDesc->Reference.Object);
441 break;
442
443 case ACPI_TYPE_PACKAGE:
444
445 AcpiOsPrintf ("%p", ObjDesc->Reference.Where);
446 if (!ObjDesc->Reference.Where)
447 {
448 AcpiOsPrintf (" Uninitialized WHERE ptr");
449 }
450 else
451 {
452 AcpiDmDecodeInternalObject (*(ObjDesc->Reference.Where));
453 }
454 break;
455
456 default:
457 AcpiOsPrintf ("Unknown index target type");
458 break;
459 }
460 break;
461
462
463 case AML_LOAD_OP:
464
465 AcpiOsPrintf ("[DdbHandle] ");
466 break;
467
468
469 case AML_REF_OF_OP:
470
471 AcpiOsPrintf ("[RefOf] ");
472
473 if (!ObjDesc->Reference.Object)
474 {
475 AcpiOsPrintf ("Uninitialized reference subobject ptr");
476 break;
477 }
478
479 /* Reference can be to a Node or an Operand object */
480
481 switch (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc->Reference.Object))
482 {
483 case ACPI_DESC_TYPE_NAMED:
484 AcpiDmDecodeNode (ObjDesc->Reference.Object);
485 break;
486

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

500 ObjDesc->Reference.Opcode,
501 AcpiPsGetOpcodeName (ObjDesc->Reference.Opcode));
502 break;
503 }
504 break;
505
506 default:
507
508 AcpiOsPrintf ("<Obj> ");
509 AcpiDmDecodeInternalObject (ObjDesc);
510 break;
511 }
512 break;
513
514
515 default:
516
517 AcpiOsPrintf (" [%s]",
518 AcpiUtGetDescriptorName (ObjDesc));
519 break;
520 }
521
522 AcpiOsPrintf ("\n");
523}
524
525

--- 101 unchanged lines hidden ---