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 <michael.d.kin...@intel.com>; Sean
> Brogan <sean.bro...@microsoft.com>; Yao, Jiewen
> <jiewen....@intel.com>; Ard Biesheuvel
> <ard.biesheu...@linaro.org>; Leif Lindholm
> <leif.lindh...@linaro.org>
> Subject: [edk2-platforms Patch] Platform: Add SafeIntLib
> and BmpSupportLib to DSC files
> 
> From: Michael D Kinney <michael.d.kin...@intel.com>
> 
> https://bugzilla.tianocore.org/show_bug.cgi?id=800
> 
> 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
> 
> 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.
> 
> Cc: Sean Brogan <sean.bro...@microsoft.com>
> Cc: Jiewen Yao <jiewen....@intel.com>
> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
> Cc: Leif Lindholm <leif.lindh...@linaro.org>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Michael D Kinney
> <michael.d.kin...@intel.com>
> ---
>  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 ++
> 
> Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.
> dsc | 2 ++
>  6 files changed, 12 insertions(+)
> 
> 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]
> 
> DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErro
> rLevelLib/BaseDebugPrintErrorLevelLib.inf
> 
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
> +
> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i
> nf
> +
> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base
> BmpSupportLib.inf
> 
> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/
> BaseSynchronizationLib.inf
> 
> 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]
> 
> 
> CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCaps
> uleLibNull.inf
> 
> GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsL
> ib/GenericBdsLib.inf
> +
> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i
> nf
> +
> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base
> BmpSupportLib.inf
> 
> PlatformBdsLib|Silicon/Hisilicon/Library/PlatformIntelBds
> Lib/PlatformIntelBdsLib.inf
> 
> CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDispl
> ayLib/CustomizedDisplayLib.inf
> 
> 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]
> 
> PlatformSysCtrlLib|Silicon/Hisilicon/Hi1610/Library/Platf
> ormSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.inf
> 
> 
> GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsL
> ib/GenericBdsLib.inf
> +
> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i
> nf
> +
> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base
> BmpSupportLib.inf
> 
> PlatformBdsLib|Silicon/Hisilicon/Library/PlatformIntelBds
> Lib/PlatformIntelBdsLib.inf
> 
> BmcConfigBootLib|Silicon/Hisilicon/Library/BmcConfigBootL
> ib/BmcConfigBootLib.inf
> 
> 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]
> 
> PlatformSysCtrlLib|Silicon/Hisilicon/Hi1616/Library/Platf
> ormSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.inf
> 
> 
> GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsL
> ib/GenericBdsLib.inf
> +
> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i
> nf
> +
> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base
> BmpSupportLib.inf
> 
> PlatformBdsLib|Silicon/Hisilicon/Library/PlatformIntelBds
> Lib/PlatformIntelBdsLib.inf
> 
> BmcConfigBootLib|Silicon/Hisilicon/Library/BmcConfigBootL
> ib/BmcConfigBootLib.inf
> 
> 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]
> 
> ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP
> hyCounterLib/ArmGenericTimerPhyCounterLib.inf
> 
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
> +
> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i
> nf
> +
> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base
> BmpSupportLib.inf
> 
> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/
> BaseSynchronizationLib.inf
> 
> 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]
> 
> ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP
> hyCounterLib/ArmGenericTimerPhyCounterLib.inf
> 
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
> +
> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i
> nf
> +
> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base
> BmpSupportLib.inf
> 
> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/
> BaseSynchronizationLib.inf
> 
> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base
> PerformanceLibNull.inf
>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
> --
> 2.14.2.windows.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to