Commit b3dd14b6b1d4ddfbfbdaa80a6c784cb6c227ef6e
Committed by
Alexander Graf
1 parent
9bfca9f98a
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
efi_loader: make efi_block_io_guid a global symbol
The GUID of the EFI_BLOCK_IO_PROTOCOL is needed in different code parts. To avoid duplication make efi_block_io_guid a global symbol. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
include/efi_loader.h
... | ... | @@ -86,6 +86,8 @@ |
86 | 86 | |
87 | 87 | uint16_t *efi_dp_str(struct efi_device_path *dp); |
88 | 88 | |
89 | +/* GUID of the EFI_BLOCK_IO_PROTOCOL */ | |
90 | +extern const efi_guid_t efi_block_io_guid; | |
89 | 91 | extern const efi_guid_t efi_global_variable_guid; |
90 | 92 | extern const efi_guid_t efi_guid_console_control; |
91 | 93 | extern const efi_guid_t efi_guid_device_path; |
lib/efi_loader/efi_disk.c