From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org 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 3D4EB2095C73C for ; Wed, 14 Feb 2018 13:08:39 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Feb 2018 13:14:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,514,1511856000"; d="scan'208";a="27952922" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga003.jf.intel.com with ESMTP; 14 Feb 2018 13:14:31 -0800 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.97]) by ORSMSX110.amr.corp.intel.com ([169.254.10.12]) with mapi id 14.03.0319.002; Wed, 14 Feb 2018 13:14:30 -0800 From: "Kinney, Michael D" To: "edk2-devel@lists.01.org" , "Kinney, Michael D" CC: Sean Brogan , "Yao, Jiewen" , Ard Biesheuvel , "Leif Lindholm" Thread-Topic: [edk2-platforms Patch] Platform: Add SafeIntLib and BmpSupportLib to DSC files Thread-Index: AQHTpPmwTnJWgr/7Tk6DBCFvrkJpPqOkZ2FQ Date: Wed, 14 Feb 2018 21:14:29 +0000 Message-ID: References: <20180213183702.17348-1-michael.d.kinney@intel.com> In-Reply-To: <20180213183702.17348-1-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Subject: Re: [edk2-platforms Patch] Platform: Add SafeIntLib and BmpSupportLib to DSC files X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 21:08:39 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The patch from Leif for this issue is a better solution using a common DSC include. Please ignore this one. Mike > -----Original Message----- > From: Kinney, Michael D > Sent: Tuesday, February 13, 2018 10:37 AM > To: edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Sean > Brogan ; Yao, Jiewen > ; Ard Biesheuvel > ; Leif Lindholm > > Subject: [edk2-platforms Patch] Platform: Add SafeIntLib > and BmpSupportLib to DSC files >=20 > From: Michael D Kinney >=20 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D800 >=20 > Based on content from the following branch/commits: > https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsule > Support > https://github.com/Microsoft/MS_UEFI/commit/33bab4031a417 > d7d5a7d356c15a14c2e60302b2d > https://github.com/Microsoft/MS_UEFI/commit/ca516b1a61315 > c2d823f453e12d2135098f53d61 > https://github.com/Microsoft/MS_UEFI/commit/2b9f111f2e74a > 4c2ef4c4e32379e111f016dbd9b >=20 > BootGraphicsResourceTableDxe, GenericBdsLib, and > CapsuleLib > use BmpSupportLib and SafeIntLib to convert a GOP BLT > buffers to a BMP graphics images and BMP graphics images > to > GOP BLT buffers. Add library mappings for these new > library classes. >=20 > Cc: Sean Brogan > Cc: Jiewen Yao > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Michael D Kinney > > --- > Platform/AMD/OverdriveBoard/OverdriveBoard.dsc > | 2 ++ > Platform/Hisilicon/D02/Pv660D02.dsc > | 2 ++ > Platform/Hisilicon/D03/D03.dsc > | 2 ++ > Platform/Hisilicon/D05/D05.dsc > | 2 ++ > Platform/Socionext/DeveloperBox/DeveloperBox.dsc > | 2 ++ >=20 > Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard. > dsc | 2 ++ > 6 files changed, 12 insertions(+) >=20 > diff --git > a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc > b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc > index 48018abc6..5e879b16f 100644 > --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc > +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc > @@ -49,6 +49,8 @@ [LibraryClasses.common] >=20 > DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErro > rLevelLib/BaseDebugPrintErrorLevelLib.inf >=20 > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf >=20 > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ > BaseSynchronizationLib.inf >=20 > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base > PerformanceLibNull.inf > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > diff --git a/Platform/Hisilicon/D02/Pv660D02.dsc > b/Platform/Hisilicon/D02/Pv660D02.dsc > index 9e826aeb6..c6e539c0c 100644 > --- a/Platform/Hisilicon/D02/Pv660D02.dsc > +++ b/Platform/Hisilicon/D02/Pv660D02.dsc > @@ -65,6 +65,8 @@ [LibraryClasses.common] >=20 >=20 > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCaps > uleLibNull.inf >=20 > GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsL > ib/GenericBdsLib.inf > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf >=20 > PlatformBdsLib|Silicon/Hisilicon/Library/PlatformIntelBds > Lib/PlatformIntelBdsLib.inf >=20 > CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDispl > ayLib/CustomizedDisplayLib.inf >=20 > diff --git a/Platform/Hisilicon/D03/D03.dsc > b/Platform/Hisilicon/D03/D03.dsc > index c49630637..e922f98d3 100644 > --- a/Platform/Hisilicon/D03/D03.dsc > +++ b/Platform/Hisilicon/D03/D03.dsc > @@ -66,6 +66,8 @@ [LibraryClasses.common] >=20 > PlatformSysCtrlLib|Silicon/Hisilicon/Hi1610/Library/Platf > ormSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.inf >=20 >=20 > GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsL > ib/GenericBdsLib.inf > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf >=20 > PlatformBdsLib|Silicon/Hisilicon/Library/PlatformIntelBds > Lib/PlatformIntelBdsLib.inf >=20 > BmcConfigBootLib|Silicon/Hisilicon/Library/BmcConfigBootL > ib/BmcConfigBootLib.inf >=20 > UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLi > b/UefiBootManagerLib.inf > diff --git a/Platform/Hisilicon/D05/D05.dsc > b/Platform/Hisilicon/D05/D05.dsc > index 0792b0814..a0922b388 100644 > --- a/Platform/Hisilicon/D05/D05.dsc > +++ b/Platform/Hisilicon/D05/D05.dsc > @@ -82,6 +82,8 @@ [LibraryClasses.common] >=20 > PlatformSysCtrlLib|Silicon/Hisilicon/Hi1616/Library/Platf > ormSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.inf >=20 >=20 > GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsL > ib/GenericBdsLib.inf > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf >=20 > PlatformBdsLib|Silicon/Hisilicon/Library/PlatformIntelBds > Lib/PlatformIntelBdsLib.inf >=20 > BmcConfigBootLib|Silicon/Hisilicon/Library/BmcConfigBootL > ib/BmcConfigBootLib.inf >=20 > UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLi > b/UefiBootManagerLib.inf > diff --git > a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc > b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc > index 7e69eaba9..fdfaadd97 100644 > --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc > +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc > @@ -75,6 +75,8 @@ [LibraryClasses.common] >=20 > ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP > hyCounterLib/ArmGenericTimerPhyCounterLib.inf >=20 > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf >=20 > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ > BaseSynchronizationLib.inf >=20 > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base > PerformanceLibNull.inf > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > diff --git > a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar > d.dsc > b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar > d.dsc > index e35c17f0b..ece8ee7ad 100644 > --- > a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar > d.dsc > +++ > b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar > d.dsc > @@ -75,6 +75,8 @@ [LibraryClasses.common] >=20 > ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP > hyCounterLib/ArmGenericTimerPhyCounterLib.inf >=20 > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf >=20 > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ > BaseSynchronizationLib.inf >=20 > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base > PerformanceLibNull.inf > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > -- > 2.14.2.windows.3