mirror of
https://github.com/acpica/acpica/
synced 2025-02-23 08:54:16 +03:00
Fix object size problem with allocation tracker object dump.
Code that posts additional info about various object during the dump of outstanding allocations had incorrect object sizes. This fix corrects the three incorrect cases.
This commit is contained in:
parent
5a77df1622
commit
85e2b6f015
@ -705,21 +705,21 @@ AcpiUtDumpAllocations (
|
||||
switch (ACPI_GET_DESCRIPTOR_TYPE (Descriptor))
|
||||
{
|
||||
case ACPI_DESC_TYPE_OPERAND:
|
||||
if (Element->Size == sizeof (ACPI_DESC_TYPE_OPERAND))
|
||||
if (Element->Size == sizeof (ACPI_OPERAND_OBJECT))
|
||||
{
|
||||
DescriptorType = ACPI_DESC_TYPE_OPERAND;
|
||||
}
|
||||
break;
|
||||
|
||||
case ACPI_DESC_TYPE_PARSER:
|
||||
if (Element->Size == sizeof (ACPI_DESC_TYPE_PARSER))
|
||||
if (Element->Size == sizeof (ACPI_PARSE_OBJECT))
|
||||
{
|
||||
DescriptorType = ACPI_DESC_TYPE_PARSER;
|
||||
}
|
||||
break;
|
||||
|
||||
case ACPI_DESC_TYPE_NAMED:
|
||||
if (Element->Size == sizeof (ACPI_DESC_TYPE_NAMED))
|
||||
if (Element->Size == sizeof (ACPI_NAMESPACE_NODE))
|
||||
{
|
||||
DescriptorType = ACPI_DESC_TYPE_NAMED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user