00001
00002
00003
00004
00005
00006
00007
00008 #ifndef DAQ_ALL_CMDS_HEADER
00009 #define DAQ_ALL_CMDS_HEADER
00010
00011 #include "rtsCmds.h"
00012
00013 #define PING 0x01
00014
00015 #define CANT_SEND 0x2
00016 #define ACK 0x03
00017 #define EVENT_DONE 0x04
00018 #define ANNOUNCE_NODEID 0x05
00019 #define CONFIRM_RELEASE_TOKEN 0x06
00020 #define RELEASE_TOKEN 0x07
00021 #define ANNOUNCE_TOKEN 0x08
00022 #define CONFIRM_SEND 0x09
00023 #define SEND_SUMMARY 0x0A
00024 #define REBOOT 0x0B
00025 #define FAILED_SEND 0x0C // from MYRINET
00026 #define RELEASE_EVENT 0x0D // from EVB to GB
00027 #define DAQ_TIMEOUT 0x0E // general timeout occured
00028 #define RTS_WRITE_COUNTERS 0x0f
00029 #define RUN_DONE 0x10
00030 #define EVENT_DONE_BLOCKED 0x11
00031
00032
00033
00034
00035
00036
00037 #define DAQ_LOG_MODIFY 0x29
00038 #define DAQ_LOG_DATA 0x2a
00039
00040
00041 #define DAQ_CONNECT 0x2b
00042 #define DAQ_ERROR 0x2c
00043
00044
00045 #ifndef _RTSCMDS_H_
00046 #define _RTSCMDS_H_
00047
00048 #define DAQ_RUN_START 0x20
00049 #define RTS_RUN_START DAQ_RUN_START
00050
00051 #define DAQ_RUN_STOP 0x21
00052 #define RTS_RUN_STOP DAQ_RUN_STOP
00053
00054 #define DAQ_RUN_PAUSE 0x22
00055 #define RTS_RUN_PAUSE DAQ_RUN_PAUSE
00056
00057 #define DAQ_RUN_RESUME 0x23
00058 #define RTS_RUN_RESUME DAQ_RUN_RESUME
00059
00060 #define DAQ_SEND_CONFIG 0x24
00061 #define RTS_SEND_CONFIG DAQ_SEND_CONFIG
00062
00063 #define DAQ_FLUSH_TOKENS 0x27
00064 #define RTS_FLUSH_TOKENS DAQ_FLUSH_TOKENS
00065
00066 #define DAQ_QUERY_TOKENS 0x28
00067 #define RTS_QUERY_TOKENS DAQ_QUERY_TOKENS
00068
00069 #define RTS_FORCE_STOP 0x46
00070 #define RTS_RECONNECT 0x48
00071 #endif
00072
00073
00074 #define DRC_STOPHANDLER 0x2d
00075 #define DRC_QUERYSYSTEM 0x2e
00076 #define DRC_RUN_START 0x2f
00077 #define DRC_RUN_STOP 0x30
00078 #define DRC_RUN_PAUSE 0x31
00079 #define DRC_RUN_RESUME 0x32
00080 #define DRC_SET_CONFIG 0x33
00081 #define DRC_SEND_CONFIG 0x34
00082 #define DRC_GET_CONFIG 0x35
00083 #define DRC_FLUSH_TOKENS 0x37
00084 #define DRC_PING 0x38
00085 #define DRC_QUERY_TOKENS 0x39
00086 #define DRC_CLEAR_HANDLER 0x3a
00087 #define DRC_COMMENT 0x3b
00088 #define DRC_GET_SYSTEMS 0x3c
00089 #define DRC_CONNECT 0x3d
00090 #define DAQ_CONFIRM 0x3e
00091 #define DRC_NOP 0x3f
00092 #define DRC_TIMEOUT 0x40
00093 #define DRC_RESPONSE 0x41
00094 #define DRC_DISCONNECT 0x42
00095 #define DRC_CLIENT_CONTROL 0x43
00096 #define DRC_SEND_ERROR 0x44
00097 #define DRC_MONITOR_SEND 0x45
00098 #define DRC_RECONNECT 0x49
00099 #define DRC_GET_THREADS 0x4a
00100 #define DRC_GET_ERRORS 0x4b
00101 #define DRC_CLEAR_ERRORS 0x4c
00102 #define DRC_UPDATE_QUERY 0x4d
00103 #define DRC_LOGMESSAGE 0x4e
00104 #define DRC_SET_SYSTEMS 0x4f
00105
00106
00107
00108
00109 #define DRC_SEND_LINE 0x47
00110
00111
00112
00113 #define ETH_ANNOUNCE 0x50
00114 #define EVB_FORMAT_DATA 0x51
00115 #define EVB_SEND_DATA 0x52
00116 #define EVB_TAPE_REQUEST 0x53
00117 #define TAPER_DONE 0x54
00118 #define EVB_TAPE_REQUEST_DONE 0x55
00119 #define EVB_TIMEOUT 0x56
00120 #define EVB_ANNOUNCE_MEMCPY2 0x5a
00121 #define SPOOL_WRITE_LIST 0x57 // unused
00122 #define SPOOL_LIST_WRITTEN 0x58 // unused
00123 #define RCF_GET_FILE 0x59 // unused
00124 #define RCF_WRITE_FILE 0x60 // unused
00125 #define RCF_RELEASE_FILE 0x61 // unused
00126 #define SPOOL_GET_DISK 0x62 // unused
00127 #define SPOOL_USE_DISK 0x63 // unused
00128 #define SPOOL_FREE_DISK 0x64 // unused
00129 #define ETH_ANNOUNCE_NOTKN 0x65
00130
00131 #define SPOOL_WRITE_EVENT 0x67 // Spool to SpoolWriter
00132 #define SPOOL_EVENT_WRITTEN 0x68 // SpoolWriter to Spool
00133
00134
00135 #define GL3_SEND_RESULTS 0x70
00136 #define GL3_ANNOUNCE_DATA 0x72
00137 #define GL3_BUILD_DECISION 0x73
00138 #define GL3_ANNOUNCE_TOKEN 0x74
00139 #define GL3_PRESCALE 0x75
00140
00141
00142 #define GB_BUILD_EVENT 0x80
00143 #define GB_ANNOUNCE_DATA 0x81
00144 #define GB_SL3_NODES 0x82
00145
00146
00147
00148
00149
00150 #define DET_ANNOUNCE_RESULTS 0x90 // to SL3
00151 #define DET_ANNOUNCE_TOKEN 0x91 // to GB
00152 #define DET_START_SL3 0x92 // to SL3
00153 #define DET_CONFIG_DONE 0x94
00154 #define DET_ANNOUNCE_DATA 0x93 // to EVB
00155
00156
00157 #define DET_CMD_AUTOID 0x96 // to myself
00158 #define DET_CMD_ROSEBUD 0x97 // to myself
00159
00160
00161
00162
00163
00164
00165 #define DET_EVB_SEND_DONE 0x9D // to myself
00166 #define DET_SL3_SEND_DONE 0x9E // to myself
00167
00168
00169 #define SL3_SEND_RESULTS 0xa0 // SL3->DET, DET->RB
00170 #define SL3_ANNOUNCE_RESULTS 0xa1 // ?
00171 #define SL3_CONFIRM_SEND 0xa2 // ?
00172 #define SL3_SEND_SUMMARY 0xa3 // ?
00173
00174
00175 #define EVPL3_SEND_DATA 0xaa
00176
00177 #define MZ_PROCESS_SL3 0xb0
00178 #define MZ_ANNCE_SL3 0xb1
00179 #define MZ_DMA_SL3 0xb2
00180 #define MZ_ANNCE_DATA 0xb3
00181 #define MZ_DMA_DATA 0xb4
00182 #define MZ_EMUL_FIBER 0xb5
00183 #define MZ_RUN_START_OK 0xb6
00184 #define MZ_RUN_STOP_OK 0xb7
00185 #define MZ_EMUL_DMA 0xb8
00186 #define MZ_KILL_TOKEN 0xb9
00187
00188 #define RB_ANNOUNCE_RESULTS 0xc0 // RB->DET
00189 #define RB_ANNOUNCE_DATA 0xc1 // RB->DET
00190 #define RB_CONFIRM_SL3 0xc2 // RB->DET
00191 #define RB_CONFIRM_DATA 0xc3 // RB->DET
00192
00193 #define RB_EMC_EVENT 0xc5
00194 #define RB_EMC_ERROR 0xc6
00195
00196
00197 #define TRG_BUILD_EVT 0xca
00198 #define TRG_DATA_ANNOUNCE 0xcb
00199
00200
00201 #define MYRI_QUASI_DIRECT_SEND 0xd0
00202 #define BB_ANNOUNCE_EVENT 0xd1
00203 #define BB_ANNOUNCE_DATA 0xd2
00204 #define BB_SEND_DATA 0xd3
00205 #define BB_ANNOUNCE_EVENT_SCSI 0xd4
00206 #define BB_CLOSE_SCSI 0xd5
00207
00208 #define RCF_WRITE_EVENT 0xd6
00209 #define RCF_WRITER_FLUSH 0xd7
00210 #define RCF_LIST_WRITTEN 0xd8
00211 #define RCF_CONFIRM_EVENT 0xd9
00212
00213 #define BBM_ANNOUNCE_DATA 0xda
00214 #define BBM_SEND_DATA 0xdb
00215
00216
00217
00218 #define QDSEND_ANNOUNCE_CHUNK 0xdc
00219 #define QDSEND_SEND_CHUNK 0xde
00220
00221 #define VX_REQUEST_FILE 0xdf
00222 #define VX_RESPONSE 0xe6
00223
00224 #define QMYRI_MEMCPY_START 0xf0
00225 #define QMYRI_MEMCPY_DONE 0xf1
00226 #define QMYRI_CTL 0xf2
00227
00228 #define EVP_REQ_EVENT 0xe0
00229 #define EVP_ANNOUNCE_EVENT 0xe1
00230 #define EVP_SEND_EVENT 0xe2
00231 #define EVP_CONFIRM_SEND 0xe3
00232 #define EVP_EVENT_DONE 0xe4
00233 #define RTS_ETHDOOR_ANNOUNCE 0xe5
00234
00235
00236 #define MCTL_REG_MEM 1
00237 #define MCTL_LOG_LEVEL 2
00238 #define MCTL_NODE 3
00239
00240 #endif