From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 8CF09222DE132 for ; Wed, 7 Feb 2018 14:52:42 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Feb 2018 14:58:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,473,1511856000"; d="scan'208";a="16135164" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.241.98.55]) by fmsmga007.fm.intel.com with ESMTP; 07 Feb 2018 14:58:26 -0800 From: "Kinney, Michael D" To: edk2-devel@lists.01.org Cc: Sean Brogan , Jiewen Yao , Star Zeng , Eric Dong , Ruiyu Ni , Laszlo Ersek , Ard Biesheuvel , Jordan Justen , David Wei , Mang Guo , Kelly Steele , Hao Wu , Andrew Fish , Michael D Kinney Date: Wed, 7 Feb 2018 14:58:12 -0800 Message-Id: <20180207225822.28876-1-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.14.2.windows.3 Subject: [Patch 00/10] Add BmpSupportLib class and instance 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, 07 Feb 2018 22:52:44 -0000 https://bugzilla.tianocore.org/show_bug.cgi?id=800 Branch for review: https://github.com/mdkinney/edk2/commits/Bug_800_BmpSupportLib_V2 Based on content from the following branch/commits: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport https://github.com/Microsoft/MS_UEFI/commit/33bab4031a417d7d5a7d356c15a14c2e60302b2d https://github.com/Microsoft/MS_UEFI/commit/ca516b1a61315c2d823f453e12d2135098f53d61 https://github.com/Microsoft/MS_UEFI/commit/2b9f111f2e74a4c2ef4c4e32379e111f016dbd9b Add BmpSupportLib class and instances that provides services to convert a BMP graphics image to a GOP BLT buffer and to convert a GOP BLT buffer to a BMP graphics image. Cc: Sean Brogan Cc: Jiewen Yao Cc: Star Zeng Cc: Eric Dong Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Jordan Justen Cc: David Wei Cc: Mang Guo Cc: Kelly Steele Cc: Hao Wu Cc: Andrew Fish Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney Kinney, Michael D (1): MdeModulePkg: Add BmpSupportLib class and instance Michael D Kinney (9): MdeModulePkg/DxeCapsuleLibFmp: Use BmpSupportLib MdeModulePkg/BootGraphicsResourceTableDxe: Use BmpSupportLib IntelFrameworkModulePkg/GenericBdsLib: Use BmpSupportLib OvmfPkg: Add SafeIntLib and BmpSupportLib to DSC files Vlv2TbltDevicePkg/Override/GenericBdsLib: Use BmpSupportLib QuarkPlatformPkg: Add SafeIntLib and BmpSupportLib to DSC files DuetPkg: Add SafeIntLib and BmpSupportLib to DSC files EmulatorPkg: Add SafeIntLib and BmpSupportLib to DSC files ArmVirtPkg: Add SafeIntLib and BmpSupportLib to DSC files ArmVirtPkg/ArmVirt.dsc.inc | 4 +- DuetPkg/DuetPkgIa32.dsc | 4 +- DuetPkg/DuetPkgX64.dsc | 4 +- EmulatorPkg/EmulatorPkg.dsc | 2 + .../IntelFrameworkModulePkg.dsc | 4 +- .../Library/GenericBdsLib/BdsConsole.c | 250 +-------- .../Library/GenericBdsLib/GenericBdsLib.inf | 3 +- .../Library/GenericBdsLib/InternalBdsLib.h | 3 +- MdeModulePkg/Include/Library/BmpSupportLib.h | 105 ++++ .../BaseBmpSupportLib/BaseBmpSupportLib.inf | 49 ++ .../BaseBmpSupportLib/BaseBmpSupportLib.uni | 20 + .../Library/BaseBmpSupportLib/BmpSupportLib.c | 583 +++++++++++++++++++++ .../Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 268 +--------- .../Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf | 3 +- .../DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf | 3 +- MdeModulePkg/MdeModulePkg.dec | 6 +- MdeModulePkg/MdeModulePkg.dsc | 3 + .../BootGraphicsResourceTableDxe.c | 425 +++++++-------- .../BootGraphicsResourceTableDxe.inf | 4 +- OvmfPkg/OvmfPkgIa32.dsc | 2 + OvmfPkg/OvmfPkgIa32X64.dsc | 2 + OvmfPkg/OvmfPkgX64.dsc | 2 + QuarkPlatformPkg/Quark.dsc | 4 +- .../Library/GenericBdsLib/BdsConsole.c | 251 +-------- .../Library/GenericBdsLib/GenericBdsLib.inf | 3 +- .../Library/GenericBdsLib/InternalBdsLib.h | 3 +- Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 4 +- Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 4 +- Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 4 +- 29 files changed, 1018 insertions(+), 1004 deletions(-) create mode 100644 MdeModulePkg/Include/Library/BmpSupportLib.h create mode 100644 MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf create mode 100644 MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.uni create mode 100644 MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c -- 2.14.2.windows.3