audk/UefiCpuPkg/Include/Library
Jiaxin Wu af9b851732 UefiCpuPkg: Add SmmRelocationLib class
Intel plans to separate the smbase relocation logic from
PiSmmCpuDxeSmm driver, and the related behavior will be
moved to the new interface defined by the SmmRelocationLib
class.

The SmmRelocationLib class provides the SmmRelocationInit()
interface for platform to do the smbase relocation, which
shall provide below 2 functionalities:
1. Relocate smbases for each processor.
2. Create the gSmmBaseHobGuid HOB.

With SmmRelocationLib, PiSmmCpuDxeSmm driver (which runs at
a later phase) shall:
1. Consume the gSmmBaseHobGuid HOB for the relocated smbases
for each Processor.
2. Execute the early SMM Init.

This patch just provides the SmmRelocationLib class.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Zeng Star <star.zeng@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
2024-05-08 01:53:58 +00:00
..
AmdSvsmLib.h UefiCpuPkg/AmdSvsmLib: Create the AmdSvsmLib library to support an SVSM 2024-04-17 18:30:03 +00:00
BaseRiscVMmuLib.h UefiCpuPkg: RISC-V: Support MMU with SV39/48/57 mode 2023-07-15 14:10:18 +00:00
CcExitLib.h OvmfPkg/UefiCpuPkg: Add CcExit prefix to the APIs of CcExitLib 2022-11-14 04:55:34 +00:00
CpuCacheInfoLib.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuMmuLib.h UefiCpuPkg: Add CpuMmuLib.h to UefiCpuPkg 2024-04-16 06:00:32 +00:00
CpuPageTableLib.h UefiCpuPkg: Fix issue that IsModified is wrongly set in PageTableMap 2024-02-22 03:28:55 +00:00
LocalApicLib.h UefiCpuPkg: Add SendStartupIpiAllExcludingSelf 2023-08-14 14:40:41 +00:00
MicrocodeLib.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MmSaveStateLib.h UefiCpuPkg: Adds MmSaveStateLib library class 2023-07-03 03:01:10 +00:00
MpInitLib.h UefiCpuPkg: set EXTENDED_PROCESSOR_INFORMATION to 0 2024-01-09 16:31:57 +00:00
MtrrLib.h UefiCpuPkg/MtrrLib: Add API MtrrGetMemoryAttributesInMtrrSettings. 2023-10-09 08:22:02 +00:00
PlatformSecLib.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RegisterCpuFeaturesLib.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmCpuFeaturesLib.h UefiCpuPkg: Removes SmmCpuFeaturesReadSaveStateRegister 2023-07-03 03:01:10 +00:00
SmmCpuPlatformHookLib.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmCpuSyncLib.h UefiCpuPkg: Adds SmmCpuSyncLib library class 2023-12-20 02:30:56 +00:00
SmmRelocationLib.h UefiCpuPkg: Add SmmRelocationLib class 2024-05-08 01:53:58 +00:00