]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Allow use of typed pointers for efi_open() et al
authorMichael Brown <mcb30@ipxe.org>
Mon, 24 Mar 2025 14:24:47 +0000 (14:24 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 24 Mar 2025 15:43:56 +0000 (15:43 +0000)
commit32a9408217810498deeeae3d2564ab15468c9c39
treee39162f48abd5a12dd664af9ba057bb6131bb626
parent37897fbd401b9773f3d8a338564eff67b124e2f7
[efi] Allow use of typed pointers for efi_open() et al

Provide wrapper macros to allow efi_open() and related functions to
accept a pointer to any pointer type as the "interface" argument, in
order to allow a substantial amount of type adjustment boilerplate to
be removed.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
23 files changed:
src/drivers/net/efi/mnpnet.c
src/drivers/net/efi/nii.c
src/drivers/net/efi/snpnet.c
src/drivers/usb/usbio.c
src/image/efi_image.c
src/include/ipxe/efi/efi.h
src/interface/efi/efi_autoboot.c
src/interface/efi/efi_block.c
src/interface/efi/efi_bofm.c
src/interface/efi/efi_cachedhcp.c
src/interface/efi/efi_console.c
src/interface/efi/efi_debug.c
src/interface/efi/efi_driver.c
src/interface/efi/efi_file.c
src/interface/efi/efi_init.c
src/interface/efi/efi_local.c
src/interface/efi/efi_open.c
src/interface/efi/efi_pci.c
src/interface/efi/efi_service.c
src/interface/efi/efi_shim.c
src/interface/efi/efi_utils.c
src/interface/efi/efi_veto.c
src/interface/efi/efi_wrap.c