From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EB09981CDC for ; Thu, 3 Nov 2016 22:14:15 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 03 Nov 2016 22:14:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,442,1473145200"; d="scan'208";a="1063759848" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 03 Nov 2016 22:14:17 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 3 Nov 2016 22:14:17 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.206]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.104]) with mapi id 14.03.0248.002; Fri, 4 Nov 2016 13:14:15 +0800 From: "Gao, Liming" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH 0/4] Defer 3rd party images loading to after EndOfDxe Thread-Index: AQHSNjbBef+5FezGnkC51F6R2Pvq+aDIR+lw Date: Fri, 4 Nov 2016 05:14:14 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B49EAAD@shsmsx102.ccr.corp.intel.com> References: <20161104005942.345832-1-ruiyu.ni@intel.com> In-Reply-To: <20161104005942.345832-1-ruiyu.ni@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 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 05:14:16 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 >=20 > 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. >=20 > Platform needs to call the new BDS API > EfiBootManagerDispatchDeferredImages after EndOfDxe to ensure that > any deferred images are loaded. >=20 > 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 >=20 > 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 >=20 > -- > 2.9.0.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel