From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web08.2543.1660189889088559202 for ; Wed, 10 Aug 2022 20:51:29 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=W11MXvNY; spf=pass (domain: intel.com, ip: 192.55.52.43, 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=1660189889; x=1691725889; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=a5zJYQRthyi9WNjtyyNvmsg9zLKD2ktr6dDt1uXu74U=; b=W11MXvNYhbFpKEuD30wtXqS2EITX2KlYJK74Jc+lTu2KcM8uUGYLmg7X hfsEK9ArirANY4kebS5BobR70IP1a92Uan1JhhVmQzNjfdX2BQGiydMux asO9g+SUlbrpy0V3r4X7cBRkDJAe3MqLHMgsmb08ajgm8SroOYBhNMgXL 11yJGYd0jClkkVuRcdObhJh8iPTr4eyL/qitx3DXkDEnpUoFt/gKa7L43 WhJQ31nMW7IAr8A7+uvDQIVvTQXjO/52t7q2sABs3Z8AD+k7jT/QDENQ9 dtBqK4H+/ZU7TniC3HnTTZ9Z+e3vneX0I+25fq5ycbctlMxRKlBhX4c5E Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10435"; a="377541680" X-IronPort-AV: E=Sophos;i="5.93,228,1654585200"; d="scan'208";a="377541680" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2022 20:51:28 -0700 X-IronPort-AV: E=Sophos;i="5.93,228,1654585200"; d="scan'208";a="665190572" Received: from duntan-mobl.ccr.corp.intel.com ([10.239.157.47]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2022 20:51:28 -0700 From: "duntan" To: devel@edk2.groups.io Subject: [Patch V3 0/2] Remove mInternalCr3 and Add a new mIsShadowStack Date: Thu, 11 Aug 2022 11:51:11 +0800 Message-Id: <20220811035113.694-1-dun.tan@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Modify type of mIsShadowStack to BOOLEAN. Move m5LevelPagingNeeded from X64 file to common file to fix IA32 build failure Dun Tan (2): UefiCpuPkg/PiSmmCpuDxeSmm: Add a new mIsShadowStack flag UefiCpuPkg/PiSmmCpuDxeSmm: Remove mInternalCr3 in PiSmmCpuDxeSmm UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 30 +++++------------------------- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 26 +++++++++----------------- UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------- UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | 74 +++++++++++++++++++++++--------------------------------------------------- 4 files changed, 99 insertions(+), 148 deletions(-) -- 2.31.1.windows.1