提交 454568b4 编写于 作者: A AKASHI Takahiro 提交者: Heinrich Schuchardt

efi_loader: define load option attributes

See UEFI specification v2.7a, section 3.1.3, "Load Option Processing."
Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
上级 49d81fdf
...@@ -1438,4 +1438,13 @@ struct efi_unicode_collation_protocol { ...@@ -1438,4 +1438,13 @@ struct efi_unicode_collation_protocol {
char *supported_languages; 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 #endif
...@@ -14,10 +14,6 @@ ...@@ -14,10 +14,6 @@
static const struct efi_boot_services *bs; static const struct efi_boot_services *bs;
static const struct efi_runtime_services *rs; static const struct efi_runtime_services *rs;
#define LOAD_OPTION_ACTIVE 0x00000001
#define LOAD_OPTION_FORCE_RECONNECT 0x00000002
#define LOAD_OPTION_HIDDEN 0x00000008
/* /*
* bootmgr implements the logic of trying to find a payload to boot * bootmgr implements the logic of trying to find a payload to boot
* based on the BootOrder + BootXXXX variables, and then loading it. * based on the BootOrder + BootXXXX variables, and then loading it.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册