Now we print if we will install or skip each ACPI table found.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <[email protected]>
---
OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
index 6fa434e..15e1bc2 100644
--- a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
+++ b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
@@ -468,7 +468,7 @@ Process2ndPassCmdAddPointer (
Facs->Length <= Blob2Remaining &&
Facs->Signature ==
EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE) {
- DEBUG ((EFI_D_VERBOSE, "found \"%-4.4a\" size 0x%x\n",
+ DEBUG ((EFI_D_VERBOSE, "found \"%-4.4a\" size 0x%x; installing\n",
(CONST CHAR8 *)&Facs->Signature, Facs->Length));
TableSize = Facs->Length;
}
@@ -488,7 +488,7 @@ Process2ndPassCmdAddPointer (
// - Length field consistent with both ACPI and containing blob size
// - checksum is correct
//
- DEBUG ((EFI_D_VERBOSE, "found \"%-4.4a\" size 0x%x\n",
+ DEBUG ((EFI_D_VERBOSE, "found \"%-4.4a\" size 0x%x; ",
(CONST CHAR8 *)&Header->Signature, Header->Length));
TableSize = Header->Length;
@@ -499,9 +499,12 @@ Process2ndPassCmdAddPointer (
EFI_ACPI_1_0_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE ||
Header->Signature ==
EFI_ACPI_2_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE) {
+ DEBUG ((EFI_D_VERBOSE, "skipping\n"));
return EFI_SUCCESS;
}
}
+
+ DEBUG ((EFI_D_VERBOSE, "installing\n"));
}
if (TableSize == 0) {
--
2.1.4
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel