diff options
author | Dandan Bi <dandan.bi@intel.com> | 2017-06-26 13:18:20 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-06-27 10:25:05 +0800 |
commit | 45b57c1268f42bdad86287b5d41e8c1a86d98834 (patch) | |
tree | fbbc7f45d8807aff54260aeb99c2bd60015de232 /MdeModulePkg | |
parent | 72259647d0f2eeff65781bc1013674fbd9fd6aa2 (diff) | |
download | edk2-45b57c1268f42bdad86287b5d41e8c1a86d98834.zip edk2-45b57c1268f42bdad86287b5d41e8c1a86d98834.tar.gz edk2-45b57c1268f42bdad86287b5d41e8c1a86d98834.tar.bz2 |
MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list
Report Status Code to indicate BDS starts attempting booting
from the UEFI BootOrder list.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ -5,7 +5,7 @@ After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be invoked
to enter BDS phase.
-Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
This program and the accompanying materials
@@ -370,6 +370,11 @@ BootBootOptions ( UINTN Index;
//
+ // 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 | EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT));
+
+ //
// Attempt boot each boot option
//
for (Index = 0; Index < BootOptionCount; Index++) {
|