public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] efi_driver: move event registration to driver
@ 2022-10-06  5:49 Heinrich Schuchardt
  2022-10-06  5:49 ` [PATCH 1/3] efi_driver: add init function to EFI block driver Heinrich Schuchardt
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Heinrich Schuchardt @ 2022-10-06  5:49 UTC (permalink / raw)
  To: Ilias Apalodimas; +Cc: u-boot, Heinrich Schuchardt

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-06  6:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06  5:49 [PATCH 0/3] efi_driver: move event registration to driver Heinrich Schuchardt
2022-10-06  5:49 ` [PATCH 1/3] efi_driver: add init function to EFI block driver Heinrich Schuchardt
2022-10-06  5:49 ` [PATCH 2/3] efi_selftest: rename event_notify Heinrich Schuchardt
2022-10-06  6:38   ` Ilias Apalodimas
2022-10-06  5:49 ` [PATCH 3/3] efi_driver: move event registration to driver Heinrich Schuchardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox