mirror of
https://github.com/acpica/acpica/
synced 2025-03-18 12:12:53 +03:00
Removed tabs
date 2000.06.12.16.58.00; author rmoore1; state Exp;
This commit is contained in:
parent
fd7e1c125c
commit
a7a2e642b7
@ -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
|
||||
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user