From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 7D57121CA3593 for ; Sun, 25 Jun 2017 23:16:39 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP; 25 Jun 2017 23:18:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,394,1493708400"; d="scan'208";a="278598186" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 25 Jun 2017 23:18:08 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 25 Jun 2017 23:18:08 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 25 Jun 2017 23:18:07 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.151]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.122]) with mapi id 14.03.0319.002; Mon, 26 Jun 2017 14:18:06 +0800 From: "Ni, Ruiyu" To: "Bi, Dandan" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list Thread-Index: AQHS7kA/su7nKHEA7UWSQFceAhGgKaI2qzMw Date: Mon, 26 Jun 2017 06:18:05 +0000 Deferred-Delivery: Mon, 26 Jun 2017 06:18:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B9A46A6@SHSMSX104.ccr.corp.intel.com> References: <1498456237-71796-1-git-send-email-dandan.bi@intel.com> <1498456237-71796-3-git-send-email-dandan.bi@intel.com> In-Reply-To: <1498456237-71796-3-git-send-email-dandan.bi@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 06:16:39 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Dandan Bi > Sent: Monday, June 26, 2017 1:51 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu > Subject: [edk2] [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code > when booting from BootOrder list >=20 > Report Status Code to indicate BDS starts attempting booting from the UEF= I > BootOrder list. >=20 > Cc: Ruiyu Ni > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Dandan Bi > --- > MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) >=20 > diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c > b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c > index b5e6ef6..ac5f908 100644 > --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c > +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c > @@ -3,11 +3,11 @@ > When this module was dispatched by DxeCore, gEfiBdsArchProtocolGuid > will be installed > which contains interface of BdsEntry. > After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will= be > invoked > to enter BDS phase. >=20 > -Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
> +Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.
> (C) Copyright 2016 Hewlett Packard Enterprise Development LP
> (C) Copyright 2015 Hewlett-Packard Development Company, L.P.
This > program and the accompanying materials are licensed and made available > under the terms and conditions of the BSD License which accompanies this > distribution. The full text of the license may be found at @@ -368,10 +3= 68,15 > @@ BootBootOptions ( > ) > { > UINTN Index; >=20 > // > + // Report Status Code to indicate BDS starts attempting booting from t= he > UEFI BootOrder list. > + // > + REPORT_STATUS_CODE (EFI_PROGRESS_CODE, > (EFI_SOFTWARE_DXE_BS_DRIVER | > + EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT)); > + > + // > // Attempt boot each boot option > // > for (Index =3D 0; Index < BootOptionCount; Index++) { > // > // According to EFI Specification, if a load option is not marked > -- > 1.9.5.msysgit.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel