]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h
UEFI HII: Merge UEFI HII support changes from branch.
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / BootMaint / BBSsupport.h
1 /*++
2
3 Copyright (c) 2004 - 2008, 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
8
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.
11
12 Module Name:
13
14 BBSsupport.h
15
16 Abstract:
17
18 declares interface functions
19
20 Revision History
21
22 --*/
23
24 #ifndef _EFI_BDS_BBS_SUPPORT_H
25 #define _EFI_BDS_BBS_SUPPORT_H
26
27 #include "BootMaint.h"
28 //
29 // Bugbug: Candidate for a PCD entries
30 //
31 #define MAX_BBS_ENTRIES 0x100
32
33 VOID
34 BdsBuildLegacyDevNameString (
35 IN BBS_TABLE *CurBBSEntry,
36 IN UINTN Index,
37 IN UINTN BufSize,
38 OUT CHAR16 *BootString
39 );
40
41 EFI_STATUS
42 BdsDeleteAllInvalidLegacyBootOptions (
43 VOID
44 );
45
46 EFI_STATUS
47 BdsAddNonExistingLegacyBootOptions (
48 VOID
49 )
50 /*++
51
52 Routine Description:
53
54 Add the legacy boot options from BBS table if they do not exist.
55
56 Arguments:
57
58 None.
59
60 Returns:
61
62 EFI_SUCCESS - The boot options are added successfully or they are already in boot options.
63 others - An error occurred when creating legacy boot options.
64
65 --*/
66 ;
67
68 EFI_STATUS
69 BdsUpdateLegacyDevOrder (
70 VOID
71 );
72
73 EFI_STATUS
74 BdsRefreshBbsTableForBoot (
75 IN BDS_COMMON_OPTION *Entry
76 );
77
78 #endif