mirror of https://github.com/acidanthera/audk.git
af9b851732
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> |
||
---|---|---|
.. | ||
AmdSvsmLib.h | ||
BaseRiscVMmuLib.h | ||
CcExitLib.h | ||
CpuCacheInfoLib.h | ||
CpuMmuLib.h | ||
CpuPageTableLib.h | ||
LocalApicLib.h | ||
MicrocodeLib.h | ||
MmSaveStateLib.h | ||
MpInitLib.h | ||
MtrrLib.h | ||
PlatformSecLib.h | ||
RegisterCpuFeaturesLib.h | ||
SmmCpuFeaturesLib.h | ||
SmmCpuPlatformHookLib.h | ||
SmmCpuSyncLib.h | ||
SmmRelocationLib.h |