commit | 2af2988f3a0268b02d87a97d5b6d7b65b17c0b03 | [log] [tgz] |
---|---|---|
author | Jian J Wang <jian.j.wang@intel.com> | Thu Aug 23 15:58:31 2018 +0800 |
committer | Jian J Wang <jian.j.wang@intel.com> | Mon Sep 10 09:28:26 2018 +0800 |
tree | a4968ad2c7926b6e4e679b7b94be46395aafdb01 | |
parent | 4b2dc555d8a67e715d8fafab4c9131791d31a788 [diff] |
MdeModulePkg/DxeIpl: disable paging before creating new page table PEI Stack Guard needs to enable paging before DxeIpl. This might cause #GP in the transition from 32-bit PEI to 64-bit DXE due to the code trying to write CR3 register with PML4 page table while the processor is enabled with PAE paging. Simply disabling paging before updating CR3 can solve this conflict. There's no such issue for 64-bit PEI so this change applies only to 32-bit code. Cc: Star Zeng <star.zeng@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: "Ware, Ryan R" <ryan.r.ware@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
A modern, feature-rich, cross-platform firmware development environment for the UEFI and PI specifications from www.uefi.org.
Contributions to the EDK II open source project are covered by the TianoCore Contribution Agreement 1.1
The majority of the content in the EDK II open source project uses a BSD 2-Clause License. The EDK II open source project contains the following components that are covered by additional licenses:
The EDK II Project is composed of packages. The maintainers for each package are listed in Maintainers.txt.