TianoCore EDK2 master
Loading...
Searching...
No Matches
GlobalVariable.h
Go to the documentation of this file.
1
11#ifndef __GLOBAL_VARIABLE_GUID_H__
12#define __GLOBAL_VARIABLE_GUID_H__
13
14#define EFI_GLOBAL_VARIABLE \
15 { \
16 0x8BE4DF61, 0x93CA, 0x11d2, {0xAA, 0x0D, 0x00, 0xE0, 0x98, 0x03, 0x2B, 0x8C } \
17 }
18
19extern EFI_GUID gEfiGlobalVariableGuid;
20
21//
22// Follow UEFI 2.4 spec:
23// To prevent name collisions with possible future globally defined variables,
24// other internal firmware data variables that are not defined here must be
25// saved with a unique VendorGuid other than EFI_GLOBAL_VARIABLE or
26// any other GUID defined by the UEFI Specification. Implementations must
27// only permit the creation of variables with a UEFI Specification-defined
28// VendorGuid when these variables are documented in the UEFI Specification.
29//
30// Note: except the globally defined variables defined below, the spec also defines
31// L"Boot####" - A boot load option.
32// L"Driver####" - A driver load option.
33// L"SysPrep####" - A System Prep application load option.
34// L"Key####" - Describes hot key relationship with a Boot#### load option.
35// The attribute for them is NV+BS+RT, #### is a printed hex value, and no 0x or h
36// is included in the hex value. They can not be expressed as a #define like other globally
37// defined variables, it is because we can not list the Boot0000, Boot0001, etc one by one.
38//
39
44#define EFI_LANG_CODES_VARIABLE_NAME L"LangCodes"
49#define EFI_LANG_VARIABLE_NAME L"Lang"
54#define EFI_TIME_OUT_VARIABLE_NAME L"Timeout"
59#define EFI_PLATFORM_LANG_CODES_VARIABLE_NAME L"PlatformLangCodes"
64#define EFI_PLATFORM_LANG_VARIABLE_NAME L"PlatformLang"
69#define EFI_CON_IN_VARIABLE_NAME L"ConIn"
70#define EFI_CON_OUT_VARIABLE_NAME L"ConOut"
71#define EFI_ERR_OUT_VARIABLE_NAME L"ErrOut"
76#define EFI_CON_IN_DEV_VARIABLE_NAME L"ConInDev"
77#define EFI_CON_OUT_DEV_VARIABLE_NAME L"ConOutDev"
78#define EFI_ERR_OUT_DEV_VARIABLE_NAME L"ErrOutDev"
83#define EFI_BOOT_ORDER_VARIABLE_NAME L"BootOrder"
88#define EFI_BOOT_NEXT_VARIABLE_NAME L"BootNext"
93#define EFI_BOOT_CURRENT_VARIABLE_NAME L"BootCurrent"
98#define EFI_BOOT_OPTION_SUPPORT_VARIABLE_NAME L"BootOptionSupport"
103#define EFI_DRIVER_ORDER_VARIABLE_NAME L"DriverOrder"
108#define EFI_SYS_PREP_ORDER_VARIABLE_NAME L"SysPrepOrder"
115#define EFI_HW_ERR_REC_SUPPORT_VARIABLE_NAME L"HwErrRecSupport"
121#define EFI_SETUP_MODE_NAME L"SetupMode"
126#define EFI_KEY_EXCHANGE_KEY_NAME L"KEK"
131#define EFI_PLATFORM_KEY_NAME L"PK"
137#define EFI_SIGNATURE_SUPPORT_NAME L"SignatureSupport"
143#define EFI_SECURE_BOOT_MODE_NAME L"SecureBoot"
148#define EFI_KEK_DEFAULT_VARIABLE_NAME L"KEKDefault"
153#define EFI_PK_DEFAULT_VARIABLE_NAME L"PKDefault"
158#define EFI_DB_DEFAULT_VARIABLE_NAME L"dbDefault"
163#define EFI_DBX_DEFAULT_VARIABLE_NAME L"dbxDefault"
168#define EFI_DBT_DEFAULT_VARIABLE_NAME L"dbtDefault"
173#define EFI_OS_INDICATIONS_SUPPORT_VARIABLE_NAME L"OsIndicationsSupported"
178#define EFI_OS_INDICATIONS_VARIABLE_NAME L"OsIndications"
184#define EFI_VENDOR_KEYS_VARIABLE_NAME L"VendorKeys"
185
190#define EFI_DEVICE_AUTH_BOOT_MODE_NAME L"devAuthBoot"
191
192#endif
Definition: Base.h:213