audk/UefiCpuPkg/Library/MpInitLib
Xie, Yuanhao facf52aeb8 UefiCpuPkg: Put APs in 64 bit mode before handoff to OS.
Add the 'AsmRelocateApLoopStartGeneric' for X64 processors except 64-bit
 AMD processors with SEV-ES.

Remove the unused arguments of AsmRelocateApLoopStartGeneric, updated
the stack offset.

Create PageTable for the allocated reserved memory.

Only keep 4GB limitation of memory allocation for the case APs still
need to be transferred to 32-bit mode before OS.

Cc: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Cc: James Lu <james.lu@intel.com>
Cc: Gua Guo <gua.guo@intel.com>
Signed-off-by: Yuanhao Xie <yuanhao.xie@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
2023-03-07 08:14:59 +00:00
..
Ia32 UefiCpuPkg: Put APs in 64 bit mode before handoff to OS. 2023-03-07 08:14:59 +00:00
X64 UefiCpuPkg: Put APs in 64 bit mode before handoff to OS. 2023-03-07 08:14:59 +00:00
AmdSev.c OvmfPkg/UefiCpuPkg: Add CcExit prefix to the APIs of CcExitLib 2022-11-14 04:55:34 +00:00
DxeMpInitLib.inf UefiCpuPkg: Put APs in 64 bit mode before handoff to OS. 2023-03-07 08:14:59 +00:00
DxeMpInitLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
DxeMpLib.c UefiCpuPkg: Put APs in 64 bit mode before handoff to OS. 2023-03-07 08:14:59 +00:00
Microcode.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MpEqu.inc UefiCpuPkg: Put APs in 64 bit mode before handoff to OS. 2023-03-07 08:14:59 +00:00
MpLib.c OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00
MpLib.h UefiCpuPkg: Put APs in 64 bit mode before handoff to OS. 2023-03-07 08:14:59 +00:00
PeiMpInitLib.inf OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00
PeiMpInitLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PeiMpLib.c UefiCpuPkg: Use Top of each AP's stack to save CpuMpData 2022-08-31 04:23:55 +00:00