From a7a2e642b7c409784665091711dae8b771f09ec4 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 20:11:44 +0000 Subject: [PATCH] Removed tabs date 2000.06.12.16.58.00; author rmoore1; state Exp; --- source/include/actypes.h | 16 +++---- source/include/acutils.h | 92 ++++++++++++++++++++-------------------- 2 files changed, 54 insertions(+), 54 deletions(-) diff --git a/source/include/actypes.h b/source/include/actypes.h index 26ac654b6..c6caaee41 100644 --- a/source/include/actypes.h +++ b/source/include/actypes.h @@ -262,14 +262,14 @@ typedef void* ACPI_HANDLE; /* Actually a ptr to an /* * Sleep state constants */ -#define S0 (UINT8) 0 -#define S1 (UINT8) 1 -#define S2 (UINT8) 2 -#define S3 (UINT8) 3 -#define S4 (UINT8) 4 -#define S4BIOS (UINT8) 5 -#define S5 (UINT8) 6 -#define ACPI_S_STATES_MAX S5 +#define S0 (UINT8) 0 +#define S1 (UINT8) 1 +#define S2 (UINT8) 2 +#define S3 (UINT8) 3 +#define S4 (UINT8) 4 +#define S4BIOS (UINT8) 5 +#define S5 (UINT8) 6 +#define ACPI_S_STATES_MAX S5 /* diff --git a/source/include/acutils.h b/source/include/acutils.h index b4ed3dfbf..1006fe2bb 100644 --- a/source/include/acutils.h +++ b/source/include/acutils.h @@ -656,32 +656,32 @@ CmValidAcpiCharacter ( void * _CmAllocate ( - UINT32 Size, - UINT32 Component, - ACPI_STRING Module, - INT32 Line); + UINT32 Size, + UINT32 Component, + ACPI_STRING Module, + INT32 Line); void * _CmCallocate ( - UINT32 Size, - UINT32 Component, - ACPI_STRING Module, - INT32 Line); + UINT32 Size, + UINT32 Component, + ACPI_STRING Module, + INT32 Line); void _CmFree ( - void *Address, - UINT32 Component, - ACPI_STRING Module, - INT32 Line); + void *Address, + UINT32 Component, + ACPI_STRING Module, + INT32 Line); void CmInitStaticObject ( ACPI_OBJECT_INTERNAL *ObjDesc); -#define CmAllocate(a) _CmAllocate(a,_COMPONENT,_THIS_MODULE,__LINE__) -#define CmCallocate(a) _CmCallocate(a, _COMPONENT,_THIS_MODULE,__LINE__) -#define CmFree(a) _CmFree(a,_COMPONENT,_THIS_MODULE,__LINE__) +#define CmAllocate(a) _CmAllocate(a,_COMPONENT,_THIS_MODULE,__LINE__) +#define CmCallocate(a) _CmCallocate(a, _COMPONENT,_THIS_MODULE,__LINE__) +#define CmFree(a) _CmFree(a,_COMPONENT,_THIS_MODULE,__LINE__) #ifndef ACPI_DEBUG @@ -697,46 +697,46 @@ CmInitStaticObject ( #else #define INITIALIZE_ALLOCATION_METRICS() \ - Gbl_CurrentObjectCount = 0; \ - Gbl_CurrentObjectSize = 0; \ - Gbl_RunningObjectCount = 0; \ - Gbl_RunningObjectSize = 0; \ - Gbl_MaxConcurrentObjectCount = 0; \ - Gbl_MaxConcurrentObjectSize = 0; \ - Gbl_CurrentAllocSize = 0; \ - Gbl_CurrentAllocCount = 0; \ - Gbl_RunningAllocSize = 0; \ - Gbl_RunningAllocCount = 0; \ - Gbl_MaxConcurrentAllocSize = 0; \ - Gbl_MaxConcurrentAllocCount = 0 + Gbl_CurrentObjectCount = 0; \ + Gbl_CurrentObjectSize = 0; \ + Gbl_RunningObjectCount = 0; \ + Gbl_RunningObjectSize = 0; \ + Gbl_MaxConcurrentObjectCount = 0; \ + Gbl_MaxConcurrentObjectSize = 0; \ + Gbl_CurrentAllocSize = 0; \ + Gbl_CurrentAllocCount = 0; \ + Gbl_RunningAllocSize = 0; \ + Gbl_RunningAllocCount = 0; \ + Gbl_MaxConcurrentAllocSize = 0; \ + Gbl_MaxConcurrentAllocCount = 0 #define DECREMENT_OBJECT_METRICS(a) \ - Gbl_CurrentObjectCount--; \ - Gbl_CurrentObjectSize -= a + Gbl_CurrentObjectCount--; \ + Gbl_CurrentObjectSize -= a #define INCREMENT_OBJECT_METRICS(a) \ - Gbl_CurrentObjectCount++; \ - Gbl_RunningObjectCount++; \ - if (Gbl_MaxConcurrentObjectCount < Gbl_CurrentObjectCount) \ - { \ - Gbl_MaxConcurrentObjectCount = Gbl_CurrentObjectCount; \ - } \ - Gbl_RunningObjectSize += a; \ - Gbl_CurrentObjectSize += a; \ - if (Gbl_MaxConcurrentObjectSize < Gbl_CurrentObjectSize) \ - { \ - Gbl_MaxConcurrentObjectSize = Gbl_CurrentObjectSize; \ - } - + Gbl_CurrentObjectCount++; \ + Gbl_RunningObjectCount++; \ + if (Gbl_MaxConcurrentObjectCount < Gbl_CurrentObjectCount) \ + { \ + Gbl_MaxConcurrentObjectCount = Gbl_CurrentObjectCount; \ + } \ + Gbl_RunningObjectSize += a; \ + Gbl_CurrentObjectSize += a; \ + if (Gbl_MaxConcurrentObjectSize < Gbl_CurrentObjectSize) \ + { \ + Gbl_MaxConcurrentObjectSize = Gbl_CurrentObjectSize; \ + } + void CmDumpAllocationInfo ( - void); - + void); + void CmDumpCurrentAllocations ( - UINT32 Component, - ACPI_STRING Module); + UINT32 Component, + ACPI_STRING Module); #endif