29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
|
From 258df7ab1f8074aac3a664f39747ea7f784b6e73 Mon Sep 17 00:00:00 2001
|
||
|
From: Tom Lendacky <thomas.lendacky@amd.com>
|
||
|
Date: Mon, 18 Nov 2024 12:59:32 -0600
|
||
|
Subject: [PATCH] OvmfPkg/EmuVariableFvbRuntimeDxe: Issue NV vars
|
||
|
initializitation message
|
||
|
|
||
|
Add a debug message that indicates when the NV variables are being
|
||
|
initialized through the template structure.
|
||
|
|
||
|
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
|
||
|
(cherry picked from commit 6142f0a8a53557ba50300c762a15bf3c18382162)
|
||
|
---
|
||
|
OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
|
||
|
index c07e38966e..cc476c7df2 100644
|
||
|
--- a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
|
||
|
+++ b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
|
||
|
@@ -692,6 +692,8 @@ InitializeFvAndVariableStoreHeaders (
|
||
|
//
|
||
|
Fv = (EFI_FIRMWARE_VOLUME_HEADER *)Ptr;
|
||
|
Fv->Checksum = CalculateCheckSum16 (Ptr, Fv->HeaderLength);
|
||
|
+
|
||
|
+ DEBUG ((DEBUG_INFO, "EMU Variable FVB: Initialized FV using template structure\n"));
|
||
|
}
|
||
|
|
||
|
/**
|