From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5D9A6803A0 for ; Thu, 9 Mar 2017 16:39:23 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP; 09 Mar 2017 16:39:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,137,1486454400"; d="scan'208";a="942652154" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga003.jf.intel.com with ESMTP; 09 Mar 2017 16:39:22 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 9 Mar 2017 16:39:22 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 9 Mar 2017 16:39:22 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0248.002; Fri, 10 Mar 2017 08:39:20 +0800 From: "Gao, Liming" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH] MdePkg/Pci22.h: Remove deprecated macros Thread-Index: AQHSlkRz8bt68z/BJE6USELJU4x70qGNQOpA Date: Fri, 10 Mar 2017 00:39:19 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6EDFE2@shsmsx102.ccr.corp.intel.com> References: <20170306063934.600524-1-ruiyu.ni@intel.com> In-Reply-To: <20170306063934.600524-1-ruiyu.ni@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] MdePkg/Pci22.h: Remove deprecated macros X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2017 00:39:23 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ru= iyu Ni > Sent: Monday, March 6, 2017 2:40 PM > To: edk2-devel@lists.01.org > Cc: Gao, Liming > Subject: [edk2] [PATCH] MdePkg/Pci22.h: Remove deprecated macros >=20 > The following deprecated macros are removed.The removal > doesn't cause any build failure to existing packages. >=20 > #define DEVICE_ID_NOCARE 0xFFFF > #define PCI_BAR_OLD_ALIGN 0xFFFFFFFFFFFFFFFFULL > #define PCI_BAR_EVEN_ALIGN 0xFFFFFFFFFFFFFFFEULL > #define PCI_BAR_SQUAD_ALIGN 0xFFFFFFFFFFFFFFFDULL > #define PCI_BAR_DQUAD_ALIGN 0xFFFFFFFFFFFFFFFCULL > #define PCI_BAR_ALL 0xFF > #define PCI_ACPI_UNUSED 0 > #define PCI_BAR_NOCHANGE 0 >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ruiyu Ni > Cc: Liming Gao > --- > MdePkg/Include/IndustryStandard/Pci22.h | 19 ------------------- > 1 file changed, 19 deletions(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/Pci22.h b/MdePkg/Include/Ind= ustryStandard/Pci22.h > index 07718dc..96a7680 100644 > --- a/MdePkg/Include/IndustryStandard/Pci22.h > +++ b/MdePkg/Include/IndustryStandard/Pci22.h > @@ -780,25 +780,6 @@ typedef struct { > /// > } EFI_PCI_CAPABILITY_HOTPLUG; >=20 > -/// > -/// Below macros (till PCI_BAR_NOCHANGE) were used by EfiIncompatiblePci= DeviceSupport Protocol. > -/// > -#ifndef DISABLE_NEW_DEPRECATED_INTERFACES > - > -/// > -/// [ATTENTION] These macros are deprecated because they don't match Spe= c or not defined in Spec. > -/// > -#define DEVICE_ID_NOCARE 0xFFFF ///< Deprecated. Valu= e doesn't match Spec. > -#define PCI_BAR_OLD_ALIGN 0xFFFFFFFFFFFFFFFFULL ///< Deprecated. Valu= e isn't defined in Spec. > -#define PCI_BAR_EVEN_ALIGN 0xFFFFFFFFFFFFFFFEULL ///< Deprecated. Valu= e isn't defined in Spec. > -#define PCI_BAR_SQUAD_ALIGN 0xFFFFFFFFFFFFFFFDULL ///< Deprecated. Valu= e isn't defined in Spec. > -#define PCI_BAR_DQUAD_ALIGN 0xFFFFFFFFFFFFFFFCULL ///< Deprecated. Valu= e isn't defined in Spec. > -#define PCI_BAR_ALL 0xFF ///< Deprecated. Valu= e doesn't match Spec. > -#define PCI_ACPI_UNUSED 0 ///< Deprecated. Macr= o name is too general. > -#define PCI_BAR_NOCHANGE 0 ///< Deprecated. Macr= o name is too general. > - > -#endif > - > #define PCI_BAR_IDX0 0x00 > #define PCI_BAR_IDX1 0x01 > #define PCI_BAR_IDX2 0x02 > -- > 2.9.0.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel