From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (NAM02-SN1-obe.outbound.protection.outlook.com [40.92.5.90]) by mx.groups.io with SMTP id smtpd.web09.1584.1609873205771353034 for ; Tue, 05 Jan 2021 11:00:05 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@outlook.com header.s=selector1 header.b=mKXHPjYM; spf=pass (domain: outlook.com, ip: 40.92.5.90, mailfrom: kun.q@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jVWZ7QZcBrYfjvHMc7hHFR0yeIvldV8zzX/xUmRjgTAymu+m+a3o/gIyP1hLm7jPXDQV+e10hQkbv4u4hyoxt0LtRc+sZbjK4lHegM4c/RTH6pryUvtqaXuHT65qj2A3+PenJYHw/LCouVO5f0x0NsNBcga+j35MKfot8B7unlj43VQ9eHH/s8BTLueTgI5OEC+bvCym8/6NH5YAO1L2NC4/o3WMbutLfkkSMzaJ276cL1MnVqFarMSzhPfTeO/AZhOiAen1874xWCkRQ61/7ewmwF6MA8Ck6kfw4WYh+m/KBKL8c8zBo2ZoR3LXRleUwSJXr5vYDF5L/xlKM7KSow== 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=wIfYGUBvIInPlKrX0TYLCyH92ScnA0V+sVI1SguEPbI=; b=Fr17eCyxy8HQAVFRa3j7E8hgo+TLIsZnOkaMQq4ry1OTXKrCWfBXG3Es4boSIk8NrmzOMPPFvgF2iGjtLy+LfGd6ScApju8xggdy9f6yf7pvC1WPMLK0RJxgZG/qXSX6U/JAHJIGpkRYcLiEmlS6391PtLrKviHFzNOk6IfECM+yOFjX5kCCJsaZgtiYJaeLbvMthqIQ8udnBroiaX67+djYkt7ZJL/AkDDJOQl5UNtraOpEqOHXJFybFGaffWi6STrCYKTDcvp4voN4OO+kH0BHzUKzM2jISfeIZS2dPN3PWSR8o03p73IjxZhKQLVO333B7+QECc8sYRAIgIa0Rg== 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=wIfYGUBvIInPlKrX0TYLCyH92ScnA0V+sVI1SguEPbI=; b=mKXHPjYMylC21uM5tqCJ1YuZY4VG266oOEKWVq4FgF80MjMBILfiG4g9jNb0oMzng3pOltU/zszXcg3ctiArIdS6vckWOOnpl7Oknux/MmQg8zjl8TbDox/EWB1besHQ+1Q4XJFVGEC3cAoDFLJQQgBQDS35subVOhaUHolUn1Q1c2OVlwBpsj8J+j7cjoVBldIA4+TJ92Hv68vJwzvIytg+XYuX3w7QSNoFjpX/J1mgFN5NW+HMFr3GvjGhKm6JnHXKj0oh3VAlp2OBB/KHsVLEYpwBmvtrnfc5DVJuAVegUYhQaECloG1Iadh5qPqaGo47btBkAffwCa+6F7WKEQ== Received: from CY1NAM02FT003.eop-nam02.prod.protection.outlook.com (10.152.74.55) by CY1NAM02HT104.eop-nam02.prod.protection.outlook.com (10.152.74.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Tue, 5 Jan 2021 19:00:04 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com (2a01:111:e400:7e45::53) by CY1NAM02FT003.mail.protection.outlook.com (2a01:111:e400:7e45::151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22 via Frontend Transport; Tue, 5 Jan 2021 19:00:04 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:596ACDE88C299EA979284A5D3501B936F3C195798376BBAB933A55C5F564CA79;UpperCasedChecksum:CDD2695F48F1DEF71A8955119F858662A17606E679F8D321ACD72FF0961C4803;SizeAsReceived:7484;Count:47 Received: from MWHPR06MB3102.namprd06.prod.outlook.com ([fe80::acb3:ab69:563d:b0d6]) by MWHPR06MB3102.namprd06.prod.outlook.com ([fe80::acb3:ab69:563d:b0d6%5]) with mapi id 15.20.3721.024; Tue, 5 Jan 2021 19:00:04 +0000 From: "Kun Qin" To: devel@edk2.groups.io CC: Eric Dong , Ray Ni , Laszlo Ersek , Rahul Kumar Subject: [PATCH v2 16/16] UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm module support Date: Tue, 5 Jan 2021 10:59:35 -0800 Message-ID: X-Mailer: git-send-email 2.30.0.windows.1 In-Reply-To: <20210105185935.3769-1-kun.q@outlook.com> References: <20210105185935.3769-1-kun.q@outlook.com> X-TMN: [R+nQA6djZrZrW/QCy1sMcwyDzB32bvQm] X-ClientProxiedBy: MWHPR22CA0045.namprd22.prod.outlook.com (2603:10b6:300:69::31) To MWHPR06MB3102.namprd06.prod.outlook.com (2603:10b6:301:3e::35) Return-Path: kun.q@outlook.com X-Microsoft-Original-Message-ID: <20210105185935.3769-17-kun.q@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (50.35.88.161) by MWHPR22CA0045.namprd22.prod.outlook.com (2603:10b6:300:69::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Tue, 5 Jan 2021 19:00:03 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 3aa405c4-63ce-424a-dfcf-08d8b1ac1cc3 X-MS-TrafficTypeDiagnostic: CY1NAM02HT104: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yfL1wg2KCVs2I/nXUsxykMJN7PslF2HxJwLq3pesS6hAsu+IzWr+DQjM5Z4Xw0420LuQRhOzvO7Gjht/YleUp6eg5aXBJPzj8kucR0OEWuaQVQlKTVTrohcDi8ACuRQB+aSrGpBMTrmB5g8k6S555+UqXwdnGaptccQxRU8fuL0RjR97+69wNv3862gWK8Kq72VJ13LzbYvG7K72+mHp50urrIExIAiLVNomy2muyn0BaR8caDk4O1w+ERyNQ1HB X-MS-Exchange-AntiSpam-MessageData: ch+TVQH02g/vgTQD1dYzvNii6sN9u5yZFwqJIFQkyUt+RSXqPLrfArGl2BJLDC9IcOb6dDVdqMlCeKutDhroXQ+BEvWpmIMu3o6dB4T/V2/17riVuta/+QOCw73slHw3xKSv1tXbGi5vHXruY93fFQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2021 19:00:03.8470 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: 3aa405c4-63ce-424a-dfcf-08d8b1ac1cc3 X-MS-Exchange-CrossTenant-AuthSource: CY1NAM02FT003.eop-nam02.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: CY1NAM02HT104 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 --- Notes: 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