efi_loader: export root node handle

This is a preparatory patch.
The root node handle will be used as a dummy parent handle when invoking
an EFI image from bootefi/bootmgr command.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

Rebased.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
AKASHI Takahiro 2019-04-16 13:24:20 +09:00 committed by Heinrich Schuchardt
parent f86076d885
commit a2a4bc3b09
2 changed files with 6 additions and 2 deletions

View file

@ -25,6 +25,9 @@
EFI_GUID(0xe61d73b9, 0xa384, 0x4acc, \
0xae, 0xab, 0x82, 0xe8, 0x28, 0xf3, 0x62, 0x8b)
/* Root node */
extern efi_handle_t efi_root;
int __efi_entry_check(void);
int __efi_exit_check(void);
const char *__efi_nesting(void);