From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.1038.1660095953631651306 for ; Tue, 09 Aug 2022 18:45:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=MwPt8lM7; spf=pass (domain: intel.com, ip: 134.134.136.20, 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=1660095953; x=1691631953; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=68XcWN+Fe9xNDhy+l46VGXj4bi6XvCpIiQmMWRRi/dg=; b=MwPt8lM7Y2OhVr0kLUmvV7kxfEvyE8f2s4SHYMDHKJBdvRQH7mnWCecS 7PD3tOlAFaOwlJGIrmtIup5liVwhx6pQiwwelM+p+8Xz1D0ii1M2ae1X9 M8u8YY4XwQLExqyWn2K0r25eM4rSXy7TBXCbdi5HdxVviioKqoqN09lPI ciJrnxyy7CVfZh1fA1pF0NYrKw2cHPbWS17BMpnAJx4ePDux/eAc4/9nX 4SR/zwhwbyzAAeZ/8OmUp6CBXv2jeyjq8nDWv6a5WyK0tPafhbjqlDnGo xXeXrSM5Q1RsQXyevMZ0NNeZEsl1KLdjQ10+p08b5QHULYkU7a8iZJtzu A==; X-IronPort-AV: E=McAfee;i="6400,9594,10434"; a="277911990" X-IronPort-AV: E=Sophos;i="5.93,225,1654585200"; d="scan'208";a="277911990" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 18:45:49 -0700 X-IronPort-AV: E=Sophos;i="5.93,225,1654585200"; d="scan'208";a="664678103" 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; 09 Aug 2022 18:45:49 -0700 From: "duntan" To: devel@edk2.groups.io Subject: [PATCH 0/2] Remove mInternalCr3 in PiSmmCpuDxeSmm Date: Wed, 10 Aug 2022 09:45:30 +0800 Message-Id: <20220810014532.117-1-dun.tan@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add a new IsShadowStack flag in PiSmmCpuDxeSmm. Remove mInternalCr3 in PiSmmCpuDxeSmm. Dun Tan (2): UefiCpuPkg/PiSmmCpuDxeSmm: Add a new IsShadowStack flag UefiCpuPkg/PiSmmCpuDxeSmm: Remove mInternalCr3 in PiSmmCpuDxeSmm UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 30 +++++------------------------- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 26 +++++++++----------------- UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------- UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | 73 +++++++++++++++++++++++-------------------------------------------------- 4 files changed, 98 insertions(+), 144 deletions(-) -- 2.31.1.windows.1