audk/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32
Jiaxin Wu 2727231b0a UefiCpuPkg/PiSmmCpuDxeSmm: Remove SmBases relocation logic
This patch is to remove legacy SmBase relocation in
PiSmmCpuDxeSmm Driver. The responsibility for SmBase
relocation has been transferred to the SmmRelocationInit
interface, which now handles the following tasks:
1. Relocates the SmBase for each processor.
2. Generates the gSmmBaseHobGuid HOB.

As a result of this change, the PiSmmCpuDxeSmm driver's
role in SMM environment setup is simplified to:
1. Utilize the gSmmBaseHobGuid to determine the SmBase.
2. Perform the ExecuteFirstSmiInit() to do early SMM
initialization.

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
..
Cet.nasm UefiCpuPkg: Use macro CR4_CET_BIT to replace hard code value in Cet.nasm. 2023-12-07 09:43:43 +00:00
MpFuncs.nasm UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PageTbl.c UefiCpuPkg: Add GenSmmPageTable() to create smm page table 2023-06-30 11:07:40 +05:30
SmiEntry.nasm UefiCpuPkg: Backup and Restore MSR IA32_U_CET in SMI handler. 2023-12-07 09:43:43 +00:00
SmiException.nasm UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SmmFuncsArch.c UefiCpuPkg: Extern mSmmShadowStackSize in PiSmmCpuDxeSmm.h 2023-06-30 11:07:40 +05:30
SmmProfileArch.c UefiCpuPkg: Use GenSmmPageTable() to create Smm S3 page table 2023-06-30 11:07:40 +05:30
SmmProfileArch.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00