From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c06::241; helo=mail-io0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E37EF207DF287 for ; Wed, 11 Jul 2018 07:21:02 -0700 (PDT) Received: by mail-io0-x241.google.com with SMTP id y10-v6so8914220ioa.10 for ; Wed, 11 Jul 2018 07:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JqmBxo/CSgyCQSjnqqSK8+ekyQtAgSsQbLa2tNfS4Mc=; b=RjIilmZcTA/6tAZ7vMVZLrQMr8ApqiyidBxGXjc4LscO//3oDDkMc5ExnpQOyLSJ32 Uxo4vrKbWaS/UKGQpzAtmbsuzXEix6UPbn0vfMY7tgn8IqLExi8KC7P7Pfes2ysG385N xuQVHOD1bokDKSHUKYvdQSnnfTVW4xXUT5pek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JqmBxo/CSgyCQSjnqqSK8+ekyQtAgSsQbLa2tNfS4Mc=; b=SEvgvwqWss5YdKXF4pG//spO8MdmB4lQcbuK7Zk1aftfTztG3o29nkAmYYpCwL3UL6 0CqLO1GNBkTRg/EeDbeSD4QSkt+FyAAu1H+a0bnd+moUoIn++UfSnya+p1Du9ZaYQIQE xMsKisj4maj/KUwV5Lrl5UqUwTkZL/WptqyH60ae/IrDz1jDXjxMtoF4Qs5zaGQcv+N1 dU3asePP/Vc9rHxedE3azuOU5GmoDGSe28MhP5QxmaEGSsfYCZPYpPUPCFvJpCDOntgY Os/7Q0/iXqq2KNuHCSr7QxJx1hJQDGXK0uCQBo1UmwpqY7CDwcSDrUI1cBkKWEpykIHz 3Nug== X-Gm-Message-State: AOUpUlH2Iivwe3YOcKJKhudBF+jM5ViBIljrAJ9sge6MZg0WLkGbbHK0 mJTSd2hO9zO3iw4zf6bbg0PypvMuOMcV6mwnLDklnQ== X-Google-Smtp-Source: AAOMgpfLSUd0DEhA/pdETsn1eBrYY9BkIxApzrocrQGU8cGwSX/iyUi9WJzLCXmw6EjQPZnmYjmEhsqIkiStO8/cljY= X-Received: by 2002:a6b:5208:: with SMTP id g8-v6mr17692107iob.60.1531318861973; Wed, 11 Jul 2018 07:21:01 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:bbc7:0:0:0:0:0 with HTTP; Wed, 11 Jul 2018 07:21:01 -0700 (PDT) In-Reply-To: <20180704015057.35908-7-ruiyu.ni@intel.com> References: <20180704015057.35908-1-ruiyu.ni@intel.com> <20180704015057.35908-7-ruiyu.ni@intel.com> From: Ard Biesheuvel Date: Wed, 11 Jul 2018 16:21:01 +0200 Message-ID: To: Ruiyu Ni Cc: "edk2-devel@lists.01.org" , Leif Lindholm Subject: Re: [PATCH v4 6/9] ArmPkg/PlatformBDS: Implement PlatformBootManagerUnableToBoot X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2018 14:21:03 -0000 Content-Type: text/plain; charset="UTF-8" On 4 July 2018 at 03:50, Ruiyu Ni wrote: > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ruiyu Ni > Cc: Leif Lindholm > Cc: Ard Biesheuvel Acked-by: Ard Biesheuvel > --- > ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 18 +++++++++++++++++- > 1 file changed, 17 insertions(+), 1 deletion(-) > > diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c > index 079f1552d5..f9c71d430c 100644 > --- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c > +++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c > @@ -3,7 +3,7 @@ > > Copyright (C) 2015-2016, Red Hat, Inc. > Copyright (c) 2014, ARM Ltd. All rights reserved.
> - Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
> + Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
> Copyright (c) 2016, Linaro Ltd. All rights reserved.
> > This program and the accompanying materials are licensed and made available > @@ -766,3 +766,19 @@ PlatformBootManagerWaitCallback ( > Print (L"."); > } > } > + > +/** > + The function is called when no boot option could be launched, > + including platform recovery options and options pointing to applications > + 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 >