mirror of https://github.com/acpica/acpica/
Update for output of the Debug Object
Improve output for the case of an Index() that refers to a Package element that has not been initialized.
This commit is contained in:
parent
006d1b6c28
commit
b01414f5a8
|
@ -393,8 +393,15 @@ AcpiExDoDebugObject (
|
|||
case ACPI_TYPE_PACKAGE:
|
||||
|
||||
AcpiOsPrintf ("Package[%u] = ", Value);
|
||||
AcpiExDoDebugObject (*SourceDesc->Reference.Where,
|
||||
Level+4, 0);
|
||||
if (!(*SourceDesc->Reference.Where))
|
||||
{
|
||||
AcpiOsPrintf ("[Uninitialized Package Element]\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
AcpiExDoDebugObject (*SourceDesc->Reference.Where,
|
||||
Level+4, 0);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue