iPXE
Data Fields
efi_driver Struct Reference

An EFI driver. More...

#include <efi_driver.h>

Data Fields

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

Detailed Description

An EFI driver.

Definition at line 33 of file efi_driver.h.

Field Documentation

◆ name

const char* efi_driver::name

Name.

Definition at line 35 of file efi_driver.h.

Referenced by efi_driver_start(), and efi_driver_supported().

◆ supported

int( * efi_driver::supported) (EFI_HANDLE device)

Check if driver supports device.

Parameters
deviceEFI device handle
Return values
rcReturn status code

Definition at line 42 of file efi_driver.h.

Referenced by efi_driver_start(), and efi_driver_supported().

◆ start

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

Attach driver to device.

Parameters
efidevEFI device
Return values
rcReturn status code

Definition at line 49 of file efi_driver.h.

Referenced by efi_driver_start().

◆ stop

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

Detach driver from device.

Parameters
efidevEFI device

Definition at line 55 of file efi_driver.h.

Referenced by efi_driver_stop().


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