EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: devDisconnectInterruptVME-RTEMS
From: Kate Feng <[email protected]>
To: [email protected]
Date: Fri, 31 Dec 2004 10:12:09 -0500
Greetings!

I needed to apply a small patch for the devDisconnectInterruptVME()
function  in the RTEMS/devLibOSD.c  file for my application so that
a previously  disconnected vector number can be reconnected  to
a different handler later on.  I had to take out the  :

BSP_installVME_isr(vectorNumber,
             (BSP_VME_ISR_t)unsolicitedHandlerEPICS,
             (void*)vectorNumber)


Perhaps a different mechanism should be applied ?


The patch is :

diff -c -u devLibOSD.c~ devLibOSD.c

--- devLibOSD.c~ Wed Jul 21 11:47:44 2004
+++ devLibOSD.c Wed Dec 29 8:31:30 2004
@@ -159,11 +159,11 @@
     status = BSP_removeVME_isr(
              vectorNumber,
     psub,
-    arg) ||
+    arg)/* ||
     BSP_installVME_isr(
     vectorNumber,
              (BSP_VME_ISR_t)unsolicitedHandlerEPICS,
-             (void*)vectorNumber);
+             (void*)vectorNumber)*/;
     if(status){
         return S_dev_vecInstlFail;
     }






Navigate by Date:
Prev: Re: devLib, RTEMS and the Oms58 driver Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS-based New Year Demo Klemen Zagar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024