Deleted Added
full compact
dbcmds.c (102550) dbcmds.c (104470)
1/*******************************************************************************
2 *
3 * Module Name: dbcmds - debug commands and output routines
1/*******************************************************************************
2 *
3 * Module Name: dbcmds - debug commands and output routines
4 * $Revision: 87 $
4 * $Revision: 88 $
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,
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);
286 AcpiGbl_AcpiTables[i].Pointer,
287 (UINT32) 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
288 }
289 }
290}
291
292
293/*******************************************************************************
294 *
295 * FUNCTION: AcpiDbUnloadAcpiTable

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

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

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

929 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
930 Status = AcpiNsHandleToPathname (ObjHandle, &Buffer);
931 if (ACPI_FAILURE (Status))
932 {
933 AcpiOsPrintf ("Could Not get pathname for object %p\n", ObjHandle);
934 }
935 else
936 {
929 AcpiOsPrintf ("%32s (%p) - %s\n", Buffer.Pointer, ObjHandle,
937 AcpiOsPrintf ("%32s (%p) - %s\n", (char *) 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 ---
938 AcpiUtGetTypeName (((ACPI_NAMESPACE_NODE *) ObjHandle)->Type));
939 ACPI_MEM_FREE (Buffer.Pointer);
940 }
941
942 return (AE_OK);
943}
944
945

--- 331 unchanged lines hidden ---