[PATCH 0/2] efi_loader: link partition to block device
Heinrich Schuchardt
xypron.glpk at gmx.de
Wed Dec 9 08:11:04 CET 2020
We provide a UEFI driver for block devices. When ConnectController() is
called for a handle with the EFI_BLOCK_IO_PROTOCOL this driver creates the
partitions. When DisconnectController() is called the handles for the
partitions have to be deleted. This requires that the child controllers
(partitions) open the EFI_BLOCK_IO_PROTOCOL of the controller (block IO
device) with attribute EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER.
Heinrich Schuchardt (2):
efi_loader: make efi_protocol_open() non-static
efi_loader: link partition to block device
include/efi_loader.h | 5 +++++
lib/efi_loader/efi_boottime.c | 2 +-
lib/efi_loader/efi_disk.c | 20 ++++++++++++++++++++
3 files changed, 26 insertions(+), 1 deletion(-)
--
2.29.2
More information about the U-Boot
mailing list