/* * I/O packet * * INCLUDE CX.H PRIOR TO INCLUDING THIS FILE * * Be sure to clear i_prm[7] before calling $iofin or you'll * get strange bird droppings left around. Thanks to Ralph * Stamerjohn for warning me about this so I didn't suffer. */ struct iopkt { struct iopkt *i_lnk; /* Link to next packet */ byte i_pri; /* Priority (byte) */ byte i_efn; /* Event flag number (byte) */ struct tcb *i_tcb; /* TCB address of requestor */ word *i_ln2; /* Address of 2nd LUT word */ struct ucb *i_ucb; /* Address of redirect UCB */ word i_fcn; /* I/O function & subfunction */ word i_iosb[3]; /* IOSB address parameters */ address i_ast; /* Virtual address of AST routine */ word i_prm[8]; /* Device parameters */ };