Re: [resent RFC 14/22] efi_loader: disk: a helper function to create efi_disk objects from udevice

2021-10-04 Thread AKASHI Takahiro
On Mon, Oct 04, 2021 at 09:50:02PM +0300, Ilias Apalodimas wrote: > On Mon, Oct 04, 2021 at 12:44:22PM +0900, AKASHI Takahiro wrote: > > Add efi_disk_create() function. > > > > Any UEFI handle created by efi_disk_create() can be treated as a efi_disk > > object, the udevice is either a UCLASS_BLK

Re: [resent RFC 14/22] efi_loader: disk: a helper function to create efi_disk objects from udevice

2021-10-04 Thread Ilias Apalodimas
On Mon, Oct 04, 2021 at 12:44:22PM +0900, AKASHI Takahiro wrote: > Add efi_disk_create() function. > > Any UEFI handle created by efi_disk_create() can be treated as a efi_disk > object, the udevice is either a UCLASS_BLK (a whole raw disk) or > UCLASS_PARTITION (a disk partition). > > So this

[resent RFC 14/22] efi_loader: disk: a helper function to create efi_disk objects from udevice

2021-10-03 Thread AKASHI Takahiro
Add efi_disk_create() function. Any UEFI handle created by efi_disk_create() can be treated as a efi_disk object, the udevice is either a UCLASS_BLK (a whole raw disk) or UCLASS_PARTITION (a disk partition). So this function is expected to be called every time such an udevice is detected and