From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.38.129; helo=nam02-bl2-obe.outbound.protection.outlook.com; envelope-from=bret.barkelew@microsoft.com; receiver=edk2-devel@lists.01.org Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0129.outbound.protection.outlook.com [104.47.38.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 32F20223DB7B7 for ; Sat, 10 Feb 2018 16:11:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3210MZbCkp0XLVGIdcsRAau8wemxtt+LB8/9nTU6bz0=; b=iZIeI86AhtCGw3IFkH4Ji2/+5j1UAPeA7OUY0H+PGlKBd6b5V7u/kAdH0spSJaOIm8+NQr5GNVCw1pH0p1HrMr9XiUSjOM+BfZWeCcRhZJJmdJc/z9I2byjJuIdHSUbrpnnrbIgLJzJ34tQoOJc/gW/RVavxgB/6+d1twn+39uk= Received: from MW2SPR01MB06.namprd21.prod.outlook.com (52.132.152.33) by MW2PR2101MB0921.namprd21.prod.outlook.com (52.132.152.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.527.2; Sun, 11 Feb 2018 00:16:49 +0000 Received: from MW2SPR01MB06.namprd21.prod.outlook.com ([fe80::4177:24b6:7ea1:48d7]) by MW2SPR01MB06.namprd21.prod.outlook.com ([fe80::4177:24b6:7ea1:48d7%4]) with mapi id 15.20.0527.002; Sun, 11 Feb 2018 00:16:49 +0000 From: Bret Barkelew To: "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: Ruiyu Ni , Eric Dong , Ard Biesheuvel , Hao Wu , Jordan Justen , Andrew Fish , Jiewen Yao , Michael D Kinney , Laszlo Ersek , Star Zeng , David Wei Thread-Topic: [edk2] [Patch 00/10] Add BmpSupportLib class and instance Thread-Index: AQHToGcwJCvGGBSnL0Sof8eIYoZ3S6OeWdTt Date: Sun, 11 Feb 2018 00:16:49 +0000 Message-ID: References: <20180207225822.28876-1-michael.d.kinney@intel.com> In-Reply-To: <20180207225822.28876-1-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [71.212.3.235] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; MW2PR2101MB0921; 7:3hjx9QRirSsSBd+PMCMwtJsYuykul4FoezG/MG9f+P9tPC9eM/V65MIjgccHyOkN/mqHyEZTBN70WWYIX40ljruPqSKgLLFbekOi8+l9Pq9L1Oubeod2IC6NAN2hJdzU8WEe8WlWLK4Rdj8JnzdhnVhBgZhZswi8RoL/sNgM7FoXZtMgjMZf0KvL8VuZMp2XqzY/gaF7SqEpzxtDyeUGm+XRekkkNCzEG1yBdTy5daQYyNtxTJWhk2jQMbIni9cY x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d0ebc909-4036-46d9-ad49-08d570e4be8e x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7193020); SRVR:MW2PR2101MB0921; x-ms-traffictypediagnostic: MW2PR2101MB0921: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(80524489315369)(89211679590171)(189930954265078)(162533806227266)(219752817060721)(21748063052155)(31960201722614)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231101)(944501161)(6055026)(61426038)(61427038)(6041288)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:MW2PR2101MB0921; BCL:0; PCL:0; RULEID:; SRVR:MW2PR2101MB0921; x-forefront-prvs: 058043A388 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(39380400002)(396003)(376002)(366004)(39860400002)(199004)(189003)(966005)(33656002)(66066001)(74316002)(106356001)(99286004)(4326008)(25786009)(8990500004)(10290500003)(478600001)(72206003)(97736004)(105586002)(76176011)(229853002)(6116002)(7696005)(3846002)(3280700002)(2906002)(3660700001)(68736007)(7416002)(2900100001)(6246003)(22452003)(81156014)(110136005)(2950100002)(8936002)(6506007)(10090500001)(7736002)(2501003)(53546011)(8666007)(5250100002)(54906003)(316002)(55016002)(8676002)(6436002)(53936002)(81166006)(186003)(5660300001)(102836004)(236005)(6346003)(6306002)(54896002)(9686003)(575784001)(26005)(86362001)(86612001)(606006)(14454004); DIR:OUT; SFP:1102; SCL:1; SRVR:MW2PR2101MB0921; H:MW2SPR01MB06.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bret.Barkelew@microsoft.com; x-microsoft-antispam-message-info: FklQcxvZaWcWu6nvVOehY8oFtjHeo9/ZoOeLUIS6TQLvzD73G3M5iHT9bbXaO4wOrg51SApM/+f/YGGge8Ii/A== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0ebc909-4036-46d9-ad49-08d570e4be8e X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2018 00:16:49.3688 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0921 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: Re: [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: Sun, 11 Feb 2018 00:11:06 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Approved. Reviewd-By: Bret Barkelew Bret.Barkelew@microsoft.com - Bret From: Kinney, Michael D Sent: Wednesday, February 7, 2018 2:58 PM To: edk2-devel@lists.01.org Cc: Ruiyu Ni; Eric Dong; Ard Biesheuvel; Hao Wu; Jordan Justen; Andrew Fish= ; Jiewen Yao; Michael = D Kinney; Laszlo Ersek; Star Zeng; David Wei Subject: [edk2] [Patch 00/10] Add BmpSupportLib class and instance https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fbugzilla= .tianocore.org%2Fshow_bug.cgi%3Fid%3D800&data=3D04%7C01%7CBret.Barkelew%40m= icrosoft.com%7C8f2b7148ac5c4d774a9f08d56e7e4fd2%7Cee3303d7fb734b0c8589bcd84= 7f1c277%7C1%7C1%7C636536411170052762%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj= AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=3DE96biwS3Q8OTee3= 65hQJScLXa%2Fb7yBGC7IiVxO5A9aM%3D&reserved=3D0 Branch for review: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.c= om%2Fmdkinney%2Fedk2%2Fcommits%2FBug_800_BmpSupportLib_V2&data=3D04%7C01%7C= Bret.Barkelew%40microsoft.com%7C8f2b7148ac5c4d774a9f08d56e7e4fd2%7Cee3303d7= fb734b0c8589bcd847f1c277%7C1%7C1%7C636536411170052762%7CUnknown%7CTWFpbGZsb= 3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata= =3D6qpw0S0fJ9pOARdFzlE8p15OKZGKTTOkZOb%2BjD9FutI%3D&reserved=3D0 Based on content from the following branch/commits: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.c= om%2FMicrosoft%2FMS_UEFI%2Ftree%2Fshare%2FMsCapsuleSupport&data=3D04%7C01%7= CBret.Barkelew%40microsoft.com%7C8f2b7148ac5c4d774a9f08d56e7e4fd2%7Cee3303d= 7fb734b0c8589bcd847f1c277%7C1%7C1%7C636536411170052762%7CUnknown%7CTWFpbGZs= b3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata= =3DWTOBgpOsBidzuSJVVDtc691afJ%2BMDANyaMHEFBCWl14%3D&reserved=3D0 https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.c= om%2FMicrosoft%2FMS_UEFI%2Fcommit%2F33bab4031a417d7d5a7d356c15a14c2e60302b2= d&data=3D04%7C01%7CBret.Barkelew%40microsoft.com%7C8f2b7148ac5c4d774a9f08d5= 6e7e4fd2%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636536411170052762%7C= Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwif= Q%3D%3D%7C-1&sdata=3DuQiy6y4TpMcOBU0uFvQOL21j7Hk7vJrShwcZQARzFXQ%3D&reserve= d=3D0 https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.c= om%2FMicrosoft%2FMS_UEFI%2Fcommit%2Fca516b1a61315c2d823f453e12d2135098f53d6= 1&data=3D04%7C01%7CBret.Barkelew%40microsoft.com%7C8f2b7148ac5c4d774a9f08d5= 6e7e4fd2%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636536411170052762%7C= Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwif= Q%3D%3D%7C-1&sdata=3DjlakW5VAPCJ9l0TS6xyCA0HO6nTj555FOi7bh5VGKow%3D&reserve= d=3D0 https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.c= om%2FMicrosoft%2FMS_UEFI%2Fcommit%2F2b9f111f2e74a4c2ef4c4e32379e111f016dbd9= b&data=3D04%7C01%7CBret.Barkelew%40microsoft.com%7C8f2b7148ac5c4d774a9f08d5= 6e7e4fd2%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636536411170052762%7C= Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwif= Q%3D%3D%7C-1&sdata=3DBuD2uK61vuVRagd12PXDWQAvaf%2BBuU2e3jP3NjFZOKo%3D&reser= ved=3D0 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/BaseBmpSupportLi= b.inf create mode 100644 MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLi= b.uni create mode 100644 MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c -- 2.14.2.windows.3 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.01= .org%2Fmailman%2Flistinfo%2Fedk2-devel&data=3D04%7C01%7CBret.Barkelew%40mic= rosoft.com%7C8f2b7148ac5c4d774a9f08d56e7e4fd2%7Cee3303d7fb734b0c8589bcd847f= 1c277%7C1%7C1%7C636536411170052762%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw= MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=3D%2FU%2B%2FtWTELfU= VLVfOv5iEzYX%2Bsla09a2GUVrAqcZfQUU%3D&reserved=3D0