summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2018-10-15 08:30:37 +0800
committerEric Dong <eric.dong@intel.com>2018-10-15 08:36:40 +0800
commit55e8ff01af77117dc276b3481ae364141012c52b (patch)
tree6c472d25261c0b83023412fefdcc8d654abd71e2 /BaseTools/Source/Python/GenFds
parent1ccc4d895dd8d659d016efcd6ef8a48749aba1d0 (diff)
downloadedk2-55e8ff01af77117dc276b3481ae364141012c52b.tar.gz
edk2-55e8ff01af77117dc276b3481ae364141012c52b.tar.bz2
edk2-55e8ff01af77117dc276b3481ae364141012c52b.zip
UefiCpuPkg/S3Resume2Pei: disable paging before creating new page table.
V5: 1. Add ASSERT to indicate this assumption that environment is 32 bit mode. 2. Add description in INF about this driver's expected result in different environment. V4: Only disable paging when it is enabled. V3 changes: No need to change inf file. V2 changes: Only disable paging in 32 bit mode, no matter it is enable or not. V1 changes: PEI Stack Guard needs to enable paging. This might cause #GP if 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. It's an regression caused by change: 0a0d5296e448fc350de1594c49b9c0deff7fad60 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1232 Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Jian J Wang <jian.j.wang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds')
0 files changed, 0 insertions, 0 deletions