Experimental Physics and Industrial Control System
Subject: |
Re: head & tail patches to vxWorks interrupt service routines? |
From: |
Benjamin Franksen <[email protected]> |
To: |
[email protected] |
Date: |
Thu, 12 Jun 1997 11:37:50 +0200 |
On Wed, 11 Jun 1997, Guy Jennings wrote:
> 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, I think that's a perfectly safe thing to do. Look at the VxWorks
documentation of the intLib and intArchLib libraries. There are numerous
functions that support this.
A year or so ago, when I worked in robotics, I had to implement a very
toughly timed task scheduler. So what I did was to set system clock to
cause an interrupt every 4 msec and then installed my own routine, which
basically waked up my scheduler task and then called the old VxWorks
stuff. Worked fine.
Ben
--
The Notorious Neb Nesknarf
// snail: BESSY II, Rudower Chaussee 5, D-12489 Berlin, Germany
// email: [email protected]
// phone/fax: +49(30)6392-4865 / 6392-4859
- Navigate by Date:
- Prev:
Re: head & tail patches to vxWorks interrupt service routines? Joseph P. Sullivan
- Next:
Re: head & tail patches to vxWorks interrupt service routines? Jeff Hill
- 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
- Navigate by Thread:
- Prev:
Re: head & tail patches to vxWorks interrupt service routines? Joseph P. Sullivan
- Next:
Re: head & tail patches to vxWorks interrupt service routines? Jeff Hill
- 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