Commit 7cceef7bde3d78dbd0f85794fbda0c431bac39c0
Committed by
Heinrich Schuchardt
1 parent
7be64b885a
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
efi_loader: define OsIndicationsSupported flags
These flags are expected to be set in OsIndicationsSupported variable if corresponding features are supported. See UEFI specification, section 8.5.4. In particular, capsule-related flags will be used in my capsule update patch. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Fix misspelled EFI_OS_INDICATIONS_BOOT_TO_FW_UI. Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Showing 1 changed file with 10 additions and 0 deletions Side-by-side Diff
include/efi_api.h
... | ... | @@ -57,6 +57,16 @@ |
57 | 57 | |
58 | 58 | struct efi_event; |
59 | 59 | |
60 | +/* OsIndicationsSupported flags */ | |
61 | +#define EFI_OS_INDICATIONS_BOOT_TO_FW_UI 0x0000000000000001 | |
62 | +#define EFI_OS_INDICATIONS_TIMESTAMP_REVOCATION 0x0000000000000002 | |
63 | +#define EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED 0x0000000000000004 | |
64 | +#define EFI_OS_INDICATIONS_FMP_CAPSULE_SUPPORTED 0x0000000000000008 | |
65 | +#define EFI_OS_INDICATIONS_CAPSULE_RESULT_VAR_SUPPORTED 0x0000000000000010 | |
66 | +#define EFI_OS_INDICATIONS_START_OS_RECOVERY 0x0000000000000020 | |
67 | +#define EFI_OS_INDICATIONS_START_PLATFORM_RECOVERY 0x0000000000000040 | |
68 | +#define EFI_OS_INDICATIONS_JSON_CONFIG_DATA_REFRESH 0x0000000000000080 | |
69 | + | |
60 | 70 | /* EFI Boot Services table */ |
61 | 71 | #define EFI_BOOT_SERVICES_SIGNATURE 0x56524553544f4f42 |
62 | 72 | struct efi_boot_services { |