]> git.proxmox.com Git - mirror_edk2.git/commit
MpInitLib: Allocate code buffer for PEI phase
authorRay Ni <ray.ni@intel.com>
Sat, 7 May 2022 09:10:49 +0000 (17:10 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 10 Jun 2022 12:15:49 +0000 (12:15 +0000)
commit54aeed7e0086724820370e3a3cfac2c7438ebc8d
tree529898e5c68e22e06cd6b44be628dfbd6ab92014
parente7abb94d1fb8a0e7725b983bbf5ab1334afe7ed1
MpInitLib: Allocate code buffer for PEI phase

Today's implementation assumes PEI phase runs at 32bit so
the execution-disable feature is not applicable.
It's not always TRUE.
The patch allocates 32bit&64bit code buffer for PEI phase as well.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
UefiCpuPkg/Library/MpInitLib/MpLib.c
UefiCpuPkg/Library/MpInitLib/MpLib.h
UefiCpuPkg/Library/MpInitLib/PeiMpLib.c