2 Legacy Boot Maintenance UI definition.
4 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _EFI_LEGACY_BOOT_OPTION_VFR_H_
10 #define _EFI_LEGACY_BOOT_OPTION_VFR_H_
12 #include <Guid/HiiBootMaintenanceFormset.h>
14 #define MAX_MENU_NUMBER 100
16 #define LEGACY_BOOT_OPTION_FORMSET_GUID { 0x6bc75598, 0x89b4, 0x483d, { 0x91, 0x60, 0x7f, 0x46, 0x9a, 0x96, 0x35, 0x31 } }
18 #define VARSTORE_ID_LEGACY_BOOT 0x0001
20 #define LEGACY_BOOT_FORM_ID 0x1000
21 #define LEGACY_ORDER_CHANGE_FORM_ID 0x1001
23 #define FORM_FLOPPY_BOOT_ID 0x2000
24 #define FORM_HARDDISK_BOOT_ID 0x2001
25 #define FORM_CDROM_BOOT_ID 0x2002
26 #define FORM_NET_BOOT_ID 0x2003
27 #define FORM_BEV_BOOT_ID 0x2004
29 #define FORM_BOOT_LEGACY_DEVICE_ID 0x9000
30 #define FORM_BOOT_LEGACY_LABEL_END 0x9001
35 /// This is the structure that will be used to store the
36 /// question's current value. Use it at initialize time to
37 /// set default value for each question. When using at run
38 /// time, this map is returned by the callback function,
39 /// so dynamically changing the question's value will be
40 /// possible through this mechanism
44 // Legacy Device Order Selection Storage
46 UINT16 LegacyFD
[MAX_MENU_NUMBER
];
47 UINT16 LegacyHD
[MAX_MENU_NUMBER
];
48 UINT16 LegacyCD
[MAX_MENU_NUMBER
];
49 UINT16 LegacyNET
[MAX_MENU_NUMBER
];
50 UINT16 LegacyBEV
[MAX_MENU_NUMBER
];
51 } LEGACY_BOOT_NV_DATA
;
54 /// This is the structure that will be used to store the
55 /// question's current value. Use it at initialize time to
56 /// set default value for each question. When using at run
57 /// time, this map is returned by the callback function,
58 /// so dynamically changing the question's value will be
59 /// possible through this mechanism
63 // Legacy Device Order Selection Storage
65 LEGACY_BOOT_NV_DATA InitialNvData
;
66 LEGACY_BOOT_NV_DATA CurrentNvData
;
67 LEGACY_BOOT_NV_DATA LastTimeNvData
;
69 } LEGACY_BOOT_MAINTAIN_DATA
;