From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=jian.j.wang@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B66AE21B00DC1 for ; Mon, 20 Nov 2017 22:13:14 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2017 22:17:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,432,1505804400"; d="scan'208";a="4155481" Received: from jwang36-mobl2.ccr.corp.intel.com ([10.239.193.240]) by FMSMGA003.fm.intel.com with ESMTP; 20 Nov 2017 22:17:28 -0800 From: Jian J Wang To: edk2-devel@lists.01.org Date: Tue, 21 Nov 2017 14:17:23 +0800 Message-Id: <20171121061725.11028-1-jian.j.wang@intel.com> X-Mailer: git-send-email 2.14.1.windows.1 Subject: [PATCH v7 0/2] Fix multiple entries of RT_CODE in memory map X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 06:13:14 -0000 > v7: > Merge memory map after filtering paging attributes More than one entry of RT_CODE memory might cause boot problem for some old OSs. This patch will fix this issue to keep OS compatibility as much as possible. Jian J Wang (2): MdeModulePkg/DxeCore: Filter out all paging capabilities UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map MdeModulePkg/Core/Dxe/DxeMain.h | 18 ++++++ MdeModulePkg/Core/Dxe/Mem/Page.c | 21 +++++++ MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 1 - UefiCpuPkg/CpuDxe/CpuPageTable.c | 94 +++++++++++++++++++++------- 4 files changed, 112 insertions(+), 22 deletions(-) -- 2.14.1.windows.1