]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuCacheInfoLib: Support no enabled AP case in DxeLib
authorLou, Yun <Yun.Lou@intel.com>
Mon, 1 Feb 2021 08:28:50 +0000 (16:28 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 3 Feb 2021 07:41:46 +0000 (07:41 +0000)
commite806bb29cfde1b242bb37e72e77364dd812830e0
tree0a73c3173fd6b55e42e33b37dba0c96676574a75
parent51b96e4b4cb6d68093f7c7004d4716152ad3ac79
UefiCpuPkg/CpuCacheInfoLib: Support no enabled AP case in DxeLib

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3195

Support system has no enabled AP case in DxeCpuCacheInfoLib.
Otherwise, if the system only has 1 BSP without any enabled AP,
UEFI POST hangs when invoking StartupAllAPs protocol because
EFI_NOT_STARTED is returned.

Signed-off-by: Jason Lou <yun.lou@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.c