#include <pxe_api.h>
Data Fields | |
| UINT8_t | Signature [4] |
| Signature. | |
| UINT8_t | StructLength |
| Length of this structure. | |
| UINT8_t | StructCksum |
| Checksum. | |
| UINT8_t | StructRev |
| Revision of this structure. | |
| UINT8_t | reserved_1 |
| Must be zero. | |
| SEGOFF16_t | UNDIROMID |
| Address of the UNDI ROM ID structure. | |
| SEGOFF16_t | BaseROMID |
| Address of the Base Code ROM ID structure. | |
| SEGOFF16_t | EntryPointSP |
| 16-bit !PXE entry point | |
| SEGOFF16_t | EntryPointESP |
| 32-bit !PXE entry point | |
| SEGOFF16_t | StatusCallout |
| Status call-out function. | |
| UINT8_t | reserved_2 |
| Must be zero. | |
| UINT8_t | SegDescCnt |
| Number of segment descriptors. | |
| SEGSEL_t | FirstSelector |
| First protected-mode selector. | |
| SEGDESC_t | Stack |
| Stack segment descriptor. | |
| SEGDESC_t | UNDIData |
| UNDI data segment descriptor. | |
| SEGDESC_t | UNDICode |
| UNDI code segment descriptor. | |
| SEGDESC_t | UNDICodeWrite |
| UNDI writable code segment descriptor. | |
| SEGDESC_t | BC_Data |
| Base-code data segment descriptor. | |
| SEGDESC_t | BC_Code |
| Base-code code segment descriptor. | |
| SEGDESC_t | BC_CodeWrite |
| Base-code writable code segment descriptor. | |
Definition at line 124 of file pxe_api.h.
Checksum.
The byte checksum of this structure (using the length in StructLength) must be zero.
16-bit !PXE entry point
This is the entry point for either real mode, or protected mode with a 16-bit stack segment.
Definition at line 158 of file pxe_api.h.
Referenced by undi_load().
Status call-out function.
| 0 | (if in a time-out loop) | |
| n | Number of a received TFTP packet |
| 0 | Continue operation | |
| 1 | Cancel operation |
In real mode, an internal function (that checks for a keypress) will be used.
If this field is set to -1, no status call-out function will be used and consequently the user will not be allowed to interrupt operations.
Number of segment descriptors.
If this number is greater than 7, the remaining descriptors follow immediately after BC_CodeWrite.
First protected-mode selector.
This is the segment selector value for the first segment assigned to PXE. Protected-mode selectors must be consecutive, according to the PXE 2.1 specification, though no reason is given. Each SEGDESC_t includes a field for the segment selector, so this information is entirely redundant.
1.5.7.1