summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2017-03-27 15:00:00 +0800
committerJeff Fan <jeff.fan@intel.com>2017-03-28 09:49:29 +0800
commit844b2d072d6405806398f096acc904e478d7299d (patch)
treeb34fe58b90f5209e4d334f4741686f1802ca56d8 /MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
parent98eb009563691bd940f3d31cc8a2c1c8478cd605 (diff)
downloadedk2-844b2d072d6405806398f096acc904e478d7299d.tar.gz
edk2-844b2d072d6405806398f096acc904e478d7299d.tar.bz2
edk2-844b2d072d6405806398f096acc904e478d7299d.zip
UefiCpuPkg/MpLib.c: Add checking CR0 PG bit
If CR0 PG bit is not set, it means paging is not enabled on BSP. Thus, Execute Disable feature is not working actually. Thus, we cannot enable it on APs. v2: Correct the commit log. Cc: Feng Tian <feng.tian@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c')
0 files changed, 0 insertions, 0 deletions