audk/UefiCpuPkg/CpuMpPei
Ray Ni 3b769c5110 UefiCpuPkg/CpuMp: Fix hang when StackGuard is enabled in 16-core cpu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3167

When StackGuard is enabled, the CpuMp driver allocates
known good stacks for all CPUs for DF# and PF# exceptions.
It uses AllocatePool to do so.

The size needed equals to 64KB
= StackSize (2K) * ExceptionNumber (2) * NumberOfProcessors (16)

However, AllocatePool max allocation size is less than 64K.
To fix the issue, AllocatePages() is used.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
2021-01-22 03:23:53 +00:00
..
CpuBist.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
CpuMp2Pei.c UefiCpuPkg/CpuMpPei: Produce EDKII_PEI_MP_SERVICES2_PPI. 2019-07-29 09:25:20 +08:00
CpuMpPei.c UefiCpuPkg/CpuMp: Fix hang when StackGuard is enabled in 16-core cpu 2021-01-22 03:23:53 +00:00
CpuMpPei.h UefiCpuPkg/CpuMp: Fix hang when StackGuard is enabled in 16-core cpu 2021-01-22 03:23:53 +00:00
CpuMpPei.inf UefiCpuPkg/CpuMp: Fix hang when StackGuard is enabled in 16-core cpu 2021-01-22 03:23:53 +00:00
CpuMpPei.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
CpuMpPeiExtra.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
CpuPaging.c UefiCpuPkg: Correct some typos. 2020-07-28 01:43:16 +00:00