From ee91fbe02832982d51e13a20ea03963d352a2c06 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Tue, 28 Oct 2003 16:40:05 +0000 Subject: [PATCH] - moved OMS specific "irqdatastr" from motordrvCom.h to here. - changed recv_rng and send_rng from C to C++ interface. --- motorApp/OmsSrc/drvOms.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/motorApp/OmsSrc/drvOms.h b/motorApp/OmsSrc/drvOms.h index 09f4ed99..1653bd80 100644 --- a/motorApp/OmsSrc/drvOms.h +++ b/motorApp/OmsSrc/drvOms.h @@ -3,9 +3,9 @@ FILENAME... drvOms.h USAGE... This file contains OMS driver "include" information that is specific to OMS models VME8 and VME44. -Version: $Revision: 1.3 $ +Version: $Revision: 1.4 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2003-10-24 14:39:38 $ +Last Modified: $Date: 2003-10-28 16:40:05 $ */ /* @@ -34,6 +34,7 @@ Last Modified: $Date: 2003-10-24 14:39:38 $ * ----------------- * .00 10-23-03 rls - VX2 spurious interrupt fix; enable all interrupts, including * transmit buffer empty. + * .01 10-28-03 rls - moved OMS specific "irqdatastr" from motordrvCom.h to here. */ #ifndef INCdrvOmsh @@ -94,4 +95,14 @@ struct vmex_motor epicsUInt8 unused5[6]; }; +struct irqdatastr /* Used only for VME44. */ +{ + /* Interrupt Handling control elements */ + int irqErrno; /* Error indicator from isr */ + epicsUInt8 irqEnable; + epicsRingPointer *recv_rng; /* message receiving control */ + epicsEvent *recv_sem; + epicsRingPointer *send_rng; /* message transmitting control */ +}; + #endif /* INCdrvOmsh */