00001 #ifndef cdrpdef_h 00002 #define cdrpdef_h 00003 00004 //#include "../../freevms/lib/src/diobmdef.h" 00005 00006 #define CDRP_M_WLE_REUSE 0x1 00007 #define CDRP_M_WLE_SUPWL 0x2 00008 #define CDRP_K_CDRPBASE 0 00009 #define CDRP_C_CDRPBASE 0 00010 #define CDRP_C_RSPID_WAIT 1 00011 #define CDRP_C_POOL_WAIT 2 00012 #define CDRP_C_CREDIT_WAIT 3 00013 #define CDRP_C_BD_WAIT 4 00014 #define CDRP_M_SYSAP_STALLED 0x1 00015 #define CDRP_M_RBUN_WANTED 0x2 00016 #define CDRP_K_LENGTH 80 00017 #define CDRP_C_LENGTH 80 00018 00019 #define CDRP_K_BT_LEN 96 00020 #define CDRP_C_BT_LEN 96 00021 #define CDRP_M_CAND 0x1 00022 #define CDRP_M_CANIO 0x2 00023 #define CDRP_M_ERLIP 0x4 00024 #define CDRP_M_PERM 0x8 00025 #define CDRP_M_HIRT 0x10 00026 #define CDRP_M_DENSCK 0x20 00027 #define CDRP_M_CONNWALK 0x40 00028 #define CDRP_M_COPYSHAD 0x80 00029 #define CDRP_M_IVCMD 0x100 00030 #define CDRP_M_WALK_2P 0x200 00031 #define CDRP_M_LOC_ONLY 0x400 00032 #define CDRP_M_LOADBAL 0x800 00033 #define CDRP_K_CD_LEN 104 00034 #define CDRP_C_CD_LEN 104 00035 #define CDRP_K_NORMAL 0 00036 #define CDRP_K_REQUESTOR 1 00037 #define CDRP_K_PARTNER 2 00038 #define CDRP_K_PART_IDLE 3 00039 #define CDRP_K_REQ_MAP 4 00040 #define CDRP_K_PART_MAP 5 00041 #define CDRP_K_PART_FORK_WAIT 6 00042 #define CDRP_K_CNX_MSG 0 00043 #define CDRP_K_CNX_BLKRD 1 00044 #define CDRP_K_CNX_BLKWRT 2 00045 #define CDRP_K_CNX_REQ 3 00046 #define CDRP_M_HAVE_SYNCH 0x1 00047 #define CDRP_M_MSGBLD_SYNCH 0x2 00048 #define CDRP_M_CPL_SYNCH 0x4 00049 #define CDRP_M_STALL_SYNCH 0x8 00050 #define CDRP_M_RM_BLKRD_DONE 0x10 00051 #define CDRP_M_RM_XFRPROC_DONE 0x20 00052 #define CDRP_K_CM_LENGTH 176 00053 #define CDRP_K_VCNX_NORMAL 0 00054 #define CDRP_K_VCNX_REQUESTOR 1 00055 #define CDRP_K_VCNX_PARTNER 2 00056 #define CDRP_K_VCNX_PART_IDLE 3 00057 #define CDRP_K_VCNX_REQ_MAP 4 00058 #define CDRP_K_VCNX_PART_MAP 5 00059 #define CDRP_M_CDRP_PARTNER_VALID 0x1 00060 #define CDRP_M_XMT_CDRP_BLKXFR 0x2 00061 #define CDRP_M_XMT_REQ_SUCCESS 0x4 00062 #define CDRP_M_XMT_XFER_DONE 0x8 00063 #define CDRP_M_PARTNER_ABORT 0x10 00064 #define CDRP_M_XMT_NOTIFIED 0x20 00065 #define CDRP_M_XMT_SEGMENT 0x40 00066 #define CDRP_M_XMT_MUX_MSG 0x80 00067 #define CDRP_K_VCNX_MSG 0 00068 #define CDRP_K_VCNX_BLKRD 1 00069 #define CDRP_K_VCNX_BLKWRT 2 00070 #define CDRP_K_VCNX_REQ 3 00071 #define CDRP_K_SCATP_LENGTH 168 00072 #define CDRP_K_IDLE 0 00073 #define CDRP_K_ALLOC_MSG_BUF 1 00074 #define CDRP_K_RECYCLE_MSG_BUF 2 00075 #define CDRP_K_MAP 3 00076 #define CDRP_K_SEND_DATA 4 00077 #define CDRP_K_SEND_MSG 5 00078 #define CDRP_K_ALLOC_RSPID 6 00079 #define CDRP_K_SDA_LEN 160 00080 #define CDRP_C_SDA_LEN 160 00081 #define CDRP_K_QSRV_HANDSHAKE 1 00082 #define CDRP_K_QSRV_QSLQ 2 00083 #define CDRP_K_QSRV_CANCEL 3 00084 #define CDRP_M_QSRV_STALLED 0x1 00085 #define CDRP_M_QSRV_PERM 0x2 00086 #define CDRP_M_QSRV_CANIO 0x4 00087 #define CDRP_M_QSRV_CAND 0x8 00088 #define CDRP_M_QSRV_COMPLEX_HEAD 0x10 00089 #define CDRP_K_QSRV_INITIAL 0 00090 #define CDRP_K_QSRV_RSPID_ALLOCATED 1 00091 #define CDRP_K_QSRV_MSG_ALLOCATED 2 00092 #define CDRP_K_QSRV_BUFFER_CONFIGURED 3 00093 #define CDRP_K_QSRV_IO_COMPLETED 4 00094 #define CDRP_K_QSRV_IO_RECLAIM 5 00095 #define CDRP_K_QSRV_IO_RESTART 6 00096 #define CDRP_K_QSRV_IO_CANCELED 7 00097 #define CDRP_K_QSRV_IO_ABORTED 8 00098 #define CDRP_S_QSRVR_EXT 152 00099 00100 struct _cdrp { 00101 struct _cdrp *cdrp_l_fqfl; 00102 struct _cdrp *cdrp_l_fqbl; 00103 unsigned short int cdrp_w_cdrpsize; 00104 unsigned char cdrp_b_cd_type; 00105 unsigned char cdrp_b_flck; 00106 void (*cdrp_l_fpc)(); 00107 unsigned long cdrp_l_fr3; 00108 unsigned long cdrp_l_fr4; 00109 void (*cdrp_l_savd_rtn)(); 00110 void *cdrp_l_msg_buf; 00111 unsigned int cdrp_l_rspid; 00112 struct _cdt *cdrp_l_cdt; 00113 short int *cdrp_l_rwcptr; 00114 00115 union { 00116 struct { 00117 void *cdrp_l_lbufh_ad; 00118 unsigned int cdrp_l_lboff; 00119 void *cdrp_l_rbufh_ad; 00120 unsigned int cdrp_l_rboff; 00121 unsigned int cdrp_l_xct_len; 00122 }; 00123 struct { 00124 unsigned long something; 00125 char cdrp_t_lbufhndl [12]; 00126 unsigned int cdrp_l_ubarsrce; 00127 unsigned int cdrp_l_dutuflags; 00128 unsigned short int cdrp_w_dutucntr; 00129 unsigned short int cdrp_w_endmsgsiz; 00130 }; 00131 struct { 00132 unsigned int cdrp_l_val1; 00133 unsigned int cdrp_l_val2; 00134 unsigned int cdrp_l_val3; 00135 unsigned int cdrp_l_val4; 00136 unsigned int cdrp_l_val5; 00137 unsigned int cdrp_l_val6; 00138 unsigned int cdrp_l_val7; 00139 unsigned int cdrp_l_val8; 00140 unsigned int cdrp_l_val9; 00141 unsigned int cdrp_l_val10; 00142 unsigned int cdrp_l_val11; 00143 unsigned int cdrp_l_val12; 00144 }; 00145 }; 00146 }; 00147 00148 #define CDRP_S_CDRPDEF 480 00149 00150 #endif 00151 00152