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.23]) by mx.groups.io with SMTP id smtpd.web10.1112.1610663821154884867 for ; Thu, 14 Jan 2021 14:37:01 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@outlook.com header.s=selector1 header.b=QySQrBAX; spf=pass (domain: outlook.com, ip: 40.92.5.23, mailfrom: kun.q@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FVCx+OQbPaLJy9Br2L7Ay57vW76Z4KbHJoFQm/3OMsDxHuPDHb0uAf5R147mOceNbE+IEeRZ9+UHDn4r7T9F52xcJaxyJc0BiIA5u+10W/M+FbhdZxqu9Sssh6mn92SXjNwNJABT+0UaDdZkSe1YCDMNu7JMmog0Og6YqOj078oK3aGi/bWTEa8VIpa0PjMsDJCqw9zN6OGAiXO2I/FWB4RQHNFTuyixjYuU2DEugjb1TVW1nW7EOjL4q5PCK6MIV6hJimBT1Gl7nxbs5hZOYqe7DklJ4hSReqaX459fPi1Juw1E3cLDtsKno4/UPfW5+Gq5m5xoZKDQ86B/cWOf3w== 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=o2qTRUcGixrHmyLJR+83Y0NRkJDd5dwG6ilT6Q2vtc8=; b=TCirqjOA4FFiwlq2+JctB/z8FdjbflM2G8U57byRqURIscztXX2Pd59fcynwM4gJ9VVEJYij1mhC/lJjInh3G0iw0KQraZH2VX1QF45BCAg9FietYmgOwrKqb5WWp4sVuMTBpjivU1i9HvBai7bDEGey0cuspXiryTPycc1EXuqZY7BFdOslXGklso7YfRos89tFmHd7UOS/H0eYQvpqudiJj/tS+JjwT6LQOewc1nkWUVmOHEXEK7hSAPKSpj/faA2StVDVpWO/HMJHApvI77TBfrRipt9Jg4uiIrELD78Ig4l6tkq5IdAlDarJsfUmRnnxfwZGhiu+s8znR+UAOw== 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=o2qTRUcGixrHmyLJR+83Y0NRkJDd5dwG6ilT6Q2vtc8=; b=QySQrBAX/JrGigmpe8hz7aWnz2C4lxZyNUO6d9AHqxREyYWe/U2/1bDGZ7iE9bzuM+58N8xncYwTBS2rapNj0KhZ8QKQQIkjZwNjvMqoJyTHiSUnLYh7eCrBMjeTAeSLWqoIK8J6B9GsJmheMNSLPa/JUJPkPSgSG01HQ1/kyCsAO8n5UvxB3PpFWeMYKydwIUcGZmCZmyz0gTGpiBVS+IS5dzSfglTWhfPmuPK3ctc9oiwVXPfyfJKAodt9Bju1JcaR2m7NmqZJTzQx+tBxGyoaijeFX0hQOsdM/MGdWAyfS50ez5eG/sb6lGLaMYpfoyUewyUSLZWIY0NPAqLuFg== Received: from CY1NAM02FT023.eop-nam02.prod.protection.outlook.com (10.152.74.56) by CY1NAM02HT018.eop-nam02.prod.protection.outlook.com (10.152.74.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10; Thu, 14 Jan 2021 22:36:59 +0000 Received: from MWHPR06MB3102.namprd06.prod.outlook.com (2a01:111:e400:7e45::41) by CY1NAM02FT023.mail.protection.outlook.com (2a01:111:e400:7e45::237) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Thu, 14 Jan 2021 22:36:59 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:DE9F67BD1F90CC57060A98258FAA21136C788F1BEF60D4FFC5F4E7A8AAE9AAD6;UpperCasedChecksum:1A9BA881075CD7D91FEA7408128D9255C14FCD61075499DFF3EF6425BD6D040E;SizeAsReceived:7504;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.3742.012; Thu, 14 Jan 2021 22:36:59 +0000 From: "Kun Qin" To: devel@edk2.groups.io CC: Eric Dong , Ray Ni , Laszlo Ersek , Rahul Kumar Subject: [PATCH v3 18/18] UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm module support Date: Thu, 14 Jan 2021 14:36:37 -0800 Message-ID: X-Mailer: git-send-email 2.30.0.windows.1 In-Reply-To: <20210114223637.2737-1-kun.q@outlook.com> References: <20210114223637.2737-1-kun.q@outlook.com> X-TMN: [yKewwElR/gcf4QPDWyq6X8m2MddK3k29] X-ClientProxiedBy: MW4PR04CA0389.namprd04.prod.outlook.com (2603:10b6:303:81::34) To MWHPR06MB3102.namprd06.prod.outlook.com (2603:10b6:301:3e::35) Return-Path: kun.q@outlook.com X-Microsoft-Original-Message-ID: <20210114223637.2737-14-kun.q@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (50.35.88.161) by MW4PR04CA0389.namprd04.prod.outlook.com (2603:10b6:303:81::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10 via Frontend Transport; Thu, 14 Jan 2021 22:36:59 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 2969ee10-ee59-4cf5-a7c1-08d8b8dce80c X-MS-TrafficTypeDiagnostic: CY1NAM02HT018: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6sudAYAZ35XR0tHkFDb7dclBdq9o/Q+pENS4zSj+w7BWNsrEzcbUgy3VrMNhJjoiwSEOim3TGXAUnfj9UBUbKkqOnhrfhd8ytlE+WSx3pIempKtZYOmgw2gBvXjM9ySKQFwPeUSiMr/Kk8TCw/sIAWOGqahen+cQ1ZHvhjQyaY5MYAwQ/453N0eYQ6xPAdZSGGeNGyKMz4Ja2I/0ZcxVoJ0SSfS29udQoT+ECKVcr4pLEDgMujcSGm6JVhNGmYpT X-MS-Exchange-AntiSpam-MessageData: wjTZt1Ihexp5LtwGKiDt5f9e0YudgJfmwbBj8S0YG6p6Vhr4CUSfqlT2XxZdCFLL0MLmgqKCutFTXUrDe4zGuLTlCnUfnqY3Nd/uvhmBi5lAO1ghcAgFqoeYR/bQtAzWbZ/CSpo/ZCEMsjCT+S/QSw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2021 22:36:59.3367 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: 2969ee10-ee59-4cf5-a7c1-08d8b8dce80c X-MS-Exchange-CrossTenant-AuthSource: CY1NAM02FT023.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: CY1NAM02HT018 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 --- Notes: 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