|
|
#include <sys/types.h> #include <sys/kmem.h> #include <sys/scgth.h> #include <sys/ddi.h>typedef struct { union { scgth_el32_t el32; scgth_el64_t el64; } sg_elem; union { scgth_el32_t ea32; scgth_el64_t ea64; } sg_el_addr; uchar_t sg_nelem; uchar_t sg_format; } scgth_t;
typedef struct { u_int32_t sg_base; u_int32_t sg_size; } scgth_el32_t;
typedef struct { u_int32_t sg_base[2]; u_int32_t sg_size; u_int32_t _sg_reserved; } scgth_el64_t;
sg_elem
sg_el_addr
sg_nelem
sg_format
phys_dmasize
member
of the
physreq(D4)
structure.
Valid values are:
el32
and ea32
union members are used.
Used if the value of phys_dmasize
is
less than or equal to 32.
el64
and ea64 union members are used.
Used if the value of phys_dmasize
is
greater than 32.
sg_base
sg_base[0]
holds the least significant 32 bits of information
and sg_base[1]
holds the most significant 32 bits.
sg_size
_sg_reserved
``Scatter/gather operations'' in HDK Technical Reference