From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web09.6938.1647014336719041913 for ; Fri, 11 Mar 2022 07:58:57 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=IO0zt8PQ; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: yun.lou@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647014336; x=1678550336; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=d/awFOMsiLf6nXImXR1Nm0o45OmVZwkLgv2lNeEY/50=; b=IO0zt8PQcvcgu2IcXH43KLcbfNFBJrv6d/P3aKj9brJKwriVgC6GZYIb JFyX48yJo6BjWJgZAW0JFjErseFbntf7JFOyLISlTok1TiMCl2YP5Hvbg /2pIasPrlFcvJ3prYXjukhbh+VwPpQoGGspRNu/3YATyTXnj2tmNNDe75 IIN/CB43LOujTLs2eJeRddkBv9yVFSbj/nmqFYNyLNBaE0N3LLvBOyrCf AWztfQemdU6wtJf/SoYeWS9L7K6T964PHPQ9d8MiftIOzTcw/hNkTB1iP JJzILmgn2iY6xs5dLx3cXrgXiPhZ1rNZnobbcVqWwatNHM3cJ+QXvZEfn g==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="318818535" X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="318818535" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 07:58:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="555353302" Received: from shwdeopenlab102.ccr.corp.intel.com ([10.239.182.138]) by orsmga008.jf.intel.com with ESMTP; 11 Mar 2022 07:58:54 -0800 From: "Jason Lou" To: devel@edk2.groups.io Cc: Jason , Ray Ni , Dandan Bi , Liming Gao Subject: [PATCH v1] MdeModulePkg/DxeIpl: Create 5-level page table for long mode Date: Fri, 11 Mar 2022 23:58:51 +0800 Message-Id: <20220311155851.2304-1-yun.lou@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2008 Correct the logic about whether 5-level paging is supported. Signed-off-by: Jason Lou Cc: Ray Ni Cc: Dandan Bi Cc: Liming Gao --- MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c b/MdeModulePk= g/Core/DxeIplPeim/X64/VirtualMemory.c index 0700f310b2..1ebab27820 100644 --- a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c +++ b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c @@ -15,7 +15,7 @@ 2) IA-32 Intel(R) Architecture Software Developer's Manual Volume 2:In= struction Set Reference, Intel=0D 3) IA-32 Intel(R) Architecture Software Developer's Manual Volume 3:Sy= stem Programmer's Guide, Intel=0D =0D -Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
=0D +Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.
=0D Copyright (c) 2017, AMD Incorporated. All rights reserved.
=0D =0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D @@ -748,8 +748,8 @@ CreateIdentityMappingPageTables ( CPUID_STRUCTURED_EXTENDED_FEATURE_FLAGS,=0D CPUID_STRUCTURED_EXTENDED_FEATURE_FLAGS_SUB_LEAF_INFO,=0D NULL,=0D - &EcxFlags.Uint32,=0D NULL,=0D + &EcxFlags.Uint32,=0D NULL=0D );=0D if (EcxFlags.Bits.FiveLevelPage !=3D 0) {=0D --=20 2.28.0.windows.1