iPXE
Data Fields
undi_device Struct Reference

An UNDI device. More...

#include <undi.h>

Data Fields

SEGOFF16_t pxenv
 PXENV+ structure address.
SEGOFF16_t ppxe
 !PXE structure address
SEGOFF16_t entry
 Entry point.
UINT16_t fbms
 Free base memory after load.
UINT16_t restore_fbms
 Free base memory prior to load.
UINT16_t pci_busdevfn
 PCI bus:dev.fn, or UNDI_NO_PCI_BUSDEVFN.
UINT16_t isapnp_csn
 ISAPnP card select number, or UNDI_NO_ISAPNP_CSN.
UINT16_t isapnp_read_port
 ISAPnP read port, or UNDI_NO_ISAPNP_READ_PORT.
UINT16_t pci_vendor
 PCI vendor ID.
UINT16_t pci_device
 PCI device ID.
UINT16_t flags
 Flags.
void * priv
 Driver-private data.

Detailed Description

An UNDI device.

This structure is used by assembly code as well as C; do not alter this structure without editing pxeprefix.S to match.

Definition at line 22 of file undi.h.


Field Documentation

SEGOFF16_t undi_device::pxenv

PXENV+ structure address.

Definition at line 24 of file undi.h.

Referenced by undi_load(), and undi_unload().

SEGOFF16_t undi_device::ppxe

!PXE structure address

Definition at line 26 of file undi.h.

Referenced by undi_load(), and undi_unload().

SEGOFF16_t undi_device::entry

Entry point.

Definition at line 28 of file undi.h.

Referenced by undi_load(), undibus_probe(), and undinet_probe().

Free base memory after load.

Definition at line 30 of file undi.h.

Referenced by undi_load(), and undi_unload().

Free base memory prior to load.

Definition at line 32 of file undi.h.

Referenced by undi_load(), and undi_unload().

PCI bus:dev.fn, or UNDI_NO_PCI_BUSDEVFN.

Definition at line 34 of file undi.h.

Referenced by undi_load(), undi_load_pci(), undibus_probe(), and undinet_probe().

ISAPnP card select number, or UNDI_NO_ISAPNP_CSN.

Definition at line 36 of file undi.h.

Referenced by undi_load(), undi_load_pci(), undibus_probe(), and undinet_probe().

ISAPnP read port, or UNDI_NO_ISAPNP_READ_PORT.

Definition at line 38 of file undi.h.

Referenced by undi_load(), undi_load_pci(), and undinet_probe().

PCI vendor ID.

Filled in only for the preloaded UNDI device by pxeprefix.S

Definition at line 43 of file undi.h.

Referenced by undibus_probe().

PCI device ID.

Filled in only for the preloaded UNDI device by pxeprefix.S

Definition at line 48 of file undi.h.

Referenced by undibus_probe().

Flags.

This is the bitwise OR of zero or more UNDI_FL_XXX constants.

Definition at line 54 of file undi.h.

Referenced by undinet_probe(), and undinet_remove().

Driver-private data.

Use undi_set_drvdata() and undi_get_drvdata() to access this field.

Definition at line 61 of file undi.h.

Referenced by undi_get_drvdata(), and undi_set_drvdata().


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