summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-02-25 15:54:37 +0900
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-02-25 12:47:13 +0100
commit454568b4f00c871f59489dec6fcedc0e2c467fd3 (patch)
tree6f33efe419bf37e75358ffcf9240c19e247f9d4e /include
parent49d81fdfb8c1fc07e54c8f01fe5c5b1125f884cb (diff)
downloadu-boot-454568b4f00c871f59489dec6fcedc0e2c467fd3.tar.gz
u-boot-454568b4f00c871f59489dec6fcedc0e2c467fd3.tar.bz2
u-boot-454568b4f00c871f59489dec6fcedc0e2c467fd3.zip
efi_loader: define load option attributes
See UEFI specification v2.7a, section 3.1.3, "Load Option Processing." Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include')
-rw-r--r--include/efi_api.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 45ca05e8ac..ccf608653d 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -1438,4 +1438,13 @@ struct efi_unicode_collation_protocol {
char *supported_languages;
};
+/* Boot manager load options */
+#define LOAD_OPTION_ACTIVE 0x00000001
+#define LOAD_OPTION_FORCE_RECONNECT 0x00000002
+#define LOAD_OPTION_HIDDEN 0x00000008
+/* All values 0x00000200-0x00001F00 are reserved */
+#define LOAD_OPTION_CATEGORY 0x00001F00
+#define LOAD_OPTION_CATEGORY_BOOT 0x00000000
+#define LOAD_OPTION_CATEGORY_APP 0x00000100
+
#endif