From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web08.4099.1665468037331511760 for ; Mon, 10 Oct 2022 23:00:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=R6+Bys/7; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: dun.tan@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665468037; x=1697004037; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=WU9hhWQK0SOGpUuuMktPbuCjc1X8yZLr6ts7LekzKBs=; b=R6+Bys/7BW5n2+L5IjWWcTser4AC823ICYp0a7kAztYaHz8695+pGtes 9B+eZ7eslFhM/Zw371E19sp1BRUMs6vv1cyhXPTqNPbXMwIC5zxXWWIvK J/Wxmzhx7B5XGVgpUslD5nhFh6xvrAtr8Mai72PajA5i6nytgawCw0FpN T/PtO543WUDPrHAHFTzQKAhA+BNen2W83ujo28kOuc3Pep351HXMsQPNg gdpxBJySc0l4mpOF4Z4C3eGZNNwaKaRU/srrpYyW4FEnEAgw7fq1NksT7 XVMHlmYoVI9L1skP9KQCqdczmk0nl20n/94shBPivX4DA7ZahiZYhoGR2 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="306039689" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="306039689" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2022 23:00:20 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="604012718" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="604012718" Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.56.220]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2022 23:00:19 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Eric Dong , Ray Ni , Rahul Kumar Subject: [PATCH] UefiCpuPkg/CpuPageTableLib:Support PAE paging for PageTableParse Date: Tue, 11 Oct 2022 13:59:35 +0800 Message-Id: <20221011055935.457-1-dun.tan@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Support PAE paging for PageTableParse API in CpuPageTableLib. Signed-off-by: Dun Tan Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar --- UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c b/UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c index e66961e122..65490751ab 100644 --- a/UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c +++ b/UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c @@ -270,10 +270,9 @@ PageTableParse ( IA32_MAP_ENTRY OneEntry; UINTN MaxLevel; - if ((PagingMode == Paging32bit) || (PagingMode == PagingPae) || (PagingMode >= PagingModeMax)) { + if ((PagingMode == Paging32bit) || (PagingMode >= PagingModeMax)) { // // 32bit paging is never supported. - // PAE paging will be supported later. // return RETURN_UNSUPPORTED; } -- 2.31.1.windows.1