]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: link partition to block device
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 10 Jan 2020 11:36:01 +0000 (12:36 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:15:33 +0000 (09:15 +0100)
commit264485131c59c1c8fa17fe742bbca65cef868d94
tree10a493992781507bcd885b3cb8d747935f0fa93e
parentf9ad240e65ac2f45d7b0acd770b5d79e50c3d92f
efi_loader: link partition to block device

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.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c