Added ACPI_OBJECT_INTERNAL type

date	99.07.07.19.47.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 19:00:31 +00:00
parent 0c3cb146b4
commit 68d054a103
2 changed files with 485 additions and 850 deletions

View File

@ -130,12 +130,12 @@ _AllocateObjectDesc (
INT32 LineNumber,
INT32 ComponentId)
{
ACPI_OBJECT *NewDesc;
ACPI_OBJECT_INTERNAL *NewDesc;
/* Attempt to allocate new descriptor */
NewDesc = OsdCallocate (sizeof (ACPI_OBJECT));
NewDesc = OsdCallocate (sizeof (ACPI_OBJECT_INTERNAL));
if (!NewDesc)
{
/* Allocation failed */
@ -147,7 +147,7 @@ _AllocateObjectDesc (
else
{
DEBUG_PRINT (TRACE_ALLOCATIONS, ("AllocateObjectDesc: %x Size 0x%x\n",
NewDesc, sizeof (ACPI_OBJECT)));
NewDesc, sizeof (ACPI_OBJECT_INTERNAL)));
}
return NewDesc;
@ -262,7 +262,7 @@ _LocalCallocate (
void
LocalDeleteObject (
ACPI_OBJECT **ObjDesc)
ACPI_OBJECT_INTERNAL **ObjDesc)
{
FUNCTION_TRACE ("LocalDeleteObject");
@ -279,8 +279,8 @@ LocalDeleteObject (
*/
if ((ACPI_OBJECT **) 0 != ObjDesc &&
(ACPI_OBJECT *) 0 != *ObjDesc &&
if ((ACPI_OBJECT_INTERNAL **) 0 != ObjDesc &&
(ACPI_OBJECT_INTERNAL *) 0 != *ObjDesc &&
!AmlIsInPCodeBlock ((UINT8 *) *ObjDesc) &&
!IS_NS_HANDLE (*ObjDesc) &&
!AmlIsMethodValue (*ObjDesc) &&

File diff suppressed because it is too large Load Diff