Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f919709c865ad0a25aead848660d2e2eb1d59c9a
      
https://github.com/tianocore/edk2/commit/f919709c865ad0a25aead848660d2e2eb1d59c9a
  Author: Ceping Sun <cepingx....@intel.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    A MdeModulePkg/Include/Library/TdxMeasurementLib.h
    A MdeModulePkg/Library/TdxMeasurementLibNull/TdxMeasurementLibNull.c
    A MdeModulePkg/Library/TdxMeasurementLibNull/TdxMeasurementLibNull.inf
    M MdeModulePkg/MdeModulePkg.dec
    M MdeModulePkg/MdeModulePkg.dsc

  Log Message:
  -----------
  MdeModulePkg: Move TdxMeasurementLib from UefiCpuPkg

There are 2 reasons to move TdxMeasurementLib LibraryClass from
UefiCpuPkg to MdeModulePkg:
1. TpmMeasurementLib.h is located at MdeModulePkg/Include/Library.
   It is similiar as TdxMeasurementLib.h.
2. TdxMeasurementLib is designed for TDX Measurement, it can be called
   from SecurityPkg. And it is not much related to UefiCpuPkg.

Based upon above consideration, it's better to move TdxMeasurementLib
LibraryClass from UefiCpuPkg to MdeModulePkg.

Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Zhiguang Liu <zhiguang....@intel.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Min Xu <min.m...@intel.com>
Signed-off-by: Ceping Sun <cepingx....@intel.com>


  Commit: 62e28d89c423025869a94dfea2463ab943f8269c
      
https://github.com/tianocore/edk2/commit/62e28d89c423025869a94dfea2463ab943f8269c
  Author: Ceping Sun <cepingx....@intel.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M OvmfPkg/IntelTdx/TdxHelperLib/PeiTdxHelperLib.inf
    M OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
    M OvmfPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf
    M OvmfPkg/Tcg/TdTcg2Pei/TdTcg2Pei.inf

  Log Message:
  -----------
  OvmfPkg: Update the .INF file for the changes of TdxMeasurementLib

Since the TdxMeasurementLib has been moved from UefiCpuPkg to MdeModulePkg,
the [Packages] section in .INF file shall be updated accordingly.

Cc: Erdem Aktas <erdemak...@google.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Min Xu <min.m...@intel.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Elena Reshetova <elena.reshet...@intel.com>
Signed-off-by: Ceping Sun <cepingx....@intel.com>


  Commit: 2fe270a361c58db9d364a441915898a9c35cd792
      
https://github.com/tianocore/edk2/commit/2fe270a361c58db9d364a441915898a9c35cd792
  Author: Ceping Sun <cepingx....@intel.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    R UefiCpuPkg/Include/Library/TdxMeasurementLib.h
    R UefiCpuPkg/Library/TdxMeasurementLibNull/TdxMeasurementLibNull.c
    R UefiCpuPkg/Library/TdxMeasurementLibNull/TdxMeasurementLibNull.inf
    M UefiCpuPkg/UefiCpuPkg.dec
    M UefiCpuPkg/UefiCpuPkg.dsc

  Log Message:
  -----------
  UefiCpuPkg: Remove TdxMeasurementLib

Since TdxMeasurementLib has been moved to MdeModulePkg,
the duplicate code should be removed.

Cc: Ray Ni <ray...@intel.com>
Cc: Jiaxin Wu <jiaxin...@intel.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Signed-off-by: Ceping Sun <cepingx....@intel.com>


Compare: https://github.com/tianocore/edk2/compare/5a1c723cfa79...2fe270a361c5

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to