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:
Robert Moore 2015-12-04 08:21:52 -08:00
parent 006d1b6c28
commit b01414f5a8
1 changed files with 9 additions and 2 deletions

View File

@ -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: