Extensible Firmware Interface Specification
E-20 12/01/02 Version 1.10
E.3.4 Simple Types
The PXE simple types are defined using one of the portability types from the previous section.
E.3.4.1 PXE_BOOL
Boolean (true/false) data type. For PXE zero is always false and nonzero is always true.
typedef PXE_UINT8 PXE_BOOL;
#define PXE_FALSE 0 // zero
#define PXE_TRUE (!PXE_FALSE)
E.3.4.2 PXE_OPCODE
UNDI OpCode (command) descriptions are given in the next chapter. There are no BC OpCodes,
BC protocol functions are discussed later in this document.
typedef PXE_UINT16 PXE_OPCODE;
// Return UNDI operational state.
#define PXE_OPCODE_GET_STATE 0x0000
// Change UNDI operational state from Stopped to Started.
#define PXE_OPCODE_START 0x0001
// Change UNDI operational state from Started to Stopped.
#define PXE_OPCODE_STOP 0x0002
// Get UNDI initialization information.
#define PXE_OPCODE_GET_INIT_INFO 0x0003
// Get NIC configuration information.
#define PXE_OPCODE_GET_CONFIG_INFO 0x0004
// Changed UNDI operational state from Started to Initialized.
#define PXE_OPCODE_INITIALIZE 0x0005
// Reinitialize the NIC H/W.
#define PXE_OPCODE_RESET 0x0006
// Change the UNDI operational state from Initialized to Started.
#define PXE_OPCODE_SHUTDOWN 0x0007
// Read & change state of external interrupt enables.
#define PXE_OPCODE_INTERRUPT_ENABLES 0x0008
// Read & change state of packet receive filters.
#define PXE_OPCODE_RECEIVE_FILTERS 0x0009