Library functions which relates with booting.\r
\r
Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.\r
-Copyright (c) 2011 - 2020, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2021, Intel Corporation. All rights reserved.<BR>\r
(C) Copyright 2015-2021 Hewlett Packard Enterprise Development LP<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
This function is called to get or create the boot option for the Boot Manager Menu.\r
\r
The Boot Manager Menu is shown after successfully booting a boot option.\r
- Assume the BootManagerMenuFile is in the same FV as the module links to this library.\r
+ This function will first try to search the BootManagerMenuFile is in the same FV as\r
+ the module links to this library. If fails, it will search in all FVs.\r
\r
@param BootOption Return the boot option of the Boot Manager Menu\r
\r
\r
if (DevicePath == NULL) {\r
Data = NULL;\r
- Status = GetSectionFromFv (\r
+ Status = GetSectionFromAnyFv (\r
PcdGetPtr (PcdBootManagerMenuFile),\r
EFI_SECTION_PE32,\r
0,\r
//\r
// Get BootManagerMenu application's description from EFI User Interface Section.\r
//\r
- Status = GetSectionFromFv (\r
+ Status = GetSectionFromAnyFv (\r
PcdGetPtr (PcdBootManagerMenuFile),\r
EFI_SECTION_USER_INTERFACE,\r
0,\r