![Intel Extensible Firmware Interface Specification Download Page 403](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117403.webp)
32/64-bit UNDI Specification
Version 1.02
12/12/00
385
Table G-5.
UNDI CDB Field Definitions
(continued)
Identifier
Description
CPBsize
Command Parameter Block Size
This field should be set to a number that is equal to the number of bytes that will be read
from CPB structure during command execution. Setting this field to a number that is too
small will cause the command to not be executed and a StatCode of
PXE_STATCODE_INVALID_CDB
will be returned.
The contents of the CPB structure will not be modified.
DBsize
Data Block Size
This field should be set to a number that is equal to the number of bytes that will be
written into the DB structure during command execution. Setting this field to a number
that is smaller than required will cause an error. It may be zero in some cases where the
information is not needed.
CPBaddr
Command Parameter Block Address
For H/W UNDI, this field must be the physical address of the CPB structure. For S/W
UNDI, this field must be the virtual address of the CPB structure. If the operation does
not have/use a CPB, this field must be initialized to
PXE_CPBADDR_NOT_USED
. Setting
up this field incorrectly will cause command execution to fail and a StatCode of
PXE_STATCODE_INVALID_CDB
will be returned.
DBaddr
Data Block Address
For H/W UNDI, this field must be the physical address of the DB structure. For S/W
UNDI, this field must be the virtual address of the DB structure. If the operation does not
have/use a CPB, this field must be initialized to
PXE_DBADDR_NOT_USED
. Setting up
this field incorrectly will cause command execution to fail and a StatCode of
PXE_STATCODE_INVALID_CDB
will be returned.
StatCode
Status Code
This field is used to report the type of command completion: success or failure (and the
type of failure). This field must be initialized to zero before the command is issued. The
contents of this field is not valid until the
PXE_STATFLAGS_COMMAND_COMPLETE
status
flag is set. If this field is not initialized to
PXE_STATCODE_INITIALIZE
the UNDI
command will not execute and a StatCode of
PXE_STATCODE_INVALID_CDB
will be
returned.
StatFlags
Status Flags
This bit field is used to report command completion and identify the format, if any, of the
DB structure. This field must be initialized to zero before the command is issued. Until
the command state changes to error or complete, all other CDB fields must not be
changed. If this field is not initialized to
PXE_STATFLAGS_INITIALIZE
the UNDI
command will not execute and a StatCode of
PXE_STATCODE_INVALID_CDB
will be
returned.
Bits 0x0F & 0x0E: Command state: Not started (0), Queued (1), Error (2), Complete (3).
continued
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...