beautypg.com

Intel Extensible Firmware Interface User Manual

Page 903

background image

32/64-Bit UNDI Specification

Version 1.10

12/01/02

E-37

E.3.5.5 PXE_IP_ADDR

This storage type is always big endian (network order) not little endian (Intel order).

#pragma pack(1)

typedef union u_pxe_ip_addr {

PXE_IPV6

IPv6;

PXE_IPV4

IPv4;

} PXE_IP_ADDR;

#pragma pack()

E.3.5.6 PXE_DEVICE

This typedef is used to identify the network device that is being used by the UNDI. This
information is returned by the Get Config Info command.

#pragma pack(1)

typedef union pxe_device {

// PCI and PC Card NICs are both identified using bus, device

// and function numbers. For PC Card, this may require PC

// Card services to be loaded in the BIOS or preboot

// environment.

struct {

// See S/W UNDI ROMID structure definition for PCI and

// PCC BusType definitions.

PXE_UINT32

BusType;

// Bus, device & function numbers that locate this device.

PXE_UINT16

Bus;

PXE_UINT8

Device;

PXE_UINT8

Function;

} PCI, PCC;

} PXE_DEVICE;

#pragma pack()