21 lines
270 B
C
21 lines
270 B
C
|
|
#ifndef __SGA_H__
|
|
#define __SGA_H__
|
|
|
|
#define SGARRAY_MAX_ENTRIES 32
|
|
|
|
typedef struct SGEntry
|
|
{
|
|
uint64_t offset;
|
|
uint64_t length;
|
|
} SGEntry;
|
|
|
|
typedef struct SGArray
|
|
{
|
|
uint32_t len;
|
|
SGEntry entries[SGARRAY_MAX_ENTRIES];
|
|
} SGArray;
|
|
|
|
#endif /* __SGA_H__ */
|
|
|