iPXE
Data Fields
xen_driver Struct Reference

A Xen device driver. More...

#include <xenbus.h>

Data Fields

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

Detailed Description

A Xen device driver.

Definition at line 36 of file xenbus.h.


Field Documentation

const char* xen_driver::name

Name.

Definition at line 38 of file xenbus.h.

Referenced by xenbus_probe_device().

const char* xen_driver::type

Device type.

Definition at line 40 of file xenbus.h.

Referenced by xenbus_find_driver(), and xenbus_probe_device().

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().

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: