pxe.h File Reference

#include "pxe_types.h"
#include "pxe_api.h"
#include <gpxe/device.h>

Go to the source code of this file.

Data Structures

struct  s_PXENV_UNKNOWN
union  u_PXENV_ANY
struct  undi_rom_header
 An UNDI expansion ROM header. More...
struct  undi_rom_id
 An UNDI ROM ID structure. More...
struct  pcir_header
 A PCI expansion header. More...

Defines

#define ROM_SIGNATURE   0xaa55
 Signature for an expansion ROM.
#define UNDI_ROM_ID_SIGNATURE   ( ( 'U' << 0 ) + ( 'N' << 8 ) + ( 'D' << 16 ) + ( 'I' << 24 ) )
 Signature for an UNDI ROM ID structure.
#define PCIR_SIGNATURE   ( ( 'P' << 0 ) + ( 'C' << 8 ) + ( 'I' << 16 ) + ( 'R' << 24 ) )
 Signature for an UNDI ROM ID structure.

Typedefs

typedef struct s_PXENV_UNKNOWN PXENV_UNKNOWN_t
typedef union u_PXENV_ANY PXENV_ANY_t

Functions

 FILE_LICENCE (GPL2_OR_LATER)
void pxe_set_netdev (struct net_device *netdev)
 Set network device as current PXE network device.

Variables

struct s_PXENV_UNKNOWN PACKED
 An UNDI expansion ROM header.
struct net_devicepxe_netdev


Define Documentation

#define ROM_SIGNATURE   0xaa55

Signature for an expansion ROM.

Definition at line 93 of file pxe.h.

Referenced by undirom_probe().

#define UNDI_ROM_ID_SIGNATURE   ( ( 'U' << 0 ) + ( 'N' << 8 ) + ( 'D' << 16 ) + ( 'I' << 24 ) )

Signature for an UNDI ROM ID structure.

Definition at line 127 of file pxe.h.

Referenced by undirom_parse_pxeromid().

#define PCIR_SIGNATURE   ( ( 'P' << 0 ) + ( 'C' << 8 ) + ( 'I' << 16 ) + ( 'R' << 24 ) )

Signature for an UNDI ROM ID structure.

Definition at line 144 of file pxe.h.

Referenced by undirom_parse_pcirheader().


Typedef Documentation

Definition at line 15 of file pxe.h.

typedef union u_PXENV_ANY PXENV_ANY_t

Definition at line 73 of file pxe.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

void pxe_set_netdev ( struct net_device netdev  ) 

Set network device as current PXE network device.

Parameters:
netdev Network device, or NULL

Definition at line 60 of file pxe_undi.c.

References netdev_get(), netdev_put(), and NULL.

Referenced by pxe_activate(), and pxe_deactivate().

00060                                                   {
00061         if ( pxe_netdev )
00062                 netdev_put ( pxe_netdev );
00063         pxe_netdev = NULL;
00064         if ( netdev )
00065                 pxe_netdev = netdev_get ( netdev );
00066 }


Variable Documentation

An UNDI expansion ROM header.

A PCI expansion header.

An UNDI ROM ID structure.

Definition at line 53 of file pxe_undi.c.

Referenced by pxenv_get_cached_info(), and pxenv_udp_write().


Generated on Tue Apr 6 20:01:13 2010 for gPXE by  doxygen 1.5.7.1