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.web09.2557.1660109910932314511 for ; Tue, 09 Aug 2022 22:38:31 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=KMNLbGEt; 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=1660109910; x=1691645910; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=KoLEaUlHnhaJweeYIBmM5jw0lJrUcVtzYmwq2GCKl+U=; b=KMNLbGEtLXW2g5YoXlRXX+Qfj/0mb/cbkVil+xZKVPuhMabjxBBM0LiC YKB9ke6kCzRW1196o3cqHIaGI7qJKCqtgXA/nrKCAzZOMoL1lcELUJ07Z IM6lTWBHzKiMBxDBEfjPu3WmB1Jv9SNjYyi05r2vMsbo/nVsgpN/S4fQ8 vgT05Py/1EGsZYDX5fz0zFuNtm6qJWbtgIiCiemWeKT7cplgP19EwfwK4 r4TF4tb+EJO/scg0QZpDSgIN8bsRidluDrgP2+sj1ftM7quvOVHgwfxSW FP49N8Lv6t3siAPLWbLOedGB+tztZfxs6eS77ggtVxYvqNA4ifoPyxGS+ A==; X-IronPort-AV: E=McAfee;i="6400,9594,10434"; a="277940646" X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="277940646" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 22:38:30 -0700 X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="581094648" Received: from duntan-mobl.ccr.corp.intel.com ([10.239.157.47]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 22:38:29 -0700 From: "duntan" To: devel@edk2.groups.io Subject: [Patch V2 0/2] Remove mInternalCr3 and Add a new mIsShadowStack Date: Wed, 10 Aug 2022 13:37:11 +0800 Message-Id: <20220810053713.378-1-dun.tan@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Changed IsShadowStack to mIsShadowStack. Updated the commit message to explain this code refactoring. 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 | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------- UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | 73 +++++++++++++++++++++++-------------------------------------------------- 4 files changed, 98 insertions(+), 147 deletions(-) -- 2.31.1.windows.1