summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c
diff options
context:
space:
mode:
authorSunny Wang <sunnywang@hpe.com>2016-07-01 10:38:24 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-07-05 17:33:05 +0800
commite58f1ae5c9689200865cf4fdd7d6e8a9d28e3cf3 (patch)
tree4e117ccf13ce8454e65cc22893e9e2f0fc49fbf6 /ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c
parentd84577e573234cbd1f3de2b7bd6d6f00512e764f (diff)
downloadedk2-platforms-e58f1ae5c9689200865cf4fdd7d6e8a9d28e3cf3.tar.xz
MdeModulePkg: Skip registering BootManagerMenu if absent
This is a enhancement to support the case when platform firmware doesn't support Boot Manager Menu. For now, if BootManagerMenu FFS can not be retrieved from FV, BDS core code will still register a boot option for it. Then, this non-functional boot option will still be booted by user's request (like HotKey or Exit from shell) to cause additional boot time and error status code reported. Therefore, it would be good to skip BootManagerMenu boot option registration and then return error status and Invalid BootOption data for this case so that the BootManagerBoot() or other consumers can directly return without doing anything. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Sunny Wang <sunnywang@hpe.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c')
0 files changed, 0 insertions, 0 deletions