207struct grtm_frame *head; /* First Frame in list */
208struct grtm_frame *tail; /* Last Frame in list */
209};
210
211#define GRTM_FLAGS_SENT 0x01
212#define GRRM_FLAGS_ERR 0x02
213
214#define GRTM_FLAGS_TRANSLATE (1<<31) /* Translate frame payload address from CPU address to remote bus (the bus GRTM is resident on) */
215#define GRTM_FLAGS_TRANSLATE_AND_REMEMBER (1<<30) /* As GRTM_FLAGS_TRANSLATE, however if the translated payload address equals the payload address
216 * the GRTM_FLAGS_TRANSLATE_AND_REMEMBER bit is cleared and the GRTM_FLAGS_TRANSLATE bit is set */
217#define GRTM_FLAGS_COPY_DATA (1<<29) /* Where available: Transfer Frame payload to target, may be used for SpaceWire, where the GRTM driver transfer
218 * the payload to a buffer on the SpaceWire target.