UefiCpuPkg/CpuPageTableLib:Support PAE paging for PageTableParse

Support PAE paging for PageTableParse API in CpuPageTableLib.

Signed-off-by: Dun Tan <dun.tan@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
This commit is contained in:
Tan, Dun 2022-10-11 13:59:35 +08:00 committed by mergify[bot]
parent a7e070808c
commit b8e54e15de

View File

@ -270,10 +270,9 @@ PageTableParse (
IA32_MAP_ENTRY OneEntry; IA32_MAP_ENTRY OneEntry;
UINTN MaxLevel; UINTN MaxLevel;
if ((PagingMode == Paging32bit) || (PagingMode == PagingPae) || (PagingMode >= PagingModeMax)) { if ((PagingMode == Paging32bit) || (PagingMode >= PagingModeMax)) {
// //
// 32bit paging is never supported. // 32bit paging is never supported.
// PAE paging will be supported later.
// //
return RETURN_UNSUPPORTED; return RETURN_UNSUPPORTED;
} }