Print this page
acpica-unix2-20130823
PANKOVs restructure

*** 3,13 **** * Module Name: dmobject - ACPI object decode and display * ******************************************************************************/ /* ! * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: --- 3,13 ---- * Module Name: dmobject - ACPI object decode and display * ******************************************************************************/ /* ! * Copyright (C) 2000 - 2013, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:
*** 212,222 **** AcpiOsPrintf (" %8.8X%8.8X", ACPI_FORMAT_UINT64 (ObjDesc->Integer.Value)); break; - case ACPI_TYPE_STRING: AcpiOsPrintf ("(%u) \"%.24s", ObjDesc->String.Length, ObjDesc->String.Pointer); --- 212,221 ----
*** 228,248 **** { AcpiOsPrintf ("\""); } break; - case ACPI_TYPE_BUFFER: AcpiOsPrintf ("(%u)", ObjDesc->Buffer.Length); for (i = 0; (i < 8) && (i < ObjDesc->Buffer.Length); i++) { AcpiOsPrintf (" %2.2X", ObjDesc->Buffer.Pointer[i]); } break; - default: AcpiOsPrintf (" %p", ObjDesc); break; } --- 227,245 ----
*** 281,298 **** --- 278,298 ---- switch (Node->Type) { /* These types have no attached object */ case ACPI_TYPE_DEVICE: + AcpiOsPrintf (" Device"); break; case ACPI_TYPE_THERMAL: + AcpiOsPrintf (" Thermal Zone"); break; default: + AcpiDmDecodeInternalObject (AcpiNsGetAttachedObject (Node)); break; } }
*** 333,349 **** case ACPI_DESC_TYPE_PARSER: AcpiOsPrintf ("<Parser> "); break; - case ACPI_DESC_TYPE_NAMED: AcpiDmDecodeNode ((ACPI_NAMESPACE_NODE *) ObjDesc); break; - case ACPI_DESC_TYPE_OPERAND: Type = ObjDesc->Common.Type; if (Type > ACPI_TYPE_LOCAL_MAX) { --- 333,347 ----
*** 373,383 **** AcpiOsPrintf ("%p", ObjDesc); AcpiDmDecodeInternalObject (ObjDesc); } break; - case ACPI_REFCLASS_ARG: AcpiOsPrintf ("%X ", ObjDesc->Reference.Value); if (WalkState) { --- 371,380 ----
*** 386,396 **** AcpiOsPrintf ("%p", ObjDesc); AcpiDmDecodeInternalObject (ObjDesc); } break; - case ACPI_REFCLASS_INDEX: switch (ObjDesc->Reference.TargetType) { case ACPI_TYPE_BUFFER_FIELD: --- 383,392 ----
*** 418,428 **** AcpiOsPrintf ("Unknown index target type"); break; } break; - case ACPI_REFCLASS_REFOF: if (!ObjDesc->Reference.Object) { AcpiOsPrintf ("Uninitialized reference subobject pointer"); --- 414,423 ----
*** 444,484 **** default: break; } break; - case ACPI_REFCLASS_NAME: AcpiDmDecodeNode (ObjDesc->Reference.Node); break; - case ACPI_REFCLASS_DEBUG: case ACPI_REFCLASS_TABLE: AcpiOsPrintf ("\n"); break; - default: /* Unknown reference class */ AcpiOsPrintf ("%2.2X\n", ObjDesc->Reference.Class); break; } break; - default: AcpiOsPrintf ("<Obj> "); AcpiDmDecodeInternalObject (ObjDesc); break; } break; - default: AcpiOsPrintf ("<Not a valid ACPI Object Descriptor> [%s]", AcpiUtGetDescriptorName (ObjDesc)); break; --- 439,474 ----
*** 583,589 **** AcpiDmDisplayInternalObject (ObjDesc, WalkState); } } #endif - - --- 573,577 ----