Deleted Added
sdiff udiff text old ( 102550 ) new ( 104470 )
full compact
1/*******************************************************************************
2 *
3 * Module Name: dbcmds - debug commands and output routines
4 * $Revision: 87 $
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp.

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

278 UINT32 i;
279
280
281 for (i = 0; i < NUM_ACPI_TABLES; i++)
282 {
283 if (AcpiGbl_AcpiTables[i].Pointer)
284 {
285 AcpiOsPrintf ("%s at %p length %X\n", AcpiGbl_AcpiTableData[i].Name,
286 AcpiGbl_AcpiTables[i].Pointer, AcpiGbl_AcpiTables[i].Length);
287 }
288 }
289}
290
291
292/*******************************************************************************
293 *
294 * FUNCTION: AcpiDbUnloadAcpiTable

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

778 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
779 Status = AcpiNsHandleToPathname (ObjHandle, &Buffer);
780 if (ACPI_FAILURE (Status))
781 {
782 AcpiOsPrintf ("Could Not get pathname for object %p\n", ObjHandle);
783 return (AE_OK);
784 }
785
786 AcpiOsPrintf ("%32s", Buffer.Pointer);
787 ACPI_MEM_FREE (Buffer.Pointer);
788
789
790 /* Display short information about the object */
791
792 if (ObjDesc)
793 {
794 switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
795 {
796 case ACPI_TYPE_METHOD:
797 AcpiOsPrintf (" #Args %d Concurrency %X", ObjDesc->Method.ParamCount, ObjDesc->Method.Concurrency);
798 break;
799
800 case ACPI_TYPE_INTEGER:
801 AcpiOsPrintf (" Value %X", ObjDesc->Integer.Value);
802 break;
803
804 case ACPI_TYPE_STRING:
805 AcpiOsPrintf (" \"%s\"", ObjDesc->String.Pointer);
806 break;
807
808 case ACPI_TYPE_REGION:
809 AcpiOsPrintf (" SpaceId %X Address %X Length %X", ObjDesc->Region.SpaceId, ObjDesc->Region.Address, ObjDesc->Region.Length);
810 break;
811
812 case ACPI_TYPE_PACKAGE:
813 AcpiOsPrintf (" #Elements %X", ObjDesc->Package.Count);
814 break;
815
816 case ACPI_TYPE_BUFFER:
817 AcpiOsPrintf (" Length %X", ObjDesc->Buffer.Length);

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

921 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
922 Status = AcpiNsHandleToPathname (ObjHandle, &Buffer);
923 if (ACPI_FAILURE (Status))
924 {
925 AcpiOsPrintf ("Could Not get pathname for object %p\n", ObjHandle);
926 }
927 else
928 {
929 AcpiOsPrintf ("%32s (%p) - %s\n", Buffer.Pointer, ObjHandle,
930 AcpiUtGetTypeName (((ACPI_NAMESPACE_NODE *) ObjHandle)->Type));
931 ACPI_MEM_FREE (Buffer.Pointer);
932 }
933
934 return (AE_OK);
935}
936
937

--- 331 unchanged lines hidden ---