
9 Dec
2020
9 Dec
'20
8:11 a.m.
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