diff options
| author | Sachin Ganesh <sachinganesh@ami.com> | 2026-08-08 00:41:58 +0530 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-07 07:37:40 +0000 |
| commit | 11acd945a41153aa9d6027b42aff693f68abeb4e (patch) | |
| tree | 478b5333ba929f3b90a1ba38d13c82720e96f096 | |
| parent | 6272d394b761262d81a01e206231bf0cac039b69 (diff) | |
| download | edk2-11acd945a41153aa9d6027b42aff693f68abeb4e.tar.gz edk2-11acd945a41153aa9d6027b42aff693f68abeb4e.zip | |
MdeModulePkg: Report EFI_SW_DXE_BS_PC_BOOT_OPTION_COMPLETE
Previously EfiBootManagerBoot reported
EFI_SW_DXE_BS_EC_BOOT_OPTION_FAILED when a boot option returned an
error, but reported nothing on success. Report the PI 1.10 status
code EFI_SW_DXE_BS_PC_BOOT_OPTION_COMPLETE when a boot option loads,
executes, and returns success, so status code listeners can tell that
a boot option was attempted and that control returned to firmware.
Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
| -rw-r--r-- | MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c index 0d84d386ee..5d614436e8 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c @@ -2175,6 +2175,8 @@ EfiBootManagerBoot ( // Report Status Code with the failure status to indicate that boot failure
//
BmReportLoadFailure (EFI_SW_DXE_BS_EC_BOOT_OPTION_FAILED, Status);
+ } else {
+ REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_DXE_BS_PC_BOOT_OPTION_COMPLETE));
}
PERF_END_EX (gImageHandle, "BdsAttempt", NULL, 0, (UINT32)OptionNumber);
|
