iPXE
Data Fields
xen_driver Struct Reference

A Xen device driver. More...

#include <xenbus.h>

Data Fields

const char * name
 Name. More...
 
const char * type
 Device type. More...
 
int(* probe )(struct xen_device *xendev)
 Probe device. More...
 
void(* remove )(struct xen_device *xendev)
 Remove device. More...
 

Detailed Description

A Xen device driver.

Definition at line 36 of file xenbus.h.

Field Documentation

◆ name

const char* xen_driver::name

Name.

Definition at line 38 of file xenbus.h.

Referenced by xenbus_probe_device().

◆ type

const char* xen_driver::type

Device type.

Definition at line 40 of file xenbus.h.

Referenced by xenbus_find_driver(), and xenbus_probe_device().

◆ probe

int( * xen_driver::probe) (struct xen_device *xendev)

Probe device.

Parameters
xendevXen device
Return values
rcReturn status code

Definition at line 46 of file xenbus.h.

Referenced by xenbus_probe_device().

◆ remove

void( * xen_driver::remove) (struct xen_device *xendev)

Remove device.

Parameters
xendevXen device

Definition at line 51 of file xenbus.h.

Referenced by xenbus_probe_device(), and xenbus_remove_device().


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