]>
git.proxmox.com Git - mirror_edk2.git/blob - Nt32Pkg/PlatformBdsDxe/Generic/BootMaint/BBSsupport.h
685c66a4ee8d87ba14d4e80eee9e80985fa02c6d
3 Copyright (c) 2006 - 2007, 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
28 // Include common header file for this module.
30 #include "CommonHeader.h"
32 #include "Generic/BootMaint/BootMaint.h"
34 #if defined (MDE_CPU_IA32)
35 #define REFRESH_LEGACY_BOOT_OPTIONS \
36 BdsDeleteAllInvalidLegacyBootOptions ();\
37 BdsAddNonExistingLegacyBootOptions (); \
38 BdsUpdateLegacyDevOrder ()
40 #define REFRESH_LEGACY_BOOT_OPTIONS
44 BdsBuildLegacyDevNameString (
45 IN BBS_TABLE
*CurBBSEntry
,
48 OUT CHAR16
*BootString
52 BdsDeleteAllInvalidLegacyBootOptions (
57 BdsAddNonExistingLegacyBootOptions (
64 Add the legacy boot options from BBS table if they do not exist.
72 EFI_SUCCESS - The boot options are added successfully or they are already in boot options.
73 others - An error occurred when creating legacy boot options.
79 BdsUpdateLegacyDevOrder (
84 BdsRefreshBbsTableForBoot (
85 IN BDS_COMMON_OPTION
*Entry