mirror of
https://github.com/acpica/acpica/
synced 2025-02-25 01:44:33 +03:00
Added FUNCTION_EXIT macro
date 99.05.19.22.13.00; author rmoore1; state Exp;
This commit is contained in:
parent
529f7414f4
commit
35b8b15857
@ -138,7 +138,7 @@ _AllocateObjectDesc (char *ModuleName, INT32 LineNumber, INT32 ComponentId,
|
||||
|
||||
/* Attempt to allocate new descriptor */
|
||||
|
||||
NewDesc = NEW (OBJECT_DESCRIPTOR);
|
||||
NewDesc = OsdCallocate (sizeof (OBJECT_DESCRIPTOR));
|
||||
if (!NewDesc)
|
||||
{
|
||||
/* Allocation failed */
|
||||
@ -146,6 +146,12 @@ _AllocateObjectDesc (char *ModuleName, INT32 LineNumber, INT32 ComponentId,
|
||||
_REPORT_ERROR (ModuleName, LineNumber, ComponentId, KdtEntry);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
DEBUG_PRINT (TRACE_ALLOCATIONS, ("AllocateObjectDesc: %x Size 0x%x\n",
|
||||
NewDesc, sizeof (OBJECT_DESCRIPTOR)));
|
||||
}
|
||||
|
||||
return NewDesc;
|
||||
}
|
||||
|
||||
@ -180,6 +186,12 @@ _LocalAllocate (char *ModuleName, INT32 LineNumber, INT32 ComponentId, INT32 All
|
||||
_REPORT_ERROR (ModuleName, LineNumber, ComponentId, &KDT[0]);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
DEBUG_PRINT (TRACE_ALLOCATIONS, ("LocalAllocate: %x Size 0x%x\n",
|
||||
Block, AllocSize));
|
||||
}
|
||||
|
||||
return Block;
|
||||
}
|
||||
|
||||
@ -214,6 +226,12 @@ _LocalCallocate (char *ModuleName, INT32 LineNumber, INT32 ComponentId, INT32 Al
|
||||
_REPORT_ERROR (ModuleName, LineNumber, ComponentId, &KDT[1]);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
DEBUG_PRINT (TRACE_ALLOCATIONS, ("LocalCallocate: %x Size 0x%x\n",
|
||||
Block, AllocSize));
|
||||
}
|
||||
|
||||
return Block;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user