[QEMU] Add test container data print

This patch printed out the loaded data from the test containere.
It is helpful for tool to parse the boot log and verify if the
component inside the container has been loaded properly.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
This commit is contained in:
Maurice Ma 2020-02-03 21:52:04 -08:00
parent 5bd480e425
commit 5e1620b619
1 changed files with 3 additions and 0 deletions

View File

@ -279,6 +279,9 @@ BoardInit (
Length = 0;
Status = LoadComponent (SIGNATURE_32('I', 'P', 'F', 'W'), SIGNATURE_32('T', 'S', 'T', '3'), &Buffer, &Length);
DEBUG ((DEBUG_INFO, "Load IP firmware @ %p:0x%X - %r\n", Buffer, Length, Status));
if (!EFI_ERROR(Status)) {
DumpHex (2, 0, Length > 16 ? 16 : Length, Buffer);
}
break;
case PostPciEnumeration: