From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=benjamin.you@intel.com; receiver=edk2-devel@lists.01.org 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 723DB203B99DF for ; Tue, 3 Jul 2018 15:59:00 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2018 15:59:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,305,1526367600"; d="scan'208";a="53858016" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga007.jf.intel.com with ESMTP; 03 Jul 2018 15:58:59 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 3 Jul 2018 15:58:59 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 3 Jul 2018 15:58:59 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.173]) with mapi id 14.03.0319.002; Wed, 4 Jul 2018 06:58:57 +0800 From: "You, Benjamin" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" CC: "Ma, Maurice" , "Agyeman, Prince" Thread-Topic: [PATCH v3 2/7] CorebootPayload/PlatformBDS: Impl PlatformBootManagerUnableToBoot Thread-Index: AQHUEphaQwZiOVEebEWESv0lSRdDYqR+HVrw Date: Tue, 3 Jul 2018 22:58:57 +0000 Message-ID: References: <20180703063743.373172-1-ruiyu.ni@intel.com> <20180703063743.373172-3-ruiyu.ni@intel.com> In-Reply-To: <20180703063743.373172-3-ruiyu.ni@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTY1MGM2YmYtYmExYi00OTcwLTlkYWMtYjJmOTcyYTA5OWFlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQnpCbXVxckxWVUMxTG4xTkVKUkx3WWtjVkF6OHB6WTRBNTdmV1JtY3d2NkxwOHRicjdTWDVaSyt1K3lJNVRHVyJ9 dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v3 2/7] CorebootPayload/PlatformBDS: Impl PlatformBootManagerUnableToBoot X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 22:59:00 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Benjamin You > -----Original Message----- > From: Ni, Ruiyu > Sent: Tuesday, July 3, 2018 2:38 PM > To: edk2-devel@lists.01.org > Cc: Ma, Maurice ; Agyeman, Prince > ; You, Benjamin > Subject: [PATCH v3 2/7] CorebootPayload/PlatformBDS: Impl > PlatformBootManagerUnableToBoot >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ruiyu Ni > Cc: Maurice Ma > Cc: Prince Agyeman > Cc: Benjamin You > --- > .../PlatformBootManagerLib/PlatformBootManager.c | 19 > ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) >=20 > diff --git > a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManage > r.c > b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManage > r.c > index 7e92441da1..368e89d586 100644 > --- > a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManage > r.c > +++ > b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManage > r.c > @@ -2,7 +2,7 @@ > This file include all platform action which can be customized > by IBV/OEM. >=20 > -Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.
> +Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
> This program and the accompanying materials > are licensed and made available under the terms and conditions of the BS= D > License > which accompanies this distribution. The full text of the license may b= e found > at > @@ -252,3 +252,20 @@ PlatformBootManagerWaitCallback ( > { > return; > } > + > +/** > + The function is called when no boot option could be launched, > + including platform recovery options and options pointing to applicatio= ns > + built into firmware volumes. > + > + If this function returns, BDS attempts to enter an infinite loop. > +**/ > +VOID > +EFIAPI > +PlatformBootManagerUnableToBoot ( > + VOID > + ) > +{ > + return; > +} > + > -- > 2.16.1.windows.1