c2cf872 MdeModulePkg/BmBoot: Report status when fail to load/start boot option

1 file Authored by Dandan Bi 5 years ago, Committed by Liming Gao 5 years ago,
    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>