10 #include <gpxe/device.h>
11 #include <pxe_types.h>
17 /** Driver-private data
19 * Use undi_set_drvdata() and undi_get_drvdata() to access this
24 /** PXENV+ structure address */
26 /** !PXE structure address */
30 /** PCI bus:dev.fn, or 0 */
31 unsigned int pci_busdevfn;
32 /** ISAPnP card select number, or -1U */
33 unsigned int isapnp_csn;
34 /** ISAPnP read port, or -1U */
35 unsigned int isapnp_read_port;
36 /** Free base memory prior to load */
37 unsigned int restore_fbms;
38 /** Free base memory after load */
43 * Set UNDI driver-private data
46 * @v priv Private data
48 static inline void undi_set_drvdata ( struct undi_device *undi, void *priv ) {
53 * Get UNDI driver-private data
56 * @ret priv Private data
58 static inline void * undi_get_drvdata ( struct undi_device *undi ) {