From 93fac4fd7b2dde522b045fb9227766e1ffa5ef72 Mon Sep 17 00:00:00 2001 From: Min M Xu Date: Mon, 15 Apr 2024 15:55:53 +0800 Subject: [PATCH] OvmfPkg: Update TdTcg2Dxe path in OvmfPkgX64 and IntelTdxX64.dsc BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4752 Previously the TdTcg2Dxe and its corresponding HashLibTdx were in SecurityPkg. This patch updates the paths in OvmfPkgX64.dsc and IntelTdxX64.dsc after TdTcg2Dxe and HashLibTdxLib have been moved to OvmfPkg. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Gerd Hoffmann Signed-off-by: Min Xu Reviewed-by: Jiewen Yao --- OvmfPkg/IntelTdx/IntelTdxX64.dsc | 4 ++-- OvmfPkg/IntelTdx/IntelTdxX64.fdf | 2 +- OvmfPkg/OvmfPkgX64.dsc | 4 ++-- OvmfPkg/OvmfPkgX64.fdf | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/OvmfPkg/IntelTdx/IntelTdxX64.dsc b/OvmfPkg/IntelTdx/IntelTdxX64.dsc index 7a767324ff..e037253abe 100644 --- a/OvmfPkg/IntelTdx/IntelTdxX64.dsc +++ b/OvmfPkg/IntelTdx/IntelTdxX64.dsc @@ -745,8 +745,8 @@ # # Cc Measurement Protocol for Td guest # - SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf { + OvmfPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf { - HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf + HashLib|OvmfPkg/Library/HashLibTdx/HashLibTdx.inf NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf } diff --git a/OvmfPkg/IntelTdx/IntelTdxX64.fdf b/OvmfPkg/IntelTdx/IntelTdxX64.fdf index f3b5126254..ce5d542048 100644 --- a/OvmfPkg/IntelTdx/IntelTdxX64.fdf +++ b/OvmfPkg/IntelTdx/IntelTdxX64.fdf @@ -255,7 +255,7 @@ INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf # # EFI_CC_MEASUREMENT_PROTOCOL # -INF SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf +INF OvmfPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf ################################################################################ diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 56c920168d..15d062f900 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -1038,9 +1038,9 @@ # Cc Measurement Protocol for Td guest # !if $(CC_MEASUREMENT_ENABLE) == TRUE - SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf { + OvmfPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf { - HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf + HashLib|OvmfPkg/Library/HashLibTdx/HashLibTdx.inf NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf } !endif diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf index eb3fb90cb8..c3b18b638f 100644 --- a/OvmfPkg/OvmfPkgX64.fdf +++ b/OvmfPkg/OvmfPkgX64.fdf @@ -385,7 +385,7 @@ INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf # EFI_CC_MEASUREMENT_PROTOCOL # !if $(CC_MEASUREMENT_ENABLE) == TRUE -INF SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf +INF OvmfPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf !endif #