From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=15.233.44.26; helo=g2t2353.austin.hpe.com; envelope-from=sunnywang@hpe.com; receiver=edk2-devel@lists.01.org Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) (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 8B9A3210E8D66 for ; Tue, 3 Jul 2018 20:40:18 -0700 (PDT) Received: from G2W6311.americas.hpqcorp.net (g2w6311.austin.hp.com [16.197.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id 05E92A4 for ; Wed, 4 Jul 2018 03:40:18 +0000 (UTC) Received: from G4W9325.americas.hpqcorp.net (16.208.32.94) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 4 Jul 2018 03:39:56 +0000 Received: from G9W9210.americas.hpqcorp.net (2002:10dc:429b::10dc:429b) by G4W9325.americas.hpqcorp.net (2002:10d0:205e::10d0:205e) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 4 Jul 2018 03:39:55 +0000 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (15.241.52.12) by G9W9210.americas.hpqcorp.net (16.220.66.155) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 4 Jul 2018 03:39:55 +0000 Received: from AT5PR8401MB0929.NAMPRD84.PROD.OUTLOOK.COM (10.169.6.151) by AT5PR8401MB1233.NAMPRD84.PROD.OUTLOOK.COM (10.169.9.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.18; Wed, 4 Jul 2018 03:39:53 +0000 Received: from AT5PR8401MB0929.NAMPRD84.PROD.OUTLOOK.COM ([fe80::dc39:b258:6531:7c00]) by AT5PR8401MB0929.NAMPRD84.PROD.OUTLOOK.COM ([fe80::dc39:b258:6531:7c00%4]) with mapi id 15.20.0930.016; Wed, 4 Jul 2018 03:39:53 +0000 From: "Wang, Sunny (HPS SW)" To: Ruiyu Ni , "edk2-devel@lists.01.org" CC: Sean Brogan , Michael Turner , "Wang, Sunny (HPS SW)" Thread-Topic: [PATCH v4 9/9] MdeModulePkg/BdsDxe: Call PlatformBootManagerUnableToBoot() Thread-Index: AQHUEzl8gf2+CRK2QE+RmBEIIEVOFKR+asqg Date: Wed, 4 Jul 2018 03:39:53 +0000 Message-ID: References: <20180704015057.35908-1-ruiyu.ni@intel.com> <20180704015057.35908-10-ruiyu.ni@intel.com> In-Reply-To: <20180704015057.35908-10-ruiyu.ni@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sunnywang@hpe.com; x-originating-ip: [16.242.247.133] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AT5PR8401MB1233; 7:MWqdyKPUEbJMuZWOjosgNElU16zlSWkZmnaGZHK1TQMewl9e6zMRXJjPZLWzGVi8BCO1clbThUSXbh7xRomhqNj/KVFJUxMWM4X2AC28sA4c/kM4dzSOhiE7eiJJG3vlHXstFL87dw+otLNLBuV1S67ZF9soaIYDGigGoOfTugVgxARSkCkUMRfLoEHDM+4CjxqkIKPGaT0fYH1EqCDsnl2FGm0J7HKJan9JZXn4tMRUbA05HITzSGhCY6Yu4zYD x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10019020)(6029001)(396003)(346002)(376002)(39860400002)(366004)(136003)(13464003)(189003)(199004)(476003)(11346002)(486006)(5250100002)(2501003)(105586002)(106356001)(446003)(99286004)(478600001)(26005)(68736007)(53936002)(54906003)(76176011)(6116002)(3846002)(6506007)(7696005)(102836004)(14454004)(256004)(53546011)(6246003)(81156014)(81166006)(110136005)(8936002)(305945005)(25786009)(229853002)(33656002)(5660300001)(316002)(66066001)(55016002)(4326008)(74316002)(86362001)(186003)(9686003)(7736002)(2906002)(6436002)(2900100001)(8676002)(97736004); DIR:OUT; SFP:1102; SCL:1; SRVR:AT5PR8401MB1233; H:AT5PR8401MB0929.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 69a4ab79-9234-4302-341e-08d5e15fcde1 x-microsoft-antispam: UriScan:(222181515654134); BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(5600053)(711020)(2017052603328)(7153060)(7193020); SRVR:AT5PR8401MB1233; x-ms-traffictypediagnostic: AT5PR8401MB1233: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(227479698468861)(89211679590171)(162533806227266)(222181515654134)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:AT5PR8401MB1233; BCL:0; PCL:0; RULEID:; SRVR:AT5PR8401MB1233; x-forefront-prvs: 0723A02764 received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 2utk6TTDXUvrSZtW8ByicBJc2dbKEK14e1bwOQsLDq6zqjE65ImMX9kfQ3MqK0Dvkn6psLgF9KCMjl15ijgLKUOoeX+dYV6wi2NgTOihyZ3DYV6U4rG9AS9SXEpx3EvkKS+9vwvNTL6CmH/QNZ4QDPvPt1I0p8J6Cif/KPnXREY+1QGeu4XCgd1+EHln1gEybaiQeRCUGVZGroEXpYa/KbrKQFdy3eXlSjP9oJ+OVkuXN+zWWFnno+DoJ0MZBXR++y7BBmfp8YRUdcmGcRrCJ/zzb3qne/19VS9y09Biuz/uuhxQc3MCSvQBbi/u19Iy/C/WEkuZ45UF+oc0dj0PyXGWJUN1yWwoVFEy/rspuDk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 69a4ab79-9234-4302-341e-08d5e15fcde1 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2018 03:39:53.3703 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB1233 X-OriginatorOrg: hpe.com Subject: Re: [PATCH v4 9/9] MdeModulePkg/BdsDxe: Call 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: Wed, 04 Jul 2018 03:40:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Looks good to me. This is clearer.=20 Reviewed-by: Sunny Wang -----Original Message----- From: Ruiyu Ni [mailto:ruiyu.ni@intel.com]=20 Sent: Wednesday, July 04, 2018 9:51 AM To: edk2-devel@lists.01.org Cc: Sean Brogan ; Michael Turner ; Wang, Sunny (HPS SW) Subject: [PATCH v4 9/9] MdeModulePkg/BdsDxe: Call PlatformBootManagerUnable= ToBoot() When no boot option can be launched, BDS core calls PlatformBootManagerUnableToBoot() to let platform BdsDxe handle it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni Reviewed-by: Laszlo Ersek Cc: Sean Brogan Cc: Michael Turner Cc: Sunny Wang --- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Univer= sal/BdsDxe/BdsEntry.c index 39b643c77a..a25663ea43 100644 --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c @@ -1043,6 +1043,7 @@ BdsEntry ( } =20 DEBUG ((EFI_D_ERROR, "[Bds] Unable to boot!\n")); + PlatformBootManagerUnableToBoot (); CpuDeadLoop (); } =20 --=20 2.16.1.windows.1