From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) (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 D2A7F2095A6A1 for ; Mon, 26 Jun 2017 00:44:48 -0700 (PDT) Received: from G4W9119.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.210.20.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5009.houston.hpe.com (Postfix) with ESMTPS id 5277EB8 for ; Mon, 26 Jun 2017 07:46:17 +0000 (UTC) Received: from G9W8456.americas.hpqcorp.net (2002:10d8:a15f::10d8:a15f) by G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 26 Jun 2017 07:46:16 +0000 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (15.241.52.11) by G9W8456.americas.hpqcorp.net (16.216.161.95) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Mon, 26 Jun 2017 07:46:16 +0000 Received: from CS1PR84MB0295.NAMPRD84.PROD.OUTLOOK.COM (10.162.190.26) by CS1PR84MB0296.NAMPRD84.PROD.OUTLOOK.COM (10.162.190.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Mon, 26 Jun 2017 07:46:14 +0000 Received: from CS1PR84MB0295.NAMPRD84.PROD.OUTLOOK.COM ([10.162.190.26]) by CS1PR84MB0295.NAMPRD84.PROD.OUTLOOK.COM ([10.162.190.26]) with mapi id 15.01.1199.019; Mon, 26 Jun 2017 07:46:14 +0000 From: "Wang, Sunny (HPS SW)" To: Dandan Bi , "edk2-devel@lists.01.org" CC: Ruiyu Ni , "Wang, Sunny (HPS SW)" Thread-Topic: [edk2] [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list Thread-Index: AQHS7kBNF+42mCqrdkGPsdhvS7ZZLaI2v6wA Date: Mon, 26 Jun 2017 07:46:14 +0000 Message-ID: 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 X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=hpe.com; x-originating-ip: [16.242.247.135] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CS1PR84MB0296; 7:s2OyNdFgvBq4vsotOPd5fBQ+t1X3fPWTCAbC9bXCOBt2ia1bw+orchm7iQM+TtL8toEtgFkC6ochJuYg0coTSgCBidsYqNUemJ3RHhNCwSQ+3kZqywoTNXWfd9lLECY6/4lWeHfWUBNSf6xoEMZBF1Cz65orsp5+PhJmzwfG6dIuQ9PKp1u9Q6Mr1BIeUJoTTkpp0oCgFx4hlJ3rnHxDqYlxeDsfVOVNgPE+aRL9eAUwOP1Wx6makCTMqFW5RoYU+n+8uQBoWJ8LtGcq6O8SEGAKAutSbav531q8VdMGqUqceYokjpp0VAuy5RZZu2Y3Bm7H7kSpzwvR1mED+68ImVjYJ/fPpsBb/dRU/lOheKPnOsDO3EiAkhKsVHx7jTqU+8ZUdVbMEzZisjpyT9I0aw7QsD1Pfx3LuKrcXCSRg9xzUFbjlT58syTx3NbHiMAajFNALPpua5AjFbSKTr4E9HO9/yLFfK6l+Jtt2HBkwubMwg0Vc+r241wFPWj9FkLEWmU2ugrDQw6I/KNikSJD7kl/TBFaf1qUUjJ7iaN9+p5Dfla/mi5ALBxIXS1+5jRuy2wJ05ez9VT5n/CJ0ESgalbV8UJAJXfSC5rwbwQ0RdCLKHlL1Il9cWQyGITeV6Fqc6FYlZfiUqCnZxhCp8N0HlLq+yJs6JUmM/utGK8HZQBmEAWo38ivj6oww+FdmQbMcDCz/tNHhWk61LbvqKDrSQ/TqzVUf3IFsS32yxxY+fO84+7h89n3auclPUMYBlHrYDfeTXnHj2+lHZBxd6jXXMfzxoCUHFXLJJfI9oDbshk= x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39410400002)(39860400002)(39840400002)(39850400002)(377454003)(13464003)(81166006)(8676002)(7696004)(8936002)(25786009)(305945005)(50986999)(76176999)(2906002)(53546010)(122556002)(3280700002)(2501003)(3660700001)(966005)(74316002)(5660300001)(14454004)(478600001)(7736002)(2950100002)(2900100001)(77096006)(54356999)(229853002)(66066001)(33656002)(86362001)(3846002)(102836003)(6116002)(6506006)(4326008)(6246003)(6436002)(6306002)(38730400002)(54906002)(55016002)(9686003)(189998001)(53936002); DIR:OUT; SFP:1102; SCL:1; SRVR:CS1PR84MB0296; H:CS1PR84MB0295.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:sfv; LANG:en; x-ms-office365-filtering-correlation-id: 2bab7b65-7e1e-4c90-95dd-08d4bc676be9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:CS1PR84MB0296; x-ms-traffictypediagnostic: CS1PR84MB0296: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(227479698468861)(236129657087228)(162533806227266)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CS1PR84MB0296; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CS1PR84MB0296; x-forefront-prvs: 0350D7A55D spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jun 2017 07:46:14.2487 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR84MB0296 X-OriginatorOrg: hpe.com 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 07:44:49 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Looks good. This is what we discussed with Ray for adding BDS platform hook= function. Thanks for implementing this, Dandan. Reviewed-by: Sunny Wang -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Dand= an Bi Sent: Monday, June 26, 2017 1:51 PM To: edk2-devel@lists.01.org Cc: Ruiyu Ni Subject: [edk2] [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when bo= oting from BootOrder list Report Status Code to indicate BDS starts attempting booting from the UEFI = BootOrder list. 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(-) diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Univer= sal/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 b= e 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 pro= gram and the accompanying materials are licensed and made available under = the terms and conditions of the BSD License which accompanies this distrib= ution. The full text of the license may be found at @@ -368,10 +368,15 @@ = BootBootOptions ( ) { UINTN Index; =20 // + // Report Status Code to indicate BDS starts attempting booting from the= UEFI BootOrder list. + // + REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_DXE_BS_DRIVER |=20 + 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel