ACPI_DIVIDE and ACPI_MODULO macros for 64-bit support

date	2000.11.07.22.39.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 19:01:44 +00:00
parent 812fcafc59
commit 816faffaf0

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: cmalloc - local memory allocation routines
* $Revision: 1.77 $
* $Revision: 1.78 $
*
*****************************************************************************/
@ -475,42 +475,42 @@ AcpiCmDumpAllocationInfo (
DEBUG_PRINT (TRACE_ALLOCATIONS | TRACE_TABLES,
("%30s: %4d (%3d Kb)\n", "Current allocations",
AcpiGbl_CurrentAllocCount,
(AcpiGbl_CurrentAllocSize + 1023) / 1024));
ROUND_UP_TO_1K (AcpiGbl_CurrentAllocSize)));
DEBUG_PRINT (TRACE_ALLOCATIONS | TRACE_TABLES,
("%30s: %4d (%3d Kb)\n", "Max concurrent allocations",
AcpiGbl_MaxConcurrentAllocCount,
(AcpiGbl_MaxConcurrentAllocSize + 1023) / 1024));
ROUND_UP_TO_1K (AcpiGbl_MaxConcurrentAllocSize)));
DEBUG_PRINT (TRACE_ALLOCATIONS | TRACE_TABLES,
("%30s: %4d (%3d Kb)\n", "Current Internal objects",
AcpiGbl_CurrentObjectCount,
(AcpiGbl_CurrentObjectSize + 1023) / 1024));
ROUND_UP_TO_1K (AcpiGbl_CurrentObjectSize)));
DEBUG_PRINT (TRACE_ALLOCATIONS | TRACE_TABLES,
("%30s: %4d (%3d Kb)\n", "Max internal objects",
AcpiGbl_MaxConcurrentObjectCount,
(AcpiGbl_MaxConcurrentObjectSize + 1023) / 1024));
ROUND_UP_TO_1K (AcpiGbl_MaxConcurrentObjectSize)));
DEBUG_PRINT (TRACE_ALLOCATIONS | TRACE_TABLES,
("%30s: %4d (%3d Kb)\n", "Current Nodes",
AcpiGbl_CurrentNodeCount,
(AcpiGbl_CurrentNodeSize + 1023) / 1024));
ROUND_UP_TO_1K (AcpiGbl_CurrentNodeSize)));
DEBUG_PRINT (TRACE_ALLOCATIONS | TRACE_TABLES,
("%30s: %4d (%3d Kb)\n", "Max Nodes",
AcpiGbl_MaxConcurrentNodeCount,
((AcpiGbl_MaxConcurrentNodeCount * sizeof (ACPI_NAMESPACE_NODE)) + 1023) / 1024));
ROUND_UP_TO_1K ((AcpiGbl_MaxConcurrentNodeCount * sizeof (ACPI_NAMESPACE_NODE)))));
DEBUG_PRINT (TRACE_ALLOCATIONS | TRACE_TABLES,
("%30s: %4d (%3d Kb)\n", "Total (all) internal objects",
AcpiGbl_RunningObjectCount,
(AcpiGbl_RunningObjectSize + 1023) / 1024));
ROUND_UP_TO_1K (AcpiGbl_RunningObjectSize)));
DEBUG_PRINT (TRACE_ALLOCATIONS | TRACE_TABLES,
("%30s: %4d (%3d Kb)\n", "Total (all) allocations",
AcpiGbl_RunningAllocCount,
(AcpiGbl_RunningAllocSize + 1023) / 1024));
ROUND_UP_TO_1K (AcpiGbl_RunningAllocSize)));
return_VOID;
}