[PATCH 0/3] efi_driver: move event registration to driver
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Thu Oct 6 07:49:30 CEST 2022
For correct handling of protocols by the EFI block driver we need to
open protocols BY_DRIVER or BY_CHILD_CONTROLLER. By moving the event
registration for block devices to the block device driver we can add
the EFI Driver Binding protocol interface as context to the events.
Later patches will use the driver handle from this protocol as agent
handle.
Heinrich Schuchardt (3):
efi_driver: add init function to EFI block driver
efi_selftest: rename event_notify
efi_driver: move event registration to driver
include/efi_driver.h | 3 ++
include/efi_loader.h | 7 ++-
lib/efi_driver/efi_block_device.c | 28 +++++++++++
lib/efi_driver/efi_uclass.c | 17 +++++--
lib/efi_loader/efi_disk.c | 25 +---------
lib/efi_loader/efi_setup.c | 8 +---
lib/efi_selftest/efi_selftest_events.c | 18 +++----
.../efi_selftest_exitbootservices.c | 6 +--
lib/efi_selftest/efi_selftest_tpl.c | 47 ++++++++++---------
lib/efi_selftest/efi_selftest_watchdog.c | 30 ++++++------
10 files changed, 107 insertions(+), 82 deletions(-)
--
2.37.2
More information about the U-Boot
mailing list