-/**\r
- Delete all the invalid legacy boot options.\r
-\r
- \r
-\r
- @retval EFI_SUCCESS All invalide legacy boot options are deleted.\r
- @retval EFI_OUT_OF_RESOURCES Fail to allocate necessary memory.\r
- @retval EFI_NOT_FOUND Fail to retrive variable of boot order.\r
-**/\r
-EFI_STATUS\r
-BdsDeleteAllInvalidLegacyBootOptions (\r
- VOID\r
- );\r
-\r
-/**\r
-\r
- Add the legacy boot options from BBS table if they do not exist.\r
-\r
- @retval EFI_SUCCESS The boot options are added successfully or they are already in boot options.\r
- @retval others An error occurred when creating legacy boot options.\r
-\r
-**/\r
-EFI_STATUS\r
-BdsAddNonExistingLegacyBootOptions (\r
- VOID\r
- );\r
-\r
-/**\r
-\r
- Add the legacy boot devices from BBS table into \r
- the legacy device boot order.\r
-\r
- @retval EFI_SUCCESS The boot devices are added successfully.\r
-\r
-**/\r
-EFI_STATUS\r
-BdsUpdateLegacyDevOrder (\r
- VOID\r
- );\r
-\r
-/**\r
- Set the boot priority for BBS entries based on boot option entry and boot order.\r
-\r
- @param Entry The boot option is to be checked for refresh BBS table.\r
- \r
- @retval EFI_SUCCESS The boot priority for BBS entries is refreshed successfully.\r
- @return status of BdsSetBootPriority4SameTypeDev()\r
-**/\r
-EFI_STATUS\r
-BdsRefreshBbsTableForBoot (\r
- IN BDS_COMMON_OPTION *Entry\r
- );\r
-\r