|
iPXE
|
A packet descriptor. More...
#include <natsemi.h>
Public Member Functions | |
| struct { | |
| uint8_t reserved_a [16] | |
| Reserved. More... | |
| uint32_t cmdsts | |
| Command / status. More... | |
| uint8_t reserved_b [12] | |
| Reserved. More... | |
| } | __attribute__ ((packed)) common |
| Common fields. | |
| struct { | |
| uint8_t reserved [12] | |
| Reserved. More... | |
| struct natsemi_descriptor_32 d32 | |
| Descriptor. More... | |
| } | __attribute__ ((packed)) d32pad |
| 32-bit descriptor | |
Data Fields | |
| struct natsemi_descriptor_64 | d64 |
| 64-bit descriptor | |
A packet descriptor.
The 32-bit and 64-bit variants are overlaid such that "cmdsts" can be accessed as a common field, and the overall size is a power of two (to allow the descriptor ring length to be used as an alignment).
| struct natsemi_descriptor::@251203174104373204340211205131012277042365043006 natsemi_descriptor::__attribute__ | ( | (packed) | ) |
Common fields.
| struct natsemi_descriptor::@074166063263231200170321052121055017136174025004 natsemi_descriptor::__attribute__ | ( | (packed) | ) |
32-bit descriptor
References d64.
| struct natsemi_descriptor_64 natsemi_descriptor::d64 |
64-bit descriptor
Definition at line 59 of file natsemi.h.
Referenced by __attribute__(), and natsemi_create_ring().
| struct natsemi_descriptor_32 natsemi_descriptor::d32 |