audk/UefiCpuPkg/Library/MpInitLib
Ning Feng 88a4de450f UefiCpuPkg/MpLib:Do not assume BSP is #0.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4778

MPInitlib have wrong expectation that BSP index should always be 0 in
MpInitLibInitialize(), SwitchBsp(),ApWakeupFunction().
That will cause the data mismatch, if the initial BSP is not 0.

Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Ning Feng <ning.feng@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
2024-05-27 10:04:25 +08:00
..
Ia32 UefiCpuPkg/MpInitLib: Use AmdSvsmSnpVmsaRmpAdjust() to set/clear VMSA 2024-04-17 20:04:41 +00:00
LoongArch64 UefiCpuPkg: Add multiprocessor library for LoongArch64 2024-04-16 06:00:32 +00:00
X64 UefiCpuPkg/MpInitLib: AP creation support under an SVSM 2024-04-17 20:04:41 +00:00
AmdSev.c UefiCpuPkg/MpInitLib: Use AsmCpuidEx() for CPUID_EXTENDED_TOPOLOGY leaf 2023-11-28 11:07:59 +00:00
DxeMpInitLib.inf UefiCpuPkg/MpInitLib: Use AmdSvsmSnpVmsaRmpAdjust() to set/clear VMSA 2024-04-17 20:04:41 +00:00
DxeMpInitLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
DxeMpLib.c UefiCpuPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Microcode.c UefiCpuPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
MpEqu.inc UefiCpuPkg/MpInitLib: Update the comments of _CPU_MP_DATA. 2023-11-27 05:21:45 +00:00
MpHandOff.h UefiCpuPkg/MpInitLib: add struct MP_HAND_OFF_CONFIG 2024-02-29 09:56:38 +00:00
MpLib.c UefiCpuPkg/MpLib:Do not assume BSP is #0. 2024-05-27 10:04:25 +08:00
MpLib.h UefiCpuPkg/MpInitLib: Use AmdSvsmSnpVmsaRmpAdjust() to set/clear VMSA 2024-04-17 20:04:41 +00:00
PeiMpInitLib.inf UefiCpuPkg/MpInitLib: Use AmdSvsmSnpVmsaRmpAdjust() to set/clear VMSA 2024-04-17 20:04:41 +00:00
PeiMpInitLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PeiMpLib.c UefiCpuPkg/MpInitLib: add struct MP_HAND_OFF_CONFIG 2024-02-29 09:56:38 +00:00