summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/AutoGen/GenMake.py
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2018-03-02 10:46:05 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-03-08 17:07:14 +0800
commitbc2288f59ba2d613643ba66a9638bcc8c7340ddb (patch)
tree5b47438275036a44d026fb209f0dcfdaa6b418dd /BaseTools/Source/Python/AutoGen/GenMake.py
parent8b13bca9b81490fc0e42df25d5feb82bbb47833e (diff)
downloadedk2-bc2288f59ba2d613643ba66a9638bcc8c7340ddb.tar.gz
edk2-bc2288f59ba2d613643ba66a9638bcc8c7340ddb.tar.bz2
edk2-bc2288f59ba2d613643ba66a9638bcc8c7340ddb.zip
UefiCpuPkg/MpInitLib: put mReservedApLoopFunc in executable memory
if PcdDxeNxMemoryProtectionPolicy is enabled for EfiReservedMemoryType of memory, #PF will be triggered for each APs after ExitBootServices in SCRT test. The root cause is that AP wakeup code executed at that time is stored in memory of type EfiReservedMemoryType (referenced by global mReservedApLoopFunc), which is marked as non-executable. This patch fixes this issue by setting memory of mReservedApLoopFunc to be executable immediately after allocation. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenMake.py')
0 files changed, 0 insertions, 0 deletions