[PATCH V2 1/1] SecurityPkg: Add debug log for indicating IBB verified OBB successfully


Wang, Jian J
 

Reviewed-by: Jian J Wang <jian.j.wang@intel.com>

Regards,
Jian

-----Original Message-----
From: Yang, Longlong <longlong.yang@intel.com>
Sent: Friday, September 17, 2021 10:51 AM
To: devel@edk2.groups.io
Cc: Yang, Longlong <longlong.yang@intel.com>; Yao, Jiewen
<jiewen.yao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>; Xu, Min M
<min.m.xu@intel.com>; Zhang, Qi1 <qi1.zhang@intel.com>
Subject: [PATCH V2 1/1] SecurityPkg: Add debug log for indicating IBB verified
OBB successfully

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3615

Debug message should be added for indicating IBB is successfully verifying
the OBB.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Min M Xu <min.m.xu@intel.com>
Cc: Qi Zhang <qi1.zhang@intel.com>
Signed-off-by: Longlong Yang <longlong.yang@intel.com>
---
SecurityPkg/FvReportPei/FvReportPei.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/SecurityPkg/FvReportPei/FvReportPei.c
b/SecurityPkg/FvReportPei/FvReportPei.c
index e82413e090c0..9f3ebd8ed174 100644
--- a/SecurityPkg/FvReportPei/FvReportPei.c
+++ b/SecurityPkg/FvReportPei/FvReportPei.c
@@ -344,6 +344,8 @@ CheckStoredHashFv (
StoredHashFvPpi->FvNumber, BootMode);
if (!EFI_ERROR (Status)) {

+ DEBUG ((DEBUG_INFO, "OBB verification passed (%r)\r\n", Status));
+
//
// Report the FVs to PEI core and/or DXE core.
//
--
2.31.1.windows.1