audk/UefiCpuPkg/Include
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
..
Guid UefiCpuPkg/MpInitLib: Always use AP Create if GhcbApicIds HOB is present 2024-04-17 18:30:03 +00:00
Library UefiCpuPkg: Add SmmRelocationLib class 2024-05-08 01:53:58 +00:00
Ppi UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Protocol UefiCpuPkg: Add RISCV_EFI_BOOT_PROTOCOL related definitions 2023-02-16 05:53:28 +00:00
Register UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
AcpiCpuData.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuHotPlugData.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
StuffRsbNasm.inc UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00