00001 // $Id: mo_def.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 /* N.Kurz 8-Jun-1998 */ 00015 /* N.Kurz 30-May-2000 updated */ 00016 00017 #include "typedefs.h" 00018 00019 #define MO__TCP_MSG_DAQSTAT 0x101 00020 #define MO__TCP_MSG_DATREQ 0x102 00021 #define MO__TCP_MSG_ACKREQ1 0x103 00022 #define MO__TCP_MSG_ACKREQ2 0x104 00023 00024 #define MO__DATREQ_SIZE 12 00025 #define MO__ACKN1_SIZE 32 00026 00027 #define MO__N_NODE 16 00028 /* maximal nr. of ds and dr nodes each in a system */ 00029 00030 #define MO__SETUP_TAB "mo_setup" 00031 00032 #define MO__RD_PIPE_NAME "mo_read_pipe" 00033 /* generic name, will be expanded by the ds node id */ 00034 00035 #define MO__EVT_BUF_NAME "evt_buf" 00036 /* intermediate event buffer */ 00037 00038 #define RIO2__SLAVE_VME_PIPE_OFF 0x200000 00039 #define RIO2__SLAVE_VME_WIN_SIZE 0x1000000 00040 #define RIO2__PCI_OFFSET 0x80000000 00041 00042 00043 #define DLEB__TCP_INFO 0x201 00044 #define DLEB__INFO_SIZE 12 00045 #define DLEB__CONNECT_RETRY 5