audk/UefiCpuPkg/Library/MpInitLib
Gerd Hoffmann d25421d0d8 UefiCpuPkg/MpInitLib: return early in GetBspNumber()
After finding the BSP Number return the result instead of
continuing to loop over the remaining processors.

Suggested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20240222160106.686484-7-kraxel@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
[lersek@redhat.com: s/ASSERT (FALSE)/ASSERT_EFI_ERROR (EFI_NOT_FOUND)/ [Ray]]
2024-02-26 21:56:21 +00:00
..
Ia32 UefiCpuPkg: ApWakeupFunction directly use CpuMpData. 2023-07-11 02:47:27 +00:00
X64 UefiCpuPkg: ApWakeupFunction directly use CpuMpData. 2023-07-11 02:47:27 +00:00
AmdSev.c UefiCpuPkg/MpInitLib: Use AsmCpuidEx() for CPUID_EXTENDED_TOPOLOGY leaf 2023-11-28 11:07:59 +00:00
DxeMpInitLib.inf UefiCpuPkg: Add PcdFirstTimeWakeUpAPsBySipi 2023-08-14 14:40: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: Correct file description for MpHandOff header file 2023-10-31 20:55:37 +00:00
MpLib.c UefiCpuPkg/MpInitLib: return early in GetBspNumber() 2024-02-26 21:56:21 +00:00
MpLib.h UefiCpuPkg/MpInitLib: Add support for multiple HOBs to SwitchApContext() 2024-02-26 21:56:21 +00:00
PeiMpInitLib.inf UefiCpuPkg: Add PcdFirstTimeWakeUpAPsBySipi 2023-08-14 14:40: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 support for multiple HOBs to SaveCpuMpData() 2024-02-26 21:56:21 +00:00