Extensible Firmware Interface Specification
392 12/12/00 Version 1.02
G.3.4 Simple Types
The PXE simple types are defined using one of the portability types from the previous section.
G.3.4.1 PXE_BOOL
Boolean (true/false) data type. For PXE zero is always false and non-zero is always true.
typedef PXE_UINT8 PXE_BOOL;
#define PXE_FALSE 0 // zero
#define PXE_TRUE (!PXE_FALSE)
G.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
// Re-initialize the NIC H/W.
#define PXE_OPCODE_RESET 0x0006