summaryrefslogtreecommitdiffstats
path: root/edksetup.bat
diff options
context:
space:
mode:
authorNi, Ray <ray.ni@intel.com>2021-08-06 16:16:26 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-08 04:08:21 +0000
commitca78281c2595a58dcb2e2cb20352914e2f6dafec (patch)
treeb381d179e28332d71ad7af668fa73f4227100aef /edksetup.bat
parent1832eb15aa4e2660bd69e03897cf14f3704f74a0 (diff)
downloadedk2-ca78281c2595a58dcb2e2cb20352914e2f6dafec.tar.gz
edk2-ca78281c2595a58dcb2e2cb20352914e2f6dafec.tar.bz2
edk2-ca78281c2595a58dcb2e2cb20352914e2f6dafec.zip
UefiPayloadPkg/PayloadEntry: Inherit 4/5-level paging from bootloader
The patch removes the dep on PcdUse5LevelPageTable. Now the payload inherits the 5-level paging setting from bootloader in IA-32e mode and uses 4-level paging in legacy protected mode. This fix the potential issue when bootloader enables 5-level paging but 64bit payload sets 4-level page table to CR3 resulting CPU exception because PcdUse5LevelPageTable is FALSE. Signed-off-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Guo Dong <guo.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com> Cc: Benjamin You <benjamin.you@intel.com>
Diffstat (limited to 'edksetup.bat')
0 files changed, 0 insertions, 0 deletions