diff options
author | Jian J Wang <jian.j.wang@intel.com> | 2018-01-15 10:21:08 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-01-18 17:03:25 +0800 |
commit | 94c0129d244f91fa0a7b122414872da49a35f853 (patch) | |
tree | ee2415ecebc2c71685e57de42a1c2d3151b0e38b /BaseTools/Source/Python/build/build.py | |
parent | d4d87596c11d6e3f8220b6d9677797c802af3a33 (diff) | |
download | edk2-94c0129d244f91fa0a7b122414872da49a35f853.tar.gz edk2-94c0129d244f91fa0a7b122414872da49a35f853.tar.bz2 edk2-94c0129d244f91fa0a7b122414872da49a35f853.zip |
MdeModulePkg/PiSmmCore: remove NX attr for SMM RAM
If PcdDxeNxMemoryProtectionPolicy is set to enable protection for memory
of EfiReservedMemoryType, the BIOS will hang at a page fault exception
during starting SMM driver.
The root cause is that SMM RAM is type of EfiReservedMemoryType and
marked as non-executable. The fix is simply removing NX attribute for
those memory.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/build/build.py')
0 files changed, 0 insertions, 0 deletions