]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/BmBoot: Report status when fail to load/start boot option
authorDandan Bi <dandan.bi@intel.com>
Fri, 15 Feb 2019 05:58:50 +0000 (13:58 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 19 Feb 2019 08:15:05 +0000 (16:15 +0800)
commitc2cf8720a5aad74230767a1f11bade2d86de3745
treefec7b1050007c358e1b8696538c0c16ae6ba14cd
parent2b005f41fdf1a5783eed0d0304c8d9c114acea68
MdeModulePkg/BmBoot: Report status when fail to load/start boot option

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1398

According to PI1.7 Spec, report extended data describing an
EFI_STATUS return value along with
EFI_SW_DXE_BS_EC_BOOT_OPTION_LOAD_ERROR and
EFI_SW_DXE_BS_EC_BOOT_OPTION_FAILED status code
when fail to load or start boot option image.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c