Extensible Firmware Interface Specification
G.4.9.1
Issuing the Command
To issue a Shutdown command, create a CDB and fill it in as shown in the table below:
CDB Field
OpCode
OpFlags
CPBsize
DBsize
CPBaddr
DBaddr
StatCode
StatFlags
IFnum
Control
G.4.9.2
Waiting for the Command to Execute
Monitor the upper two bits (14 & 15) in the
report
PXE_STATFLAGS_COMMAND_COMPLETE
the command has not been executed by the UNDI.
StatFlags
COMMAND_COMPLETE
COMMAND_FAILED
COMMAND_QUEUED
INITIALIZE
G.4.9.3
Checking Command Execution Results
After command execution completes, either successfully or not, the
contains the result of the command execution.
StatCode
SUCCESS
INVALID_CDB
BUSY
QUEUE_FULL
NOT_STARTED
NOT_INITIALIZED
436
How to initialize the CDB structure for a Shutdown command
PXE_OPCODE_SHUTDOWN
PXE_OPFLAGS_NOT_USED
PXE_CPBSIZE_NOT_USED
PXE_DBSIZE_NOT_USED
PXE_CPBSIZE_NOT_USED
PXE_DBSIZE_NOT_USED
PXE_STATCODE_INITIALIZE
PXE_STATFLAGS_INITIALIZE
A valid interface number from zero to !PXE.IFcnt.
Set as needed.
CDB.StatFlags
Reason
Command completed successfully. UNDI and network device are shutdown.
Command failed. StatCode field contains error code.
Command has been queued.
Command has been not executed or queued.
Reason
Command completed successfully. UNDI and network device are shutdown.
One of the CDB fields was not set correctly.
UNDI is already processing commands. Try again later.
Command queue is full. Try again later.
The UNDI is not started.
The UNDI is not initialized.
12/12/00
field. Until these bits change to
or PXE_STATFLAGS_COMMAND_FAILED,
CDB.StatCode
field
Version 1.02
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?