From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.92.68.64; helo=eur02-he1-obe.outbound.protection.outlook.com; envelope-from=marvin.haeuser@outlook.com; receiver=edk2-devel@lists.01.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-oln040092068064.outbound.protection.outlook.com [40.92.68.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 251F8210C0F6E for ; Mon, 23 Jul 2018 18:40:44 -0700 (PDT) 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=Znd6QqXStPlwdFly8K30uKpNpf5qv3UhOwhKBxGST5s=; b=iuBqsTJSTXLcVDKGLEkL7u+3cxD+WuYIfqRGRYtmvlkHnrCHbNpD3w3rk7/5fxuLOkKwekKVW1PCV0blw4rxbddbETBJSt6QrgleHdFp8fkeWtGgFfYO9Y7mxt9whTJDrat3IzCMowC6K58BAjE9OIYvErcBg2YPwGO3cNoaFwhFRQvyk8sRJWA5Bt2wd/rtFhTe91BTD8t4TwJOlMK5rMlLXzQavw6USQB2JomLI9NqqASA0hnwLhRMlSbfsrKW5soGsCr/z8XlwOF1iHVWcmqXyhi0+Jjgc3p2qL7kiG4R/VaAleBIOwLYRhKP+ebHySPvZcaptIrEE2QOQO2MJA== Received: from HE1EUR02FT023.eop-EUR02.prod.protection.outlook.com (10.152.10.51) by HE1EUR02HT122.eop-EUR02.prod.protection.outlook.com (10.152.10.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.995.12; Tue, 24 Jul 2018 01:40:41 +0000 Received: from VI1PR0801MB1790.eurprd08.prod.outlook.com (10.152.10.55) by HE1EUR02FT023.mail.protection.outlook.com (10.152.10.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.995.12 via Frontend Transport; Tue, 24 Jul 2018 01:40:41 +0000 Received: from VI1PR0801MB1790.eurprd08.prod.outlook.com ([fe80::7532:4dc6:e9f7:4765]) by VI1PR0801MB1790.eurprd08.prod.outlook.com ([fe80::7532:4dc6:e9f7:4765%2]) with mapi id 15.20.0973.022; Tue, 24 Jul 2018 01:40:41 +0000 From: =?iso-8859-1?Q?Marvin_H=E4user?= To: "edk2-devel@lists.01.org" CC: "michael.d.kinney@intel.com" , "liming.gao@intel.com" , "star.zeng@intel.com" , "eric.dong@intel.com" , "ruiyu.ni@intel.com" , "lersek@redhat.com" , "kelly.steele@intel.com" , "jordan.l.justen@intel.com" , "ard.biesheuvel@linaro.org" Thread-Topic: [PATCH 8/8] MdeModulePkg: Deprecate Smm* PPIs. Thread-Index: AQHUIu9UdCOyCymcE0qr9Kj6S2geZQ== Date: Tue, 24 Jul 2018 01:40:41 +0000 Message-ID: References: In-Reply-To: Accept-Language: de-DE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P189CA0022.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::35) To VI1PR0801MB1790.eurprd08.prod.outlook.com (2603:10a6:800:5b::15) x-incomingtopheadermarker: OriginalChecksum:50B5BD10AB6D488A0FFF0571F0654E9B384AF21C466596B054D25E092DE1FB91; UpperCasedChecksum:7FFDF8744B59D479C580F58D3E8AA1B350C87D4F27687E229010AA335C48ECB3; SizeAsReceived:7994; Count:50 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [iPslYPJ/vuh8vabBg53EwxLFrKy2V88S] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1EUR02HT122; 6:TaQ8fFl5Krha+NL+D/tNKXynj1xcZ9bXzeq+rKm6ExObU33nTTyc5Q/cS3eOJfUxG+Nl8iTxTOV8hxNYNzEFPbZjvms13Pf+LN8bA8pkYL5IbEPzFdH8G/DbyhlPpb+psM7C7ZlDTDC2Jgwvl+8FU5S1TFq3Q/IzQq4o9JR3V/S6MRsVig2DqVDywstEPPAchN5opzlTI1RnB4ZsLkAll0OGI94j3iTwuT0IPI+v/TDwMYXYFgLBPNOE0Osw1Nyf4UqEA0UPrNJe0/LsPWF9+cuE9AggQCx5NK/FJSK9o5ag07g7i907lYn0Ly468fL0q8JPUGaRYL9Nc4tg/SR29/lFiI0wqiJgdYY/7QyIQoAP0Wh+T/xCG2SWNTZ2YUG0FEtWcL7HRdJRvNXp14RY568hiDXkfl/kPDzw+XFqPDbjnC06xVIVdOhKwV19MEyc4t88GemAwnf7DgzK1cyefw==; 5:UBiATnyxKrPV7lLdqKvbKlc2Jgxwrhw1J3dIqLu2XBZ5+lsScoDuXuQ4NC0/Y5RtH97xRCpth9ZK5YfxZOJjRpTHaYOJFKaYW+etXBpcLViZPPBWncQTZQ/XftL4m/pKKBOOE++Z6lxYqSvcRqRLJWKt9WQHT/M0x20g7OicKqk=; 7:h8HsM4MxV411kc8Sfg2/ltRXiHmY8UGFuUr9Z0U064DmmMIYb8QK7Eer29rJC09aO2DUQZ+hhRG3qLMuQ9Ah8nS23fIE0mgWE6LaY5r9jFqmrzgeUU3l1Ddd0yWkdh32vW+ErqAt28z8kHWmazU0FjxeUNK0spWqYiwl/DI3josCTmTVF7L8unl7rZ9l+R+wyJJo+pb379MmeWy6m5KKYcHZGqyPrK2kvWBwn1xYgoQbnFPH4G3BDumrI6ZvBmaK x-incomingheadercount: 50 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125500)(1603101448)(1701031045); SRVR:HE1EUR02HT122; x-ms-traffictypediagnostic: HE1EUR02HT122: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(82015058); SRVR:HE1EUR02HT122; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR02HT122; x-forefront-prvs: 0743E8D0A6 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(189003)(199004)(76176011)(81156014)(386003)(8676002)(7696005)(6346003)(26005)(105586002)(102836004)(33656002)(106356001)(8936002)(2351001)(4326008)(68736007)(25786009)(305945005)(14454004)(7416002)(486006)(5640700003)(6436002)(72206003)(575784001)(476003)(82202002)(86362001)(99286004)(5250100002)(2900100001)(55016002)(2501003)(256004)(426003)(6916009)(97736004)(87572001)(14444005)(20460500001)(446003)(104016004)(54906003)(5660300001)(11346002)(56003)(74316002); DIR:OUT; SFP:1901; SCL:1; SRVR:HE1EUR02HT122; H:VI1PR0801MB1790.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: outlook.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Marvin.Haeuser@outlook.com; x-microsoft-antispam-message-info: ttDBBVF4S3uqC9cErCny6d1A0JqWTMXnf+yH49Tv+mpX7pUEMnZWW80WyqUNhDNwviw5QqbOyW1u82C7B6HuBeTeSSiv1M9MGHeIyHkjsaBwSUaPspMW2m5CJdzKgLhy/vOpcYVwZqjPUWBl0wgJ1QQXV5vIh1TF4HaM5JxjAC00sP/oFgK+o2uqY/+RyxL9qEDRXo4ecLw802F1ls2gro+bwznqi7Lzxlb284ruKz8= MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 7181d4b0-87d6-4f4e-ba33-0d3746212cec X-MS-Exchange-CrossTenant-Network-Message-Id: f1b9384c-9ba8-4d1b-49eb-08d5f10676b1 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 7181d4b0-87d6-4f4e-ba33-0d3746212cec X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2018 01:40:41.2106 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT122 Subject: [PATCH 8/8] MdeModulePkg: Deprecate Smm* PPIs. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2018 01:40:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MdeModulePkg's Smm* PPIs have been deprecated entirely by UEFI PI PPIs. Do not allow their usage when DISABLE_NEW_DEPRECATED_INTERFACES is defined. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser --- MdeModulePkg/Include/Ppi/SmmAccess.h | 4 ++++ MdeModulePkg/Include/Ppi/SmmCommunication.h | 4 ++++ MdeModulePkg/Include/Ppi/SmmControl.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/MdeModulePkg/Include/Ppi/SmmAccess.h b/MdeModulePkg/Include/Pp= i/SmmAccess.h index 795c8815a9c1..0ca6d0e3af22 100644 --- a/MdeModulePkg/Include/Ppi/SmmAccess.h +++ b/MdeModulePkg/Include/Ppi/SmmAccess.h @@ -24,6 +24,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER= EXPRESS OR IMPLIED. =20 **/ =20 +#ifndef DISABLE_NEW_DEPRECATED_INTERFACES + #ifndef _SMM_ACCESS_PPI_H_ #define _SMM_ACCESS_PPI_H_ =20 @@ -144,3 +146,5 @@ struct _PEI_SMM_ACCESS_PPI { extern EFI_GUID gPeiSmmAccessPpiGuid; =20 #endif + +#endif diff --git a/MdeModulePkg/Include/Ppi/SmmCommunication.h b/MdeModulePkg/Inc= lude/Ppi/SmmCommunication.h index 8ac86a443a15..7f24d851ae09 100644 --- a/MdeModulePkg/Include/Ppi/SmmCommunication.h +++ b/MdeModulePkg/Include/Ppi/SmmCommunication.h @@ -19,6 +19,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER= EXPRESS OR IMPLIED. =20 **/ =20 +#ifndef DISABLE_NEW_DEPRECATED_INTERFACES + =20 #ifndef _SMM_COMMUNICATION_PPI_H_ #define _SMM_COMMUNICATION_PPI_H_ @@ -62,3 +64,5 @@ struct _EFI_PEI_SMM_COMMUNICATION_PPI { extern EFI_GUID gEfiPeiSmmCommunicationPpiGuid; =20 #endif + +#endif diff --git a/MdeModulePkg/Include/Ppi/SmmControl.h b/MdeModulePkg/Include/P= pi/SmmControl.h index 0c62196fb44c..597a6db07f2c 100644 --- a/MdeModulePkg/Include/Ppi/SmmControl.h +++ b/MdeModulePkg/Include/Ppi/SmmControl.h @@ -22,6 +22,8 @@ =20 **/ =20 +#ifndef DISABLE_NEW_DEPRECATED_INTERFACES + =20 #ifndef _SMM_CONTROL_PPI_H_ #define _SMM_CONTROL_PPI_H_ @@ -94,3 +96,5 @@ struct _PEI_SMM_CONTROL_PPI { extern EFI_GUID gPeiSmmControlPpiGuid; =20 #endif + +#endif --=20 2.18.0.windows.1