iPXE
Data Fields
undi_device Struct Reference

An UNDI device. More...

#include <undi.h>

Data Fields

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

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

◆ pxenv

SEGOFF16_t undi_device::pxenv

PXENV+ structure address.

Definition at line 24 of file undi.h.

Referenced by undi_load(), and undi_unload().

◆ ppxe

SEGOFF16_t undi_device::ppxe

!PXE structure address

Definition at line 26 of file undi.h.

Referenced by undi_load(), and undi_unload().

◆ entry

SEGOFF16_t undi_device::entry

Entry point.

Definition at line 28 of file undi.h.

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

◆ fbms

UINT16_t undi_device::fbms

Free base memory after load.

Definition at line 30 of file undi.h.

Referenced by undi_load(), and undi_unload().

◆ restore_fbms

UINT16_t undi_device::restore_fbms

Free base memory prior to load.

Definition at line 32 of file undi.h.

Referenced by undi_load(), and undi_unload().

◆ pci_busdevfn

UINT16_t undi_device::pci_busdevfn

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_csn

UINT16_t undi_device::isapnp_csn

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

UINT16_t undi_device::isapnp_read_port

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

UINT16_t undi_device::pci_vendor

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

UINT16_t undi_device::pci_device

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

UINT16_t undi_device::flags

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

◆ priv

void* undi_device::priv

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: