From nobody Thu May 9 06:14:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+94968+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94968+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1665468039; cv=none; d=zohomail.com; s=zohoarc; b=GPoLOYs/+HUwKHscpw1Y/sz8ktTx5WN26e+ERP0P/tjDRcdahmuyginJIVTQ25S4wbxY8x6e7voo5zrkoTV1uQgA1kJ3PBrVTR6yjgL7e4qBR9wDpNqkfyAoacQ3gYvdaa8meSlxwGUCi7t2KQ9CKNjrtnGsxty1aBqt3skZD0M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1665468039; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=dogSKvLJhXH6F6ikPkYcNTCZavHKqjI3ns9imqc53VQ=; b=KmuchCRWroihAEK1MBdDpnSvG1YyVjeChc9bhmwyRCU/kiNHj3e+DsIBKV/zxgOrpLMoHwBM20koK+7VfT2Wyysm9O/3bNahw0TRyL4uIzaSUGzVvlBqLJVt27LFU1Hq7ZTC5aDT808TjfBQcWOGWCL1W9XReuji/1fh7caOCa8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94968+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1665468039225812.147959793449; Mon, 10 Oct 2022 23:00:39 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZxF3YY1788612xqtYkR42YQ3; Mon, 10 Oct 2022 23:00:38 -0700 X-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 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" X-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" X-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: [edk2-devel] [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> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dun.tan@intel.com X-Gm-Message-State: Z1F8idqdsinKmuRY83a3Ld3lx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1665468038; bh=l6cjqJ/qQSAXePvBlCu8uqRh97uj0xC3ZDZKxMrXX7Y=; h=Cc:Date:From:Reply-To:Subject:To; b=WFqP0v6E1U0shydzVGejHIdmUVFf2aLm6X5eeaf+mBDsXTOfQ6QIL6p9ueigO8k40u6 Kb8PK/CICowWgCzTP3QHNx1/UzlPhJFd4lUQu1LVHaXFUXnry0+gPSgx7FjmNERDsTIuT ByJ8+ThhJLRFlUCD6Pv04MG/dwgEVKrC0gg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1665468040616100001 Content-Type: text/plain; charset="utf-8" Support PAE paging for PageTableParse API in CpuPageTableLib. Signed-off-by: Dun Tan Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Reviewed-by: Ray Ni --- UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c b/UefiC= puPkg/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; =20 - if ((PagingMode =3D=3D Paging32bit) || (PagingMode =3D=3D PagingPae) || = (PagingMode >=3D PagingModeMax)) { + if ((PagingMode =3D=3D Paging32bit) || (PagingMode >=3D PagingModeMax)) { // // 32bit paging is never supported. - // PAE paging will be supported later. // return RETURN_UNSUPPORTED; } --=20 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#94968): https://edk2.groups.io/g/devel/message/94968 Mute This Topic: https://groups.io/mt/94253417/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-