]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h
Update all files to follow doxygen style file header.
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / BootMaint / BBSsupport.h
CommitLineData
fd6a62f3 1/** @file\r
2 declares interface functions\r
93e3992d 3\r
fd6a62f3 4Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
93e3992d 5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
fd6a62f3 13**/\r
93e3992d 14\r
15#ifndef _EFI_BDS_BBS_SUPPORT_H\r
16#define _EFI_BDS_BBS_SUPPORT_H\r
17\r
18#include "BootMaint.h"\r
19//\r
20// Bugbug: Candidate for a PCD entries\r
21//\r
22#define MAX_BBS_ENTRIES 0x100\r
23\r
24VOID\r
25BdsBuildLegacyDevNameString (\r
26 IN BBS_TABLE *CurBBSEntry,\r
27 IN UINTN Index,\r
28 IN UINTN BufSize,\r
29 OUT CHAR16 *BootString\r
30 );\r
31\r
32EFI_STATUS\r
33BdsDeleteAllInvalidLegacyBootOptions (\r
34 VOID\r
35 );\r
36\r
37EFI_STATUS\r
38BdsAddNonExistingLegacyBootOptions (\r
39 VOID\r
40 )\r
41/*++\r
42\r
43Routine Description:\r
44\r
45 Add the legacy boot options from BBS table if they do not exist.\r
46\r
47Arguments:\r
48\r
49 None.\r
50\r
51Returns:\r
52\r
53 EFI_SUCCESS - The boot options are added successfully or they are already in boot options.\r
54 others - An error occurred when creating legacy boot options.\r
55\r
56--*/\r
57;\r
58\r
59EFI_STATUS\r
60BdsUpdateLegacyDevOrder (\r
61 VOID\r
62 );\r
63\r
64EFI_STATUS\r
65BdsRefreshBbsTableForBoot (\r
66 IN BDS_COMMON_OPTION *Entry\r
67 );\r
68\r
69#endif\r