]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
cleanup
authorhadaq <hadaq>
Wed, 22 Feb 2012 13:24:41 +0000 (13:24 +0000)
committerhadaq <hadaq>
Wed, 22 Feb 2012 13:24:41 +0000 (13:24 +0000)
ebctrl/ioc/include/hadtu.h [deleted file]
ebctrl/ioc/include/hadtuqueue.h [deleted file]
ebctrl/ioc/include/hardware.h [deleted file]
ebctrl/ioc/include/psxshm.h [deleted file]
ebctrl/ioc/include/shmtrans.h [deleted file]
ebctrl/ioc/include/subevt.h [deleted file]
ebctrl/ioc/include/worker.h [deleted file]
ebctrl/ioc/include/xxxRecord.h [deleted file]

diff --git a/ebctrl/ioc/include/hadtu.h b/ebctrl/ioc/include/hadtu.h
deleted file mode 100644 (file)
index f7c0878..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-
-#ifndef HADTU_H
-#define HADTU_H
-
-#include <stddef.h>
-#include <stdint.h>
-
-
-enum HadTu_Decoding {
-       HadTu_queueDecoding = 3 << 16 | 99
-};
-
-static uint32_t *HadTu_hdr(const void *my);
-static size_t HadTu_hdrLen(void);
-static size_t HadTu_hdrSize(void);
-static int HadTu_isSwapped(const void *my);
-static uint32_t HadTu_hdrValue(const void *my, unsigned idx);
-static void HadTu_setHdrValue(const void *my, unsigned idx, uint32_t value);
-static uint32_t HadTu_decoding(const void *my);
-static void HadTu_setDecoding(void *my, uint32_t decoding);
-static unsigned HadTu_alignment(const void *my);
-static uint32_t HadTu_size(const void *my);
-static void HadTu_setSize(void *my, uint32_t size);
-static size_t HadTu_paddedSize(const void *my);
-static void *HadTu_begin(const void *my);
-static void *HadTu_end(const void *my);
-static size_t HadTu_dataSize(const void *my);
-static void *HadTu_data(const void *my);
-static void *HadTu_next(const void *my, const void *hadTu);
-char *HadTu_2charP(const void *my);
-
-enum HadTuIdx {
-       HadTuIdx_size,
-       HadTuIdx_decoding,
-       HadTuIdx_data
-};
-
-static uint32_t *HadTu_hdr(const void *my)
-{
-       return (uint32_t *) my;
-}
-
-static size_t HadTu_hdrLen(void)
-{
-       return HadTuIdx_data;
-}
-
-static size_t HadTu_hdrSize(void)
-{
-       return HadTu_hdrLen() * sizeof(uint32_t);
-}
-
-static int HadTu_isSwapped(const void *my)
-{
-       uint32_t *hdr = HadTu_hdr(my);
-
-       return hdr[HadTuIdx_decoding] > 0xffffff;
-}
-
-static uint32_t HadTu_hdrValue(const void *my, unsigned idx)
-{
-       uint32_t *hdr = HadTu_hdr(my);
-
-       if (HadTu_isSwapped(my)) {
-               uint32_t tmp0;
-               uint32_t tmp1;
-
-               tmp0 = hdr[idx];
-               ((char *) &tmp1)[0] = ((char *) &tmp0)[3];
-               ((char *) &tmp1)[1] = ((char *) &tmp0)[2];
-               ((char *) &tmp1)[2] = ((char *) &tmp0)[1];
-               ((char *) &tmp1)[3] = ((char *) &tmp0)[0];
-               return tmp1;
-       } else {
-               return hdr[idx];
-       }
-}
-
-static void HadTu_setHdrValue(const void *my, unsigned idx, uint32_t value)
-{
-       uint32_t *hdr = HadTu_hdr(my);
-
-       hdr[idx] = value;
-}
-
-static uint32_t HadTu_decoding(const void *my)
-{
-       return HadTu_hdrValue(my, HadTuIdx_decoding);
-}
-
-static void HadTu_setDecoding(void *my, uint32_t decoding)
-{
-       HadTu_setHdrValue(my, HadTuIdx_decoding, decoding);
-}
-
-static unsigned HadTu_alignment(const void *my)
-{
-       return 1 << (HadTu_decoding(my) >> 16 & 0xff);
-}
-
-static uint32_t HadTu_size(const void *my)
-{
-       return HadTu_hdrValue(my, HadTuIdx_size);
-}
-
-static void HadTu_setSize(void *my, uint32_t size)
-{
-       HadTu_setHdrValue(my, HadTuIdx_size, size);
-}
-
-static size_t HadTu_paddedSize(const void *my)
-{
-       uint32_t size;
-       uint32_t alignment;
-
-       size = HadTu_size(my);
-       alignment = HadTu_alignment(my);
-       return (size & (alignment - 1))
-               ? (size & ~(alignment - 1)) + alignment : size;
-}
-
-static void *HadTu_begin(const void *my)
-{
-       return (void *) my;
-}
-
-static void *HadTu_end(const void *my)
-{
-       return (void *) ((char *) my + HadTu_paddedSize(my));
-}
-
-static size_t HadTu_dataSize(const void *my)
-{
-       return HadTu_size(my) - HadTu_hdrSize();
-}
-
-static void *HadTu_data(const void *my)
-{
-       return (void *) ((char *) my + HadTu_hdrSize());
-}
-
-static void *HadTu_next(const void *my, const void *hadTu)
-{
-       uint32_t size;
-       uint32_t alignment;
-       size_t paddedSize;
-
-       size = HadTu_size(hadTu);
-       alignment = HadTu_alignment(my);
-       paddedSize = (size & (alignment - 1))
-               ? (size & ~(alignment - 1)) + alignment : size;
-
-       return (void *) ((char *) hadTu + paddedSize);
-}
-
-#endif
diff --git a/ebctrl/ioc/include/hadtuqueue.h b/ebctrl/ioc/include/hadtuqueue.h
deleted file mode 100644 (file)
index 5f44bfc..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-
-#ifndef HADTUQUEUE_H
-#define HADTUQUEUE_H
-
-#include <stddef.h>
-#include "hadtu.h"
-
-typedef struct HadTuQueueS HadTuQueue;
-
-typedef enum HadTuQueueProtE {
-       HadTuQueueProt_read,
-       HadTuQueueProt_write
-} HadTuQueueProt;
-
-void conHadTuQueue(HadTuQueue *my, void *mem, size_t size);
-void conHadTuQueue_voidP(HadTuQueue *my, void *mem);
-void desHadTuQueue(HadTuQueue *my);
-size_t HadTuQueue_sizeOf(void);
-void HadTuQueue_cntl(HadTuQueue *my, int flag);
-void HadTuQueue_clear(HadTuQueue *my);
-int HadTuQueue_invariant(const HadTuQueue *my);
-
-int HadTuQueue_empty(const HadTuQueue *my);
-size_t HadTuQueue_size(const HadTuQueue *my);
-void *HadTuQueue_alloc(const HadTuQueue *my, size_t size);
-void HadTuQueue_push(HadTuQueue *my);
-void *HadTuQueue_2voidP(const HadTuQueue *my);
-void *HadTuQueue_front(const HadTuQueue *my);
-void HadTuQueue_pop(HadTuQueue *my);
-
-#endif
diff --git a/ebctrl/ioc/include/hardware.h b/ebctrl/ioc/include/hardware.h
deleted file mode 100644 (file)
index 420a0dd..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-
-#ifndef HARDWARE_H
-#define HARDWARE_H
-
-#include <syslog.h>
-
-typedef struct HardwareS Hardware;
-
-int readoutMain(int argc, char *argv[]);
-
-Hardware *newHardware();               /* allowed as newHardware(void) and newHardware(const char *subsystem) UFN */
-void deleteHardware(Hardware *my);
-int Hardware_inSpill(const Hardware *my);
-size_t Hardware_maxSubEvtSize(const Hardware *my);
-void Hardware_waitForTrigger(Hardware *my, void *subEvt);
-void Hardware_readout(Hardware *my, void *subEvt);
-
-static int getCards(Param *param, const char *subsystem, const char *cardtype, int *nCards, char **cards)
-{
-       int getCardsR;
-       int i;
-       char unitsS[PARAM_MAX_ARRAY_LEN][PARAM_MAX_VALUE_LEN];
-       char *units[PARAM_MAX_ARRAY_LEN];
-       int r;
-
-       for (i = 0; i < PARAM_MAX_ARRAY_LEN; i++) {
-               units[i] = unitsS[i];
-       }
-
-       if (0 > Param_getStringArray(param, subsystem, "unit", PARAM_MAX_ARRAY_LEN, &r, units) || r == 0) {
-               getCardsR = -1;
-               syslog(LOG_ERR, "Parameter %s(unit) not found, unknown list of VME modules", subsystem);
-       } else {
-               int unit;
-               int card;
-
-
-               getCardsR = 0;
-               card = 0;
-               /*= printf("units: %d\n", r); */
-               for (unit = 0; unit < r; unit++) {
-                       char ct[PARAM_MAX_VALUE_LEN];
-                       int r2;
-
-                       /*printf("before getString: %s, unit %d\n", units[unit], unit);*/
-                       if (Param_getString(param, units[unit], "cardtype", &r2, ct) || r2 == 0) {
-                               syslog(LOG_ERR, "Parameter %s(cardtype) not found", units[unit]);
-                               getCardsR = -1;
-                       } else {
-                           /*printf("before strcpy: %s: %s, unit %d\n", units[unit], ct, unit);*/
-                               if (strcmp(cardtype, ct) == 0) {
-                                       strcpy(cards[card++], units[unit]);
-                                       /*printf("strcpy: %s, unit %d\n", units[unit], unit);*/
-                               }
-                       }
-               }
-               *nCards = card;
-       }
-
-       if (0 == getCardsR) {
-               int card;
-
-               syslog(LOG_INFO, "List of matching cards for subsystem %s, cardtype %s", subsystem, cardtype);
-               for (card = 0; card < *nCards; card++) {
-                       syslog(LOG_INFO, "%s", cards[card]);
-               }
-       }
-       return getCardsR;
-}
-
-#endif
diff --git a/ebctrl/ioc/include/psxshm.h b/ebctrl/ioc/include/psxshm.h
deleted file mode 100644 (file)
index d350cf0..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-
-#ifndef PSXSHM_H
-#define PSXSHM_H
-
-#include <sys/types.h>
-
-typedef struct PsxShmS {
-       int fd;
-       void *addr;
-       off_t size;
-}
-
-PsxShm;
-
-PsxShm *PsxShm_open(const char *name, int oflag, mode_t mode, off_t size);
-int PsxShm_close(PsxShm *my);
-int PsxShm_unlink(const char *name);
-
-#endif
diff --git a/ebctrl/ioc/include/shmtrans.h b/ebctrl/ioc/include/shmtrans.h
deleted file mode 100644 (file)
index f8548f2..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-
-#ifndef SHMTRANS_H
-#define SHMTRANS_H
-
-#ifndef _POSIX_SEMAPHORES
-#error POSIX_SEMAPHORES not available on this OS
-#endif
-
-#include <limits.h>
-#include <pthread.h>
-#include <semaphore.h>
-
-
-#include "psxshm.h"
-
-#include "hadtuqueue.h"
-
-
-
-typedef struct ShmTransS {
-       char name[_POSIX_PATH_MAX];
-       PsxShm *shm;
-       HadTuQueue *rdQueue;
-       HadTuQueue *wrQueue;
-       sem_t *switchRequest;
-       sem_t *switchComplete;
-}
-
-ShmTrans;
-
-ShmTrans *ShmTrans_create(const char *name, size_t size);
-ShmTrans *ShmTrans_open(const char *name, size_t size);
-void ShmTrans_close(ShmTrans *my);
-void ShmTrans_remove(ShmTrans *my);
-
-void *ShmTrans_alloc(ShmTrans *my, size_t size);
-void *ShmTrans_tryAlloc(ShmTrans *my, size_t size);
-void ShmTrans_requestSpace(ShmTrans *my);
-void ShmTrans_send(ShmTrans *my);
-void *ShmTrans_recv(ShmTrans *my);
-void *ShmTrans_recvWhole(ShmTrans *my);
-void *ShmTrans_tryRecv(ShmTrans *my);
-void ShmTrans_requestData(ShmTrans *my);
-void ShmTrans_free(ShmTrans *my);
-void ShmTrans_freeWhole(ShmTrans *my);
-
-#endif
diff --git a/ebctrl/ioc/include/subevt.h b/ebctrl/ioc/include/subevt.h
deleted file mode 100644 (file)
index d66ac29..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-
-#ifndef SUBEVT_H
-#define SUBEVT_H
-
-#include <stdint.h>
-
-
-#include "hadtu.h"
-
-enum SubEvtId {
-       SubEvtId_invalid = 0,
-       SubEvtId_test1 = 1,
-       SubEvtId_slow = 2,
-       SubEvtId_test2 = 3,
-       SubEvtId_mdc = 6,
-       SubEvtId_shower = 7,
-       SubEvtId_rich = 8,
-       SubEvtId_tof = 9,
-       SubEvtId_start = 10,
-       SubEvtId_veto = 11,
-       SubEvtId_richPed = 12,
-       SubEvtId_tofTest = 400,
-       SubEvtId_trigCode = 500,
-       SubEvtId_trigInfo = 501,
-       SubEvtId_slowTest = 600
-};
-
-enum SubEvtDecoding {
-       SubEvtDecoding_8bitData = 1,
-       SubEvtDecoding_16bitData = (1 << 16) | 1,
-       SubEvtDecoding_32bitData = (2 << 16) | 1,
-       SubEvtDecoding_text = 2,
-       SubEvtDecoding_SubEvts = (3 << 16) | 3
-};
-
-#define SubEvt_hdr HadTu_hdr
-#define SubEvt_isSwapped HadTu_isSwapped
-#define SubEvt_hdrValue HadTu_hdrValue
-#define SubEvt_setHdrValue HadTu_setHdrValue
-#define SubEvt_decoding HadTu_decoding
-#define SubEvt_setDecoding HadTu_setDecoding
-#define SubEvt_alignment HadTu_alignment
-#define SubEvt_size HadTu_size
-#define SubEvt_setSize HadTu_setSize
-#define SubEvt_paddedSize HadTu_paddedSize
-#define SubEvt_begin HadTu_begin
-#define SubEvt_end HadTu_end
-#define SubEvt_next HadTu_next
-
-
-enum SubEvtIdx {
-       SubEvtIdx_size,
-       SubEvtIdx_decoding,
-       SubEvtIdx_id,
-       SubEvtIdx_trigNr,
-       SubEvtIdx_data
-};
-
-static size_t SubEvt_hdrLen(void)
-{
-       return SubEvtIdx_data;
-}
-
-static size_t SubEvt_hdrSize(void)
-{
-       return SubEvt_hdrLen() * sizeof(uint32_t);
-}
-
-static size_t SubEvt_dataSize(const void *my)
-{
-       return SubEvt_size(my) - SubEvt_hdrSize();
-}
-
-static void *SubEvt_data(const void *my)
-{
-       return (void *) ((char *) my + SubEvt_hdrSize());
-}
-
-uint32_t SubEvt_dataValue(const void *my, unsigned idx);
-char *SubEvt_2charP(const void *my);
-
-
-static uint32_t SubEvt_id(const void *my)
-{
-       return SubEvt_hdrValue(my, SubEvtIdx_id);
-}
-
-static uint32_t SubEvt_pureId(const void *my)
-{
-       return SubEvt_id(my) & 0x7fffffffUL;
-}
-
-static int SubEvt_dataError(const void *my)
-{
-       return (SubEvt_id(my) & 0x80000000UL) != 0;
-}
-
-static void SubEvt_setId(void *my, uint32_t id)
-{
-       SubEvt_setHdrValue(my, SubEvtIdx_id, id);
-}
-
-static int SubEvt_setDataError(void *my)
-{
-       SubEvt_setId(my, SubEvt_id(my) | 0x80000000UL);
-}
-
-static int SubEvt_clrDataError(void *my)
-{
-       SubEvt_setId(my, SubEvt_id(my) & ~0x80000000UL);
-}
-
-static uint32_t SubEvt_trigNr(const void *my)
-{
-       return SubEvt_hdrValue(my, SubEvtIdx_trigNr);
-}
-
-static void SubEvt_setTrigNr(void *my, uint32_t trigNr)
-{
-       SubEvt_setHdrValue(my, SubEvtIdx_trigNr, trigNr);
-}
-
-void *newSubEvt(uint32_t decoding, uint32_t id, uint32_t trigNr);
-void deleteSubEvt(void *my);
-void *SubEvt_appendData(void *my, const void *data, size_t size);
-
-#endif
diff --git a/ebctrl/ioc/include/worker.h b/ebctrl/ioc/include/worker.h
deleted file mode 100644 (file)
index 161d9a7..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-
-#ifndef WORKER_H
-#define WORKER_H
-
-#include <limits.h>
-#include <signal.h>
-
-#include "psxshm.h"
-
-#define WORKER_MAX_NUM_STATS 550
-#define WORKER_MAX_NAME_LEN 32
-
-typedef struct StatisticS {
-       char name[WORKER_MAX_NAME_LEN];
-       unsigned long value;
-}
-
-Statistic;
-
-typedef struct WorkerS {
-       char name[_POSIX_PATH_MAX];
-       int signal0;
-       int signal1;
-       int signal2;
-       struct sigaction oldSigAction0S;
-       struct sigaction *oldSigAction0;
-       struct sigaction oldSigAction1S;
-       struct sigaction *oldSigAction1;
-       struct sigaction oldSigAction2S;
-       struct sigaction *oldSigAction2;
-       PsxShm *shm;
-       Statistic *statistics;
-       pid_t pid;
-       int isStandalone;
-}
-
-Worker;
-
-int Worker_start(const char *path, char *const argv[]);
-char *Worker_status(const char *name);
-void Worker_stop(const char *name, int timeout);
-Worker *Worker_initBegin(const char *name, void (*sigHandler) (int), int priority, int isStandalone);
-void Worker_initEnd(Worker *my);
-void Worker_fini(Worker *my);
-unsigned long *Worker_addStatistic(Worker *my, const char *name);
-void Worker_dump(Worker *my, time_t interval);
-int Worker_getStatistic(const char *name, const char *stat, unsigned long int *value);
-int Worker_setStatistic(const char *name, const char *stat, unsigned long int *value);
-
-#endif
diff --git a/ebctrl/ioc/include/xxxRecord.h b/ebctrl/ioc/include/xxxRecord.h
deleted file mode 100644 (file)
index 93fabce..0000000
+++ /dev/null
@@ -1,278 +0,0 @@
-#include "ellLib.h"
-#include "epicsMutex.h"
-#include "link.h"
-#include "epicsTime.h"
-#include "epicsTypes.h"
-#ifndef INCxxxH
-#define INCxxxH
-typedef struct xxxRecord {
-       char            name[61]; /*Record Name*/
-       char            desc[29]; /*Descriptor*/
-       char            asg[29]; /*Access Security Group*/
-       epicsEnum16     scan;   /*Scan Mechanism*/
-       epicsEnum16     pini;   /*Process at iocInit*/
-       short           phas;   /*Scan Phase*/
-       short           evnt;   /*Event Number*/
-       short           tse;    /*Time Stamp Event*/
-       DBLINK          tsel;   /*Time Stamp Link*/
-       epicsEnum16     dtyp;   /*Device Type*/
-       short           disv;   /*Disable Value*/
-       short           disa;   /*Disable*/
-       DBLINK          sdis;   /*Scanning Disable*/
-       epicsMutexId    mlok;   /*Monitor lock*/
-       ELLLIST         mlis;   /*Monitor List*/
-       unsigned char   disp;   /*Disable putField*/
-       unsigned char   proc;   /*Force Processing*/
-       epicsEnum16     stat;   /*Alarm Status*/
-       epicsEnum16     sevr;   /*Alarm Severity*/
-       epicsEnum16     nsta;   /*New Alarm Status*/
-       epicsEnum16     nsev;   /*New Alarm Severity*/
-       epicsEnum16     acks;   /*Alarm Ack Severity*/
-       epicsEnum16     ackt;   /*Alarm Ack Transient*/
-       epicsEnum16     diss;   /*Disable Alarm Sevrty*/
-       unsigned char   lcnt;   /*Lock Count*/
-       unsigned char   pact;   /*Record active*/
-       unsigned char   putf;   /*dbPutField process*/
-       unsigned char   rpro;   /*Reprocess */
-       void            *asp;   /*Access Security Pvt*/
-       struct putNotify *ppn;  /*addr of PUTNOTIFY*/
-       struct putNotifyRecord *ppnr;   /*pputNotifyRecord*/
-       struct scan_element *spvt;      /*Scan Private*/
-       struct rset     *rset;  /*Address of RSET*/
-       struct dset     *dset;  /*DSET address*/
-       void            *dpvt;  /*Device Private*/
-       struct dbRecordType *rdes;      /*Address of dbRecordType*/
-       struct lockRecord *lset;        /*Lock Set*/
-       epicsEnum16     prio;   /*Scheduling Priority*/
-       unsigned char   tpro;   /*Trace Processing*/
-       char bkpt;      /*Break Point*/
-       unsigned char   udf;    /*Undefined*/
-       epicsTimeStamp  time;   /*Time*/
-       DBLINK          flnk;   /*Forward Process Link*/
-       double          val;    /*Current EGU Value*/
-       DBLINK          inp;    /*Input Specification*/
-       short           prec;   /*Display Precision*/
-       char            egu[16]; /*Engineering Units*/
-       float           hopr;   /*High Operating Range*/
-       float           lopr;   /*Low Operating Range*/
-       float           hihi;   /*Hihi Alarm Limit*/
-       float           lolo;   /*Lolo Alarm Limit*/
-       float           high;   /*High Alarm Limit*/
-       float           low;    /*Low Alarm Limit*/
-       epicsEnum16     hhsv;   /*Hihi Severity*/
-       epicsEnum16     llsv;   /*Lolo Severity*/
-       epicsEnum16     hsv;    /*High Severity*/
-       epicsEnum16     lsv;    /*Low Severity*/
-       double          hyst;   /*Alarm Deadband*/
-       double          adel;   /*Archive Deadband*/
-       double          mdel;   /*Monitor Deadband*/
-       double          lalm;   /*Last Value Alarmed*/
-       double          alst;   /*Last Value Archived*/
-       double          mlst;   /*Last Val Monitored*/
-} xxxRecord;
-#define xxxRecordNAME  0
-#define xxxRecordDESC  1
-#define xxxRecordASG   2
-#define xxxRecordSCAN  3
-#define xxxRecordPINI  4
-#define xxxRecordPHAS  5
-#define xxxRecordEVNT  6
-#define xxxRecordTSE   7
-#define xxxRecordTSEL  8
-#define xxxRecordDTYP  9
-#define xxxRecordDISV  10
-#define xxxRecordDISA  11
-#define xxxRecordSDIS  12
-#define xxxRecordMLOK  13
-#define xxxRecordMLIS  14
-#define xxxRecordDISP  15
-#define xxxRecordPROC  16
-#define xxxRecordSTAT  17
-#define xxxRecordSEVR  18
-#define xxxRecordNSTA  19
-#define xxxRecordNSEV  20
-#define xxxRecordACKS  21
-#define xxxRecordACKT  22
-#define xxxRecordDISS  23
-#define xxxRecordLCNT  24
-#define xxxRecordPACT  25
-#define xxxRecordPUTF  26
-#define xxxRecordRPRO  27
-#define xxxRecordASP   28
-#define xxxRecordPPN   29
-#define xxxRecordPPNR  30
-#define xxxRecordSPVT  31
-#define xxxRecordRSET  32
-#define xxxRecordDSET  33
-#define xxxRecordDPVT  34
-#define xxxRecordRDES  35
-#define xxxRecordLSET  36
-#define xxxRecordPRIO  37
-#define xxxRecordTPRO  38
-#define xxxRecordBKPT  39
-#define xxxRecordUDF   40
-#define xxxRecordTIME  41
-#define xxxRecordFLNK  42
-#define xxxRecordVAL   43
-#define xxxRecordINP   44
-#define xxxRecordPREC  45
-#define xxxRecordEGU   46
-#define xxxRecordHOPR  47
-#define xxxRecordLOPR  48
-#define xxxRecordHIHI  49
-#define xxxRecordLOLO  50
-#define xxxRecordHIGH  51
-#define xxxRecordLOW   52
-#define xxxRecordHHSV  53
-#define xxxRecordLLSV  54
-#define xxxRecordHSV   55
-#define xxxRecordLSV   56
-#define xxxRecordHYST  57
-#define xxxRecordADEL  58
-#define xxxRecordMDEL  59
-#define xxxRecordLALM  60
-#define xxxRecordALST  61
-#define xxxRecordMLST  62
-#endif /*INCxxxH*/
-#ifdef GEN_SIZE_OFFSET
-#ifdef __cplusplus
-extern "C" {
-#endif
-#include <epicsExport.h>
-static int xxxRecordSizeOffset(dbRecordType *pdbRecordType)
-{
-    xxxRecord *prec = 0;
-  pdbRecordType->papFldDes[0]->size=sizeof(prec->name);
-  pdbRecordType->papFldDes[0]->offset=(short)((char *)&prec->name - (char *)prec);
-  pdbRecordType->papFldDes[1]->size=sizeof(prec->desc);
-  pdbRecordType->papFldDes[1]->offset=(short)((char *)&prec->desc - (char *)prec);
-  pdbRecordType->papFldDes[2]->size=sizeof(prec->asg);
-  pdbRecordType->papFldDes[2]->offset=(short)((char *)&prec->asg - (char *)prec);
-  pdbRecordType->papFldDes[3]->size=sizeof(prec->scan);
-  pdbRecordType->papFldDes[3]->offset=(short)((char *)&prec->scan - (char *)prec);
-  pdbRecordType->papFldDes[4]->size=sizeof(prec->pini);
-  pdbRecordType->papFldDes[4]->offset=(short)((char *)&prec->pini - (char *)prec);
-  pdbRecordType->papFldDes[5]->size=sizeof(prec->phas);
-  pdbRecordType->papFldDes[5]->offset=(short)((char *)&prec->phas - (char *)prec);
-  pdbRecordType->papFldDes[6]->size=sizeof(prec->evnt);
-  pdbRecordType->papFldDes[6]->offset=(short)((char *)&prec->evnt - (char *)prec);
-  pdbRecordType->papFldDes[7]->size=sizeof(prec->tse);
-  pdbRecordType->papFldDes[7]->offset=(short)((char *)&prec->tse - (char *)prec);
-  pdbRecordType->papFldDes[8]->size=sizeof(prec->tsel);
-  pdbRecordType->papFldDes[8]->offset=(short)((char *)&prec->tsel - (char *)prec);
-  pdbRecordType->papFldDes[9]->size=sizeof(prec->dtyp);
-  pdbRecordType->papFldDes[9]->offset=(short)((char *)&prec->dtyp - (char *)prec);
-  pdbRecordType->papFldDes[10]->size=sizeof(prec->disv);
-  pdbRecordType->papFldDes[10]->offset=(short)((char *)&prec->disv - (char *)prec);
-  pdbRecordType->papFldDes[11]->size=sizeof(prec->disa);
-  pdbRecordType->papFldDes[11]->offset=(short)((char *)&prec->disa - (char *)prec);
-  pdbRecordType->papFldDes[12]->size=sizeof(prec->sdis);
-  pdbRecordType->papFldDes[12]->offset=(short)((char *)&prec->sdis - (char *)prec);
-  pdbRecordType->papFldDes[13]->size=sizeof(prec->mlok);
-  pdbRecordType->papFldDes[13]->offset=(short)((char *)&prec->mlok - (char *)prec);
-  pdbRecordType->papFldDes[14]->size=sizeof(prec->mlis);
-  pdbRecordType->papFldDes[14]->offset=(short)((char *)&prec->mlis - (char *)prec);
-  pdbRecordType->papFldDes[15]->size=sizeof(prec->disp);
-  pdbRecordType->papFldDes[15]->offset=(short)((char *)&prec->disp - (char *)prec);
-  pdbRecordType->papFldDes[16]->size=sizeof(prec->proc);
-  pdbRecordType->papFldDes[16]->offset=(short)((char *)&prec->proc - (char *)prec);
-  pdbRecordType->papFldDes[17]->size=sizeof(prec->stat);
-  pdbRecordType->papFldDes[17]->offset=(short)((char *)&prec->stat - (char *)prec);
-  pdbRecordType->papFldDes[18]->size=sizeof(prec->sevr);
-  pdbRecordType->papFldDes[18]->offset=(short)((char *)&prec->sevr - (char *)prec);
-  pdbRecordType->papFldDes[19]->size=sizeof(prec->nsta);
-  pdbRecordType->papFldDes[19]->offset=(short)((char *)&prec->nsta - (char *)prec);
-  pdbRecordType->papFldDes[20]->size=sizeof(prec->nsev);
-  pdbRecordType->papFldDes[20]->offset=(short)((char *)&prec->nsev - (char *)prec);
-  pdbRecordType->papFldDes[21]->size=sizeof(prec->acks);
-  pdbRecordType->papFldDes[21]->offset=(short)((char *)&prec->acks - (char *)prec);
-  pdbRecordType->papFldDes[22]->size=sizeof(prec->ackt);
-  pdbRecordType->papFldDes[22]->offset=(short)((char *)&prec->ackt - (char *)prec);
-  pdbRecordType->papFldDes[23]->size=sizeof(prec->diss);
-  pdbRecordType->papFldDes[23]->offset=(short)((char *)&prec->diss - (char *)prec);
-  pdbRecordType->papFldDes[24]->size=sizeof(prec->lcnt);
-  pdbRecordType->papFldDes[24]->offset=(short)((char *)&prec->lcnt - (char *)prec);
-  pdbRecordType->papFldDes[25]->size=sizeof(prec->pact);
-  pdbRecordType->papFldDes[25]->offset=(short)((char *)&prec->pact - (char *)prec);
-  pdbRecordType->papFldDes[26]->size=sizeof(prec->putf);
-  pdbRecordType->papFldDes[26]->offset=(short)((char *)&prec->putf - (char *)prec);
-  pdbRecordType->papFldDes[27]->size=sizeof(prec->rpro);
-  pdbRecordType->papFldDes[27]->offset=(short)((char *)&prec->rpro - (char *)prec);
-  pdbRecordType->papFldDes[28]->size=sizeof(prec->asp);
-  pdbRecordType->papFldDes[28]->offset=(short)((char *)&prec->asp - (char *)prec);
-  pdbRecordType->papFldDes[29]->size=sizeof(prec->ppn);
-  pdbRecordType->papFldDes[29]->offset=(short)((char *)&prec->ppn - (char *)prec);
-  pdbRecordType->papFldDes[30]->size=sizeof(prec->ppnr);
-  pdbRecordType->papFldDes[30]->offset=(short)((char *)&prec->ppnr - (char *)prec);
-  pdbRecordType->papFldDes[31]->size=sizeof(prec->spvt);
-  pdbRecordType->papFldDes[31]->offset=(short)((char *)&prec->spvt - (char *)prec);
-  pdbRecordType->papFldDes[32]->size=sizeof(prec->rset);
-  pdbRecordType->papFldDes[32]->offset=(short)((char *)&prec->rset - (char *)prec);
-  pdbRecordType->papFldDes[33]->size=sizeof(prec->dset);
-  pdbRecordType->papFldDes[33]->offset=(short)((char *)&prec->dset - (char *)prec);
-  pdbRecordType->papFldDes[34]->size=sizeof(prec->dpvt);
-  pdbRecordType->papFldDes[34]->offset=(short)((char *)&prec->dpvt - (char *)prec);
-  pdbRecordType->papFldDes[35]->size=sizeof(prec->rdes);
-  pdbRecordType->papFldDes[35]->offset=(short)((char *)&prec->rdes - (char *)prec);
-  pdbRecordType->papFldDes[36]->size=sizeof(prec->lset);
-  pdbRecordType->papFldDes[36]->offset=(short)((char *)&prec->lset - (char *)prec);
-  pdbRecordType->papFldDes[37]->size=sizeof(prec->prio);
-  pdbRecordType->papFldDes[37]->offset=(short)((char *)&prec->prio - (char *)prec);
-  pdbRecordType->papFldDes[38]->size=sizeof(prec->tpro);
-  pdbRecordType->papFldDes[38]->offset=(short)((char *)&prec->tpro - (char *)prec);
-  pdbRecordType->papFldDes[39]->size=sizeof(prec->bkpt);
-  pdbRecordType->papFldDes[39]->offset=(short)((char *)&prec->bkpt - (char *)prec);
-  pdbRecordType->papFldDes[40]->size=sizeof(prec->udf);
-  pdbRecordType->papFldDes[40]->offset=(short)((char *)&prec->udf - (char *)prec);
-  pdbRecordType->papFldDes[41]->size=sizeof(prec->time);
-  pdbRecordType->papFldDes[41]->offset=(short)((char *)&prec->time - (char *)prec);
-  pdbRecordType->papFldDes[42]->size=sizeof(prec->flnk);
-  pdbRecordType->papFldDes[42]->offset=(short)((char *)&prec->flnk - (char *)prec);
-  pdbRecordType->papFldDes[43]->size=sizeof(prec->val);
-  pdbRecordType->papFldDes[43]->offset=(short)((char *)&prec->val - (char *)prec);
-  pdbRecordType->papFldDes[44]->size=sizeof(prec->inp);
-  pdbRecordType->papFldDes[44]->offset=(short)((char *)&prec->inp - (char *)prec);
-  pdbRecordType->papFldDes[45]->size=sizeof(prec->prec);
-  pdbRecordType->papFldDes[45]->offset=(short)((char *)&prec->prec - (char *)prec);
-  pdbRecordType->papFldDes[46]->size=sizeof(prec->egu);
-  pdbRecordType->papFldDes[46]->offset=(short)((char *)&prec->egu - (char *)prec);
-  pdbRecordType->papFldDes[47]->size=sizeof(prec->hopr);
-  pdbRecordType->papFldDes[47]->offset=(short)((char *)&prec->hopr - (char *)prec);
-  pdbRecordType->papFldDes[48]->size=sizeof(prec->lopr);
-  pdbRecordType->papFldDes[48]->offset=(short)((char *)&prec->lopr - (char *)prec);
-  pdbRecordType->papFldDes[49]->size=sizeof(prec->hihi);
-  pdbRecordType->papFldDes[49]->offset=(short)((char *)&prec->hihi - (char *)prec);
-  pdbRecordType->papFldDes[50]->size=sizeof(prec->lolo);
-  pdbRecordType->papFldDes[50]->offset=(short)((char *)&prec->lolo - (char *)prec);
-  pdbRecordType->papFldDes[51]->size=sizeof(prec->high);
-  pdbRecordType->papFldDes[51]->offset=(short)((char *)&prec->high - (char *)prec);
-  pdbRecordType->papFldDes[52]->size=sizeof(prec->low);
-  pdbRecordType->papFldDes[52]->offset=(short)((char *)&prec->low - (char *)prec);
-  pdbRecordType->papFldDes[53]->size=sizeof(prec->hhsv);
-  pdbRecordType->papFldDes[53]->offset=(short)((char *)&prec->hhsv - (char *)prec);
-  pdbRecordType->papFldDes[54]->size=sizeof(prec->llsv);
-  pdbRecordType->papFldDes[54]->offset=(short)((char *)&prec->llsv - (char *)prec);
-  pdbRecordType->papFldDes[55]->size=sizeof(prec->hsv);
-  pdbRecordType->papFldDes[55]->offset=(short)((char *)&prec->hsv - (char *)prec);
-  pdbRecordType->papFldDes[56]->size=sizeof(prec->lsv);
-  pdbRecordType->papFldDes[56]->offset=(short)((char *)&prec->lsv - (char *)prec);
-  pdbRecordType->papFldDes[57]->size=sizeof(prec->hyst);
-  pdbRecordType->papFldDes[57]->offset=(short)((char *)&prec->hyst - (char *)prec);
-  pdbRecordType->papFldDes[58]->size=sizeof(prec->adel);
-  pdbRecordType->papFldDes[58]->offset=(short)((char *)&prec->adel - (char *)prec);
-  pdbRecordType->papFldDes[59]->size=sizeof(prec->mdel);
-  pdbRecordType->papFldDes[59]->offset=(short)((char *)&prec->mdel - (char *)prec);
-  pdbRecordType->papFldDes[60]->size=sizeof(prec->lalm);
-  pdbRecordType->papFldDes[60]->offset=(short)((char *)&prec->lalm - (char *)prec);
-  pdbRecordType->papFldDes[61]->size=sizeof(prec->alst);
-  pdbRecordType->papFldDes[61]->offset=(short)((char *)&prec->alst - (char *)prec);
-  pdbRecordType->papFldDes[62]->size=sizeof(prec->mlst);
-  pdbRecordType->papFldDes[62]->offset=(short)((char *)&prec->mlst - (char *)prec);
-    pdbRecordType->rec_size = sizeof(*prec);
-    return(0);
-}
-epicsExportRegistrar(xxxRecordSizeOffset);
-#ifdef __cplusplus
-}
-#endif
-#endif /*GEN_SIZE_OFFSET*/