Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f919709c865ad0a25aead848660d2e2eb1d59c9a
      
https://github.com/tianocore/edk2/commit/f919709c865ad0a25aead848660d2e2eb1d59c9a
  Author: Ceping Sun <[email protected]>
  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 <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Zhiguang Liu <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Min Xu <[email protected]>
Signed-off-by: Ceping Sun <[email protected]>


  Commit: 62e28d89c423025869a94dfea2463ab943f8269c
      
https://github.com/tianocore/edk2/commit/62e28d89c423025869a94dfea2463ab943f8269c
  Author: Ceping Sun <[email protected]>
  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 <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Min Xu <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Elena Reshetova <[email protected]>
Signed-off-by: Ceping Sun <[email protected]>


  Commit: 2fe270a361c58db9d364a441915898a9c35cd792
      
https://github.com/tianocore/edk2/commit/2fe270a361c58db9d364a441915898a9c35cd792
  Author: Ceping Sun <[email protected]>
  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 <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Ceping Sun <[email protected]>


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to