iPXE
Data Fields
efi_driver Struct Reference

An EFI driver. More...

#include <efi_driver.h>

Data Fields

const char * name
 Name.
int(* supported )(EFI_HANDLE device)
 Check if driver supports device.
int(* start )(struct efi_device *efidev)
 Attach driver to device.
void(* stop )(struct efi_device *efidev)
 Detach driver from device.

Detailed Description

An EFI driver.

Definition at line 31 of file efi_driver.h.


Field Documentation

const char* efi_driver::name

Name.

Definition at line 33 of file efi_driver.h.

Referenced by efi_driver_start(), and efi_driver_supported().

Check if driver supports device.

Parameters:
deviceEFI device handle
Return values:
rcReturn status code

Definition at line 40 of file efi_driver.h.

Referenced by efi_driver_start(), and efi_driver_supported().

int( * efi_driver::start)(struct efi_device *efidev)

Attach driver to device.

Parameters:
efidevEFI device
Return values:
rcReturn status code

Definition at line 47 of file efi_driver.h.

Referenced by efi_driver_start().

void( * efi_driver::stop)(struct efi_device *efidev)

Detach driver from device.

Parameters:
efidevEFI device

Definition at line 53 of file efi_driver.h.

Referenced by efi_driver_stop().


The documentation for this struct was generated from the following file: