Debugger: Cleanup output of returned buffer objects.

This change aligns the data dump for buffer objects.
This commit is contained in:
Robert Moore 2009-12-11 13:35:19 -08:00
parent 93324dd734
commit 8b73fb9ff4

View File

@ -275,6 +275,10 @@ AcpiDbDumpExternalObject (
AcpiOsPrintf ("[Buffer] Length %.2X = ", ObjDesc->Buffer.Length);
if (ObjDesc->Buffer.Length)
{
if (ObjDesc->Buffer.Length > 16)
{
AcpiOsPrintf ("\n");
}
AcpiUtDumpBuffer (ACPI_CAST_PTR (UINT8, ObjDesc->Buffer.Pointer),
ObjDesc->Buffer.Length, DB_DWORD_DISPLAY, _COMPONENT);
}