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.117; 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-bl2nam02on0117.outbound.protection.outlook.com [104.47.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 88B52223DB7B7 for ; Sat, 10 Feb 2018 16:11:33 -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=4FNK1swomB4p1R3hf83H3DAC88crTBEVYJsLl0hy6jY=; b=b8tljSuMBJtxu0oNBAgVMAkk2v5rNxh/6W60BSDHPp78TzEVOeTCV/dWNSUke2MUMAaEdOJ1iGVWWLOgtrqn5SN7KQePcI0YMgzguXYkOij28G6yUQWmjqCU1Z28KpzAxCQ5bZhvxlQGUgLd/YNEhqWdJlqR6TTQReTPTjX+4Qw= 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:17:19 +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:17:19 +0000 From: Bret Barkelew To: "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: Ruiyu Ni , Eric Dong , Jiewen Yao , Michael D Kinney , Star Zeng Thread-Topic: [edk2] [Patch V2 0/3] MdeModulePkg/EsrtFmpDxe: Add EsrtFmpDxe module Thread-Index: AQHToGRIuYUDWZ4jw0qeTkZYAP+4paOeWo0V Date: Sun, 11 Feb 2018 00:17:19 +0000 Message-ID: References: <20180207223738.11948-1-michael.d.kinney@intel.com> In-Reply-To: <20180207223738.11948-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:ma2ZEnfAOW3BC7l25rTHtUqXPMCv/16vL8zHJ/jHfutp7U2zRyKwDayUDd7Fhc5TPHzd4RZG8QoN5mQszRdDNBY5K/6Xb/W1/oNVrMpVRD21NI85EbKDUmSAkxj4xYrG0hV37GMNHovgX+O8dQss/ZZNJG/jAIs70Y1HdJzppJUs/qvIWvkiBpYQlK6X+1V+MphbzKAjJKSYvkcx0ZPjjhYjlOOtT1N5r/iMV28saZNTperNXL8R55LbsvlEc9MW x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 4bbd74d9-b33e-4d41-0865-08d570e4d053 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)(89211679590171)(189930954265078)(162533806227266)(219752817060721)(21748063052155)(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)(2900100001)(6246003)(22452003)(81156014)(110136005)(2950100002)(8936002)(6506007)(10090500001)(7736002)(2501003)(53546011)(5250100002)(54906003)(316002)(55016002)(8676002)(6436002)(59450400001)(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: 1uGnCguE4j1YuarmxxyOoV0SqIOasT+qDYR7QMXaUGPQ+7mG9kpMpgKxxg4Oo0pWSgfx183gUTlolbZQgD4vjw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4bbd74d9-b33e-4d41-0865-08d570e4d053 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2018 00:17:19.1459 (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 V2 0/3] MdeModulePkg/EsrtFmpDxe: Add EsrtFmpDxe module 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:34 -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:37 PM To: edk2-devel@lists.01.org Cc: Ruiyu Ni; Eric Dong; Jiewen Yao; Michael D Kinney; Star Zeng Subject: [edk2] [Patch V2 0/3] MdeModulePkg/EsrtFmpDxe: Add EsrtFmpDxe modu= le V2: * Add .uni files with module name, abstract, description * Use EfiCreateEventReadyToBootEx() instead of gBS->CreateEventEx() * Change module type from UEFI_DRIVER to DXE_DRIVER with depex TRUE https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fbugzilla= .tianocore.org%2Fshow_bug.cgi%3Fid%3D802&data=3D04%7C01%7CBret.Barkelew%40m= icrosoft.com%7C9e5206ce94194414d99a08d56e7b6983%7Cee3303d7fb734b0c8589bcd84= 7f1c277%7C1%7C1%7C636536398699159661%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj= AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=3D8FMEWUCKeIbpbSE= svDTyociFncaT7%2FZNSEAWZNEegKo%3D&reserved=3D0 Branch for review: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.c= om%2Fmdkinney%2Fedk2%2Ftree%2FBug_802_EsrtFmpDxe_V2&data=3D04%7C01%7CBret.B= arkelew%40microsoft.com%7C9e5206ce94194414d99a08d56e7b6983%7Cee3303d7fb734b= 0c8589bcd847f1c277%7C1%7C1%7C636536398699159661%7CUnknown%7CTWFpbGZsb3d8eyJ= WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=3D7UgC= rt4anNXC2ZovAOYohYUqoegULqU%2Fl%2BJzR8nTDAU%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%7C9e5206ce94194414d99a08d56e7b6983%7Cee3303d= 7fb734b0c8589bcd847f1c277%7C1%7C1%7C636536398699159661%7CUnknown%7CTWFpbGZs= b3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata= =3DPeG8g7IFQRV23hD85awLq%2BxiCxYB2vGuDHnDey6x4%2FQ%3D&reserved=3D0 The EsrtFmpDxe module is a lightweight version of the EsrtDxe module that produces ESRT entries based only on FMP Protocol instances. Update Quark and Vlv2 platforms to use EsrtFmpDxe. Cc: Sean Brogan Cc: Jiewen Yao Cc: Star Zeng Cc: Eric Dong Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney Michael D Kinney (3): MdeModulePkg/EsrtFmpDxe: Add EsrtFmpDxe module QuarkPlatformPkg: Switch from EsrtDxe to EsrtFmpDxe Vlv2TbltDevicePkg: Switch from EsrtDxe to EsrtFmpDxe MdeModulePkg/MdeModulePkg.dsc | 1 + MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c | 482 +++++++++++++++++= ++++ .../Universal/EsrtFmpDxe/EsrtFmpDebugPrint.c | 161 +++++++ MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf | 74 ++++ MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.uni | 19 + .../Universal/EsrtFmpDxe/EsrtFmpDxeExtra.uni | 18 + QuarkPlatformPkg/Quark.dsc | 4 +- QuarkPlatformPkg/Quark.fdf | 4 +- Vlv2TbltDevicePkg/PlatformPkg.fdf | 4 +- Vlv2TbltDevicePkg/PlatformPkgGcc.fdf | 4 +- Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 4 +- Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 4 +- Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 4 +- 13 files changed, 769 insertions(+), 14 deletions(-) create mode 100644 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c create mode 100644 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDebugPrint.c create mode 100644 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf create mode 100644 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.uni create mode 100644 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxeExtra.uni -- 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%7C9e5206ce94194414d99a08d56e7b6983%7Cee3303d7fb734b0c8589bcd847f= 1c277%7C1%7C1%7C636536398699159661%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw= MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=3Ds78ABbPoAfaisnyGB= oPciGJUl6zyXu0agNx1OMOTa9s%3D&reserved=3D0