1 #ifndef _IPXE_EFI_DRIVER_H 2 #define _IPXE_EFI_DRIVER_H 59 #define EFI_DRIVERS __table ( struct efi_driver, "efi_drivers" ) 62 #define __efi_driver( order ) __table_entry ( EFI_DRIVERS, order ) 64 #define EFI_DRIVER_EARLY 01 65 #define EFI_DRIVER_NORMAL 02 66 #define EFI_DRIVER_LATE 03 int efi_driver_connect_all(void)
Connect EFI driver to all possible devices.
struct efi_driver * driver
Driver for this device.
The device path protocol as defined in UEFI 2.0.
int efi_driver_install(void)
Install EFI driver.
void efidev_free(struct efi_device *efidev)
Free EFI device.
void efi_driver_uninstall(void)
Uninstall EFI driver.
void(* stop)(struct efi_device *efidev)
Detach driver from device.
struct efi_device * efidev_alloc(EFI_HANDLE device)
Allocate new EFI device.
EFI_HANDLE device
EFI device handle.
This protocol can be used on any device handle to obtain generic path/location information concerning...
uint16_t device
Device ID.
void efi_driver_reconnect_all(void)
Reconnect original EFI drivers to all possible devices.
int(* supported)(EFI_HANDLE device)
Check if driver supports device.
EFI_HANDLE child
EFI child device handle (if present)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void * priv
Driver-private data.
static void * efidev_get_drvdata(struct efi_device *efidev)
Get EFI driver-private data.
struct efi_device * efidev_parent(struct device *dev)
Get parent EFI device.
static struct tlan_private * priv
EFI_DEVICE_PATH_PROTOCOL * path
EFI device path copy.
static void efidev_set_drvdata(struct efi_device *efidev, void *priv)
Set EFI driver-private data.
struct device dev
Generic device.
int(* start)(struct efi_device *efidev)
Attach driver to device.
void efi_driver_disconnect_all(void)
Disconnect EFI driver from all possible devices.