From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.92.40.91]) by mx.groups.io with SMTP id smtpd.web08.18085.1611690530757955532 for ; Tue, 26 Jan 2021 11:48:50 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@outlook.com header.s=selector1 header.b=kxbmRwZS; spf=pass (domain: outlook.com, ip: 40.92.40.91, mailfrom: kun.q@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eRwkkv7uhfzMvwqdpLNKG//Xp+K9p0sT8e8hzXyamN3BGT/gDSGPytR/Wmohmzs/D1K7gWewM+bb+DIilicIT8mbGwdrB256YEEl2r5AalqmjaKR6FSvHQHZ2hTXP1TTOgc6B0ZhEBqsz8KQODRCR/JGV4gIK6xLMq3IBsuc0yjtf7Lgpg48OrgQzfI9Tc2Uu077vrnZolmLvjH7v6tV8eVGIAbU6i3fnEPYllaYDkx2hkFfVS8CWFv3iNBOh1HQnJEgZLHV3huI8xv6lhcnGBTH8bpEqRYE6aRQRkjjBdjZ0Ie2PThp+VuXFfuavmRJoDFgGukKNYX0aC7rJeS9cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q3i/SkjOIpFRnHqmj8Gevp1TRnRmB/QuQGAtj1vevII=; b=N8ocg7nI8Ad/VI061EJUYg2I+kdVqd0ibam3aXRoRy76qGQS1+d1EoHfNt36tu5nRAr9dInhdflXGQ6hRC9CXhoNJG1VKROehmky+NlQKds7FZK1aTvcH28dGAUqnlsPWhdfteTGvvLQgGVge8cbkSD4tOeJe9FEMQfPWVuZldT5TvQRR+alHVr8F8XWYwE3cj7MMhrF2Y8ZiFN69mEMOK6+I3mgHAYyEcrsqbtmd/Cq6kAR9B6bqwFs5XSSxVVtWmyCnDSlger+XNRr0vrvdbN0Q45awEJAyUQZXb0aEDBYjXVEK7ztcznRi/yuhhSAVpdlGX5o+2N+V85DCM0ZeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q3i/SkjOIpFRnHqmj8Gevp1TRnRmB/QuQGAtj1vevII=; b=kxbmRwZS/pXu+4EWPSCrmAY1vgtZeTFmne51KDLVdkVG+xEzEgQvW63kFwyRrC+JLh5T3B6xNXNDfR68/W+qU7cY/GC0UStnQM73g+1819H0sVSyUUsZp0rG1AAHsCtNhmM1nnEDCUg8qEicKAuAyWCNPPWL67bOtLH1JRAUJrNgMVP0Z71+tO1keBIrj1dETx8RL1OMBSKAHUu3R24t8lz3aiYTZLkFAXA7B/AiJagThECT4Gp7skgU7p7/dLJYVgXkZG53JeT5AOdztbMRs3z3NLSioD0eeoTGzUpPxsoNH1H+dGODmAkrQRPDurfPHID1OLhqm18CEUUWPMGmFg== Received: from BN7NAM10FT059.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::41) by BN7NAM10HT068.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11; Tue, 26 Jan 2021 19:48:49 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com (2a01:111:e400:7e8f::4c) by BN7NAM10FT059.mail.protection.outlook.com (2a01:111:e400:7e8f::447) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11 via Frontend Transport; Tue, 26 Jan 2021 19:48:49 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:AEF585F855F0F5696DAD3BAE30B6AD62969CCAD571DC0654BC3984F003A1CC68;UpperCasedChecksum:C1AD1BD52D611FF3832ED9EF60A57D95423E40F1D51473C38D88B905616826CE;SizeAsReceived:7483;Count:47 Received: from MWHPR06MB3102.namprd06.prod.outlook.com ([fe80::d4ee:1260:6f53:3f7b]) by MWHPR06MB3102.namprd06.prod.outlook.com ([fe80::d4ee:1260:6f53:3f7b%6]) with mapi id 15.20.3784.017; Tue, 26 Jan 2021 19:48:49 +0000 From: "Kun Qin" To: devel@edk2.groups.io CC: Eric Dong , Ray Ni , Laszlo Ersek , Rahul Kumar Subject: [PATCH v4 20/20] UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm module support Date: Tue, 26 Jan 2021 11:48:33 -0800 Message-ID: X-Mailer: git-send-email 2.30.0.windows.1 In-Reply-To: <20210126194833.2322-1-kun.q@outlook.com> References: <20210126194833.2322-1-kun.q@outlook.com> X-TMN: [E9TdHkjH0MxsWGJb57hdDbQCaP4b7caa] X-ClientProxiedBy: CO2PR04CA0192.namprd04.prod.outlook.com (2603:10b6:104:5::22) To MWHPR06MB3102.namprd06.prod.outlook.com (2603:10b6:301:3e::35) Return-Path: kun.q@outlook.com X-Microsoft-Original-Message-ID: <20210126194833.2322-2-kun.q@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (50.35.88.161) by CO2PR04CA0192.namprd04.prod.outlook.com (2603:10b6:104:5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12 via Frontend Transport; Tue, 26 Jan 2021 19:48:49 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 913a3767-b5bd-4ebb-7388-08d8c233668d X-MS-TrafficTypeDiagnostic: BN7NAM10HT068: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4Z4827zU5OaWzL8g/sFjxVPF7P7/c5vuq4bfSYV8MYp4/E2Qp4622iKuCrat/sLGyir/YMaRuQpk0Y1NxoSTJOYAZTHFnEFNAHXcC5pwSWy0l0FxSrqWgm3/cDVwK0bcJ5w6pYMZzZZEYvOA8KHCcSbSZv/SZ76hp4dYxhug2lYnol2mddGBIOqZpCXjQ/PZ/CGRbjPpsjMJOW8KpxfaNNYzjiTpGRl8ODo26CEVBBrK37vFt0j3pATPwwCeSgtA X-MS-Exchange-AntiSpam-MessageData: uxjtxSsnWLiGgtesWkqEOjLT46xMpeOYEce2TIErJPcd6dC9jkSicaypppZk2c0CdXHefPJha3HbqDa+nYCwX2MzuUamChk0GtQYrEtdwClHPvWrk3KDCF+DoclyeOe6thgboQLi1ZFM+AK7PVbmRA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 913a3767-b5bd-4ebb-7388-08d8c233668d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2021 19:48:49.4211 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: BN7NAM10FT059.eop-nam10.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT068 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain This change of SmmCpuExceptionHandlerLib adds support for StandaloneMm components to allow x64 StandaloneMm environment setting up exception handlers. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Cc: Rahul Kumar Signed-off-by: Kun Qin Reviewed-by: Laszlo Ersek Reviewed-by: Ray Ni --- Notes: v4: - Added reviewed-by tag [Ray] =20 v3: - Added reviewed-by tag [Laszlo] =20 v2: - No review, no change. UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf | = 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandl= erLib.inf b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandle= rLib.inf index 4cdb11c04ea0..ea5b10b5c8e4 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.i= nf +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.i= nf @@ -13,7 +13,7 @@ [Defines] FILE_GUID =3D 8D2C439B-3981-42ff-9CE5-1B50ECA502D6 MODULE_TYPE =3D DXE_SMM_DRIVER VERSION_STRING =3D 1.1 - LIBRARY_CLASS =3D CpuExceptionHandlerLib|DXE_SMM_DRIVER + LIBRARY_CLASS =3D CpuExceptionHandlerLib|DXE_SMM_DRIVER= MM_STANDALONE MM_CORE_STANDALONE =20 # # The following information is for reference only and not required by the = build tools. --=20 2.30.0.windows.1