3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 declares interface functions
24 #ifndef _EFI_BDS_BBS_SUPPORT_H
25 #define _EFI_BDS_BBS_SUPPORT_H
27 #include "Generic/BootMaint/BootMaint.h"
30 #define REFRESH_LEGACY_BOOT_OPTIONS \
31 BdsDeleteAllInvalidLegacyBootOptions ();\
32 BdsAddNonExistingLegacyBootOptions (); \
33 BdsUpdateLegacyDevOrder ()
35 #define REFRESH_LEGACY_BOOT_OPTIONS
39 BdsBuildLegacyDevNameString (
40 IN BBS_TABLE
*CurBBSEntry
,
43 OUT CHAR16
*BootString
47 BdsDeleteAllInvalidLegacyBootOptions (
52 BdsAddNonExistingLegacyBootOptions (
59 Add the legacy boot options from BBS table if they do not exist.
67 EFI_SUCCESS - The boot options are added successfully or they are already in boot options.
68 others - An error occurred when creating legacy boot options.
74 BdsUpdateLegacyDevOrder (
79 BdsRefreshBbsTableForBoot (
80 IN BDS_COMMON_OPTION
*Entry