1994 1995 1996 <1997> 1998 1999 2000 2001 2002 2003 2004 2005 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 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: head & tail patches to vxWorks interrupt service routines? |
From: | "Jeff Hill" <[email protected]> |
To: | <[email protected]>, "Guy Jennings" <[email protected]> |
Date: | Thu, 12 Jun 1997 12:52:12 -0600 |
> Can any of the vxWorks gurus out there tell me if it is possible to do > a head or a tail patch to a vxWorks interrupt service routine. We want to > hook in to the serial input interrupt and then pass on the servicing to the > existing service routine. Yes, this is possible. After loading EPICS core run "veclist" to find out the symbol name of the routine that is attached to the interrupt in question. Use intConnect() (C source code) or intVecSet() (assembler) to attach your code (which will call the original ISR attached to the interrupt). Note that there are only a limited set of vxWorks system calls that can be safely invoked from within an ISR. Jeff