1/******************************************************************************* 2 * 3 * Module Name: dbcmds - debug commands and output routines |
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, |
286 AcpiGbl_AcpiTables[i].Pointer, 287 (UINT32) AcpiGbl_AcpiTables[i].Length); |
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 |
787 AcpiOsPrintf ("%32s", (char *) Buffer.Pointer); |
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: |
798 AcpiOsPrintf (" #Args %d Concurrency %X", 799 ObjDesc->Method.ParamCount, ObjDesc->Method.Concurrency); |
800 break; 801 802 case ACPI_TYPE_INTEGER: |
803 AcpiOsPrintf (" Value %8.8X%8.8X", 804 ACPI_HIDWORD (ObjDesc->Integer.Value), 805 ACPI_LODWORD (ObjDesc->Integer.Value)); |
806 break; 807 808 case ACPI_TYPE_STRING: 809 AcpiOsPrintf (" \"%s\"", ObjDesc->String.Pointer); 810 break; 811 812 case ACPI_TYPE_REGION: |
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)); |
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 { |
937 AcpiOsPrintf ("%32s (%p) - %s\n", (char *) Buffer.Pointer, ObjHandle, |
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 --- |