From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 1781F81D3E for ; Thu, 3 Nov 2016 23:09:57 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP; 03 Nov 2016 23:09:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,442,1473145200"; d="scan'208,217";a="1080452128" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 03 Nov 2016 23:09:58 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 3 Nov 2016 23:09:58 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 3 Nov 2016 23:09:57 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.209]) by shsmsx102.ccr.corp.intel.com ([169.254.2.206]) with mapi id 14.03.0248.002; Fri, 4 Nov 2016 14:09:53 +0800 From: "Ni, Ruiyu" To: "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH 0/4] Defer 3rd party images loading to after EndOfDxe Thread-Index: AQHSNjbD6ygvYidH4ESmWUrBiphBX6DHwgcAgACVZlA= Date: Fri, 4 Nov 2016 06:09:53 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D58E51C31@SHSMSX104.ccr.corp.intel.com> References: <20161104005942.345832-1-ruiyu.ni@intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14B49EAAD@shsmsx102.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14B49EAAD@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDcyZDc4MjItMDJmMC00MjNhLTg0MTctMzRhMzI0ODQ2MTFlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImZpS3ZsSHFKWUxQeUpsM3RVN2NFRHJ5MnR5QitrZHFvU3RiMlhYMFlSXC9jPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: [PATCH 0/4] Defer 3rd party images loading to after EndOfDxe X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2016 06:09:57 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable No. The open source platform patch will be sent out later. Regards, Ray From: Gao, Liming Sent: Friday, November 4, 2016 1:14 PM To: Ni, Ruiyu ; edk2-devel@lists.01.org Subject: RE: [edk2] [PATCH 0/4] Defer 3rd party images loading to after End= OfDxe Ray: Seemly, PlatformBdsLib library instance should call EfiBootManagerDispatc= hDeferredImages(), right? Are there patches to update PlatformBdsLib librar= y instance? Thanks Liming > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Ruiyu Ni > Sent: Friday, November 04, 2016 9:00 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [PATCH 0/4] Defer 3rd party images loading to after > EndOfDxe > > The patches change the default image loading policy by deferring 3rd > party images loading to after EndOfDxe and add a new BDS API to > dispatch the deferred images. > > Platform needs to call the new BDS API > EfiBootManagerDispatchDeferredImages after EndOfDxe to ensure that > any deferred images are loaded. > > Ruiyu Ni (4): > MdeModulePkg/SecurityStubDxe: Defer 3rd party image before EndOfDxe > MdeModulePkg/UefiBootManager: Add > EfiBootManagerDispatchDeferredImages > MdeModulePkg/BdsDxe: Check deferred images before booting to OS > MdeModulePkg/SecurityStubDxe: Report failure if image is load earlier > > MdeModulePkg/Include/Library/UefiBootManagerLib.h | 13 + > MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c | 113 ++++++ > .../Library/UefiBootManagerLib/InternalBm.h | 1 + > .../UefiBootManagerLib/UefiBootManagerLib.inf | 1 + > MdeModulePkg/Universal/BdsDxe/Bds.h | 4 +- > MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 2 + > MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 89 +++++ > .../SecurityStubDxe/Defer3rdPartyImageLoad.c | 413 > +++++++++++++++++++++ > .../SecurityStubDxe/Defer3rdPartyImageLoad.h | 95 +++++ > .../Universal/SecurityStubDxe/SecurityStub.c | 14 +- > .../Universal/SecurityStubDxe/SecurityStubDxe.inf | 11 +- > 11 files changed, 753 insertions(+), 3 deletions(-) > create mode 100644 > MdeModulePkg/Universal/SecurityStubDxe/Defer3rdPartyImageLoad.c > create mode 100644 > MdeModulePkg/Universal/SecurityStubDxe/Defer3rdPartyImageLoad.h > > -- > 2.9.0.windows.1 > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel