summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2025-04-02MdePkg/IndustryStandard: Define enums of MCTPHostInterface from DSP0239edhay1-0/+16
Enums for MCTPHostInterface are defined from Management Component Transport Protocol (MCTP) IDs and Codes specification (DSP0239) These are referenced for the decode of InterfaceTypeSpecificData of SMBIOS table 42 by ShellPkg/SmbiosView Signed-off-by: G Edhaya Chandran <edhaya.chandran@arm.com>
2025-04-02MdePkg/IndustryStandard: Fix typos in IoRemappingTable.hNhi Pham1-2/+2
This corrects the value of the type `Named Component` and `Root Complex` in the structure comments, according to the DEN0049E_IO_Remapping_Table specification [1], table 2. [1] https://developer.arm.com/documentation/den0049/latest Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2025-04-02MdeModulePkg/CustomizedDisplayLib:Fix wrong ColumnIndexWidth special case.Gao Qihang1-2/+2
If the column width of screen cannot be divisible by three, one or two rows will be superfluous in the 3rd column. so, Optimize calculation method of 3rd cloumn to fill entire row. Signed-off-by: Gao Qihang <gaoqihang@loongson.cn>
2025-04-02ArmPkg: ArmStandaloneMmCoreEntryPoint: Support 18 register DIRECT_REQ2kuqin121-9/+30
This change added the support for using 18 registers when FF-A DIRECT_REQ2 is used to communicate with MM core. This change was tested on QEMU SBSA and booted to Windows. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
2025-04-02ArmPkg: ArmFfaLib: Update FF-A direct message to support 18 registersKun Qin3-16/+93
This change expands the support of FF-A direct message 2 call to use the full 18 registers. It also adds a check in the contructors to ensure the SMCCC meets the minimal requirement of v1.2 to support FF-A v1.2 usage. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
2025-04-02ArmPkg: ArmSvcLib: Support all 18 registersKun Qin2-14/+31
This extends ARM_SVC_ARGS to support all x0-x17 registers use case for FF-A. The ArmCallSvc function is also updated to support 18-register usage. Co-authored-by: Olivier Deprez <Olivier.Deprez@arm.com> Signed-off-by: Kun Qin <kun.qin@microsoft.com>
2025-04-02ArmPkg: ArmSmcLib: Support all 18 registersKun Qin2-10/+34
This extends ARM_SMC_ARGS to support all x0-x17 registers use case for FF-A. The ArmCallSmc function is also updated to support 18-register usage. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
2025-04-02EmulatorPkg: Add stub to read redfish host interface serial numberThejaswani Putta1-0/+18
Signed-off-by: Thejaswani Putta <tputta@nvidia.com>
2025-04-02RedfishPkg: Populate serial number in SMBIOS type 42 recordThejaswani Putta4-2/+79
Add a stub function to read host interface USB serial number, append serial number to SMBIOS type 42 record if valid data is returned. Signed-off-by: Thejaswani Putta <tputta@nvidia.com>
2025-04-01Maintainers.txt: Add new maintainer to BaseTools sectionGuillermo Antonio Palomino Sosa1-0/+1
- Updated Maintainers.txt to include Guillermo Antonio Palomino Sosa as a maintainer for the BaseTools section. - Added his contact information: email and GitHub username. Signed-off-by: Guillermo Antonio Palomino Sosa <guillermo.a.palomino.sosa@intel.com>
2025-04-01MdePkg: Fix typo in I2cMaster.h, SetBusFrequench -> SetBusFrequencyYang Gang1-1/+1
Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
2025-03-31StandaloneMmCorePerformanceLib.inf: Add gEfiEventExitBootServicesGuidMichael Kubacki1-1/+1
Adds `gEfiEventExitBootServicesGuid` to the `[Guids]` section and removes `gEdkiiSmmExitBootServicesProtocolGuid` from the `[Protocols]` section for the current implementation. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2025-03-31BaseTools/build: Reduce special FV full to warningMichael D Kinney1-3/+12
If an FV_SPARE_SPACE_THRESHOLD is enabled and an FV is 100% full with 0 bytes free, then this is likely a special FV that may have alignment requirements for the FFS file for both the start address and the length and the FFS file consumes all the available FV space. Reduce FV_SPARE_SPACE_THRESHOLD from an error to a warning if this FV 0 bytes free condition is detected. PR #10828 introduced the generation of these error conditions for an FV with large alignment requirements. The pad region before the aligned FFS file used to be counted as free space even though it could never be used due to the alignment requirements. There was actually no free space available. PR #10828 fixed the free space calculation to properly show it as 0 bytes free, and this change then caused build error when FV_SPARE_SPACE_THRESHOLD feature was enabled. The reduction to a warning for this condition allows the build to complete with errors and also provides a build log warning message for review. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2025-03-31ArmPlatformPkg/PeilessSec: drop _SetSVCMode sequence for ArmLeif Lindholm1-5/+0
_SetSVCMode sits shortly after _ModuleEntryPoint, to switch into SVC mode and mask FIQ and IRQ exceptions (making it badly named to boot). But this should always be the state we start executing in, so most likely this is another remnant of a time when the edk2 image also contained Secure Monitor code, which has not been supported for some time now. Delete the whole stanza and see if anything breaks. Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
2025-03-31ArmPlatformPkg/PeilessSec: drop _SetSVCMode symbol from AArch64Leif Lindholm1-1/+0
AArch64 has no SVC mode, this was clearly copied from the AArch32 version, so drop it. Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
2025-03-31MdeModulePkg/Core: Add Hot Pluggable type to Attribute Conversion TableINDIA\sachinganesh1-0/+1
Hot Pluggable resource attribute was introduced in UEFI 2.11 and PI 1.9 specifications. This type should have an entry in the Attribute Conversion Table. Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
2025-03-27RedfishPkg/RedfishHttpDxe : Fix the incorrect length of the Basic AuthAbner Chang1-2/+3
Use AsciiStrLen function instead of AsciiStrSize to determine the length of Basic Auth string. Signed-off-by: Abner Chang <abner.chang@amd.com>
2025-03-27PrmPkg: Correct the flags for X64 GCC compilerAbdul Lateef Attar2-4/+8
Correct the GCC GenFw and ld flag to build PRM run time modules. These changes are made for X64 GCC compiler, current present for AARCH64 only. Adds addition _X64_OBJCOPY_STRIPFLAG for X64 to retain required symbol during objcopy. Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
2025-03-27MdeModulePkg/Universal: Remove dynamic PcdStatusCodeUseSerial usage in MMJiaxin Wu5-3/+63
This patch is to replace dynamic PcdStatusCodeUseSerial by the gMmStatusCodeUseSerialHobGuid. Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
2025-03-27StandaloneMmPkg: Produce gMmStatusCodeUseSerialHobGuid HOBJiaxin Wu4-0/+49
Produce gMmStatusCodeUseSerialHobGuid as MM Foundation HOB to describe the status code use serial port or not. Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
2025-03-27StandaloneMmPkg: Add gMmStatusCodeUseSerialHobGuid HOB definitionJiaxin Wu2-0/+38
PcdStatusCodeUseSerial can be the dynamic PCD, which can't be used in MM drivers. So, defines gMmStatusCodeUseSerialHobGuid HOB to indicate StatusCode is reported via serial port or not. The value shall match with the PcdStatusCodeUseSerial. Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
2025-03-26BaseTools/FMMT: Fix GUID Tool Not Found the Shell Script IssueJason1 Lin1-3/+3
- FMMT tool would use the "PATH" environment variable for locating the required GUID tool. - On Windows-like system, batch file not found in the "PATH" environment variable when "shell=False". - This issue required commands to include program extensions or absolute paths. - This patch sets "shell=True" to extend the support for batch files, including scripts in BinWrappers under BaseTools. - Converted input commands from lists to strings to ensure proper argument interpretation in POSIX-like shell scripts. Signed-off-by: Jason1 Lin <jason1.lin@intel.com>
2025-03-26MdeModulePkg/DxeCorePerformanceLib: Fix incorrect size calculationWei6 Xu1-2/+3
The values of BootRecordDataPayloadSize and CommSize are incorrect. BootRecordDataPayloadSize should equal to SmmBootRecordDataSize - SmmBootRecordDataRetrieved CommSize should equal to OFFSET_OF (EFI_MM_COMMUNICATE_HEADER,Data) \ + (UINTN)MmCommBufferHeader->MessageLength SmmCommData->BootRecordSize should be set to BootRecordDataPayloadSize, instead of the total size of entire Smm boot record data. Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
2025-03-25BaseTools: Fix missing module PCD in compile information of build reportZhiguang Liu1-1/+1
Module PCD in compile information is missed in module_report.json Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
2025-03-22BaseTools/GenFv: Ensure the minimum pad file size for the FV with VTFPhil Noh1-14/+29
In case of the FV with VTF, the left size should be enough to add the minimum pad file size (EFI_FFS_FILE_HEADER, 0x18). It prevents the build error, "GenFv: ERROR 0006: invalid FFS file header checksum" caused by the pad file overwriting some header data in VTF. This includes these updates for CalculateFvSize() function. 1. If NumBlocks is not defined, ensure the minimum pad file size for the left size (if the pad file is required as VTF is not bottom aligned at end of block, insert EFI_FFS_FILE_HEADER to ensure the pad file size) 2. If NumBlocks is defined, report more clear error message (the required fv image size = 0x%x. the set fv image size = 0x%x. Free space left is not enough to add a pad file (0x18)) 3. Remove MaxPadFileSize, which is reported when the taken size is same as the total size. It can not be the actual left size to add an FFS file. It causes confusion when referring to the build log (FV Space Information) Signed-off-by: Phil Noh <Phil.Noh@amd.com>
2025-03-21MdeModulePkg: Add Standalone MM perf library supportMichael Kubacki8-488/+725
Adds a new library instance to support logging performance data in Standalone MM. - Add StandaloneMmPerformanceLib instance - Move common MM logic to a new file `SmmPerformanceLibInternal.c` - Since the library largely defers most logic to the performance measurement protocol a large degree of code can be shared between Standalone MM and Traditional MM. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2025-03-21MdeModulePkg: Add Standalone MM Core performance supportMichael Kubacki8-1360/+1842
Adds a new library instance to support MM core functionality for performance in Standalone MM. - Add StandaloneMmCorePerformanceLib instance - Move common MM logic to a new file `MmCorePerformanceLib.c` - Define interfaces with implementation specific to MM environment type in `SmmCorePerformanceLibInternal.h` and implement those functions in the Standalone MM and Traditional MM specific C files Note: StandaloneMmCorePerformanceLib supports both `MM_CORE_STANDALONE` and `MM_STANDALONE` as some Standalone MM environments have privilege separation and need to link this functionality in a ring 3 Standalone MM driver that is outside the ring 0 Standalone MM core driver. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2025-03-21MdeModulePkg/DxeCorePerformanceLib: Use EFI_MM_COMMUNICATE_HEADERMichael Kubacki1-7/+7
Refactor the file to use the new type name EFI_MM_COMMUNICATE_HEADER. This is the same type but follows the new name and is more clear with upcoming Standalone MM support being added. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2025-03-21UefiCpuPkg MpInformation2.h: Include PiMultiPhase.hStar Zeng1-5/+4
There will be build failure because of EFI_AP_PROCEDURE definition not found if MpInformation2.h is included by base type library. MpInformation2.h depends on MpService.h because of EFI_PROCESSOR_INFORMATION definition, and then MpService.h depends on PiMultiPhase.h because of EFI_AP_PROCEDURE definition. This patch updates MpInformation2.h to include PiMultiPhase.h instead of PiPei.h and also removes SecPlatformInformation.h including. It also does minor refinement to file header description. Signed-off-by: Star Zeng <star.zeng@intel.com>
2025-03-20MdePkg: IndustryStandard: Rename ACPI SPCR revision 4 structureSarah Walker1-2/+2
The structure for the SPCR revision 4 table was originally named EFI_ACPI_4_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE. This prefix suggests it is an ACPI 4.0 structure, which it is not. This could cause confusion with genuine ACPI 4.0 structures and defines (eg EFI_ACPI_4_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE, which is unrelated to SPCR revision 4). Rename the structure to EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_4. Signed-off-by: Sarah Walker <Sarah.Walker2@arm.com>
2025-03-20Maintainers.txt: Update StandaloneMmPkg reviewerKhor Swee Aun1-0/+1
Add SweeAun as StandaloneMmPkg reviewer. Signed-off-by: Khor Swee Aun <swee.aun.khor@intel.com>
2025-03-20OvmfPkg/IntelTdx: Cache and measure FwCfgCeping Sun2-0/+7
Since OVMF would initialize the platform info with FwCfg, TDVF needs to cache and measure the FwCfg at first. Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-20OvmfPkg/PlatformPei: Cache and measure FwCfg itemsCeping Sun1-0/+4
Since OVMF would initialize the platform info with FwCfg, TDVF needs to cache and measure the FwCfg at first. Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-20OvmfPkg: Refactor QEMU_FW_CFG_CACHE_WORK_AREACeping Sun8-112/+109
Move QemuFwCfgSupported and QemuFwCfgDmaSupported to the struct since they will be used as global variables in the DXE phase along with QEMU_FW_CFG_CACHE_WORK_AREA. Additionally, change its name to QEMU_FW_CFG_WORK_AREA. Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-20OvmfPkg/QemuFwCfgLib: Support Cache FwCfg with optional measurementCeping Sun8-5/+271
OVMF uses FW_CFG_SELECTOR(0x510) and FW_CFG_IO_DATA(0x511) to get configuration information from QEMU. From the security perspective these information shall be measured before they're consumed. This patch reads the FwCfg items and caches them in a GuidHob. In the meanwhile these FwCfg items are measured as well. This is to avoid changing the order when reading the FwCfg process, which depends on multiple factors(depex, order in the Firmware volume). Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-20OvmfPkg/QemuFwCfgLib: Add FwCfg cache interfaceCeping Sun4-0/+565
Since TDVF needs to cache and measure FwCfg, it is required to add an API to support cache with optional measurement and add some internal interfaces to support cache in QemuFwCfgLib. The new API is listed below: QemuFwCfgInitCache() The new Internal interfaces are listed below: InternalQemuFwCfgCacheReadBytes() InternalQemuFwCfgCacheSelectItem() InternalQemuFwCfgCacheGetWorkArea() InternalQemuFwCfgCacheResetWorkArea() InternalQemuFwCfgItemCached() InternalQemuFwCfgCacheReading() InternalQemuFwCfgInitCache() InternalQemuFwCfgCheckOvmfWorkArea() Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-20OvmfPkg/PeilessStartupLib: Build PlatformInfoHob before InitializePlatformCeping Sun1-6/+20
Since the QEMU_FW_CFG_WORK_AREA is saved in EFI_HOB_PLATFORM_INFO and InitializePlatform would read by QemuFwCfg, TDVF should build the PlatformInfoHob before InitializePlatform. Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-20OvmfPkg/PlatformInitLib.h: Add QEMU_FW_CFG_CACHE_WORK_AREACeping Sun1-33/+46
Add QEMU_FW_CFG_CACHE_WORK_AREA in EFI_HOB_PLATFORM_INFO to support reading from cache in QemuFwCfgLib. Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-20OvmfPkg.dec: Add gOvmfFwCfgInfoHobGuidCeping Sun1-0/+1
Since TDVF has to measure FwCfg data from QEMU, it is required to cache the data with measurement in early phase. This can avoid changing the measurement order when reading the FwCfg process, which depends on multiple factors(depex, order in the firmware volume). Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-20SecurityPkg: Add TpmMeasurementLib for SEC phaseCeping Sun4-1/+215
Add the SecTpmMeasurementLib to support TpmMeasurementAndLogData in Sec phase. Cc: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-19Maintainers.txt: Add Shuo Liu as UefiPayloadPkg ReviewerShuo Liu1-0/+1
UefiPayloadPkg is used by non-UEFI bootloaders, e.g. coreboot. Shuo works on Xeon-SP coreboot and will contribute to the reviewing activity for UefiPayloadPkg. Signed-off-by: Shuo Liu <shuo.liu@intel.com>
2025-03-19MdeModulePkg/VarCheckHiiLib: clean up VarCheckHiiLibReceiveHiiBinHandlerLeif Lindholm1-6/+6
Building VarCheckHiiLib fails on my clang 19.1.6 setup with the error variable 'Status' is used uninitialized whenever 'if' condition is false due to the DispatchHandle != NULL test. Calling this function with a NULL handle makes no sense, so move the test to the function entry and return failure if appropriate. Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
2025-03-19MdeModulePkg/VarCheckHiiLib: don't return success for invalid inputLeif Lindholm1-1/+1
The doxygen comment for VarCheckHiiLibReceiveHiiBinHandler says that EFI_INVALID_PARAMETER should be returned if either of CommBuffer or CommBufferSize is NULL, but the test results in an early return of EFI_SUCCESS. Update the code to match the documentation. Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
2025-03-19ArmPkg: Add a protocol notification for gEfiDxeMmReadyToLockProtocolGuidCrystal Lee2-0/+39
Add and install a protocol notification handler for gEfiDxeMmReadyToLockProtocolGuid, in order to to trigger MMI handler to install gEfiMmReadyToLockProtocolGuid protocol in Mm. Signed-off-by: Crystal Lee <CrystalLee@ami.com>
2025-03-18MdeModulePkg/XhciDxe: Adjust out-of-range bInterval valuesJack Pham1-2/+22
When a USB device is enumerated it will report one or more endpoint descriptors which contains a bInterval field which specifies the interval a host should periodically poll for that particular endpoint when scheduling transfers. But the units this value is expressed in (in whole ms, a power of 2 x 1ms, or a power of 2 x 125us) may differ depending on the speed of the device and whether the endpoint is isochronous or interrupt. Some high/super-speed devices, which are supposed to report isoc/int bInterval as a power of 2 x 125us, incorrectly report full-speed bInterval values (that is, in whole units of ms) in their interrupt endpoint descriptors which results in an assertion error due to being out of range of the spec-expected values. Rather than asserting, try to adjust those assuming they were expressed in units of ms with an upper limit of 128ms. Signed-off-by: Jack Pham <jackp@qti.qualcomm.com>
2025-03-18MdeModulePkg/XhciDxe: Refactor endpoint interval calculationJack Pham1-62/+43
Currently the bInterval value must be calculated differently based on whether the endpoint type is isochronous or interrupt, and whether the device is low, full, high or super speed. Plus, this is duplicated for both XhcInitializeEndpointContext() and XhcInitializeEndpointContext64(). To reduce code complexity and duplication, and for future ease of maintenance, factor this logic out to a separate CalculateInterval() helper function. Signed-off-by: Jack Pham <jackp@qti.qualcomm.com>
2025-03-18NetworkPkg/IScsiDxe:Fix for Remote Memory Exposure in ISCSI bz4206Madhavan1-2/+8
Used SafeUint32Add to calculate and validate OutTransferLength with boundary check in IScsiOnR2TRcvd to avoid integer overflow Signed-off-by: Madhavan <madavtechy@gmail.com>
2025-03-18UefiCpuPkg: Remove TdxMeasurementLibCeping Sun5-207/+0
Since TdxMeasurementLib has been moved to MdeModulePkg, the duplicate code should be removed. Cc: Ray Ni <ray.ni@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-18OvmfPkg: Update the .INF file for the changes of TdxMeasurementLibCeping Sun4-4/+1
Since the TdxMeasurementLib has been moved from UefiCpuPkg to MdeModulePkg, the [Packages] section in .INF file shall be updated accordingly. Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2025-03-18MdeModulePkg: Move TdxMeasurementLib from UefiCpuPkgCeping Sun5-0/+207
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 <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>