Hi Mike,
On 11/24/2014 11:59 AM, Mike Westfall wrote:
> We have a reflective memory card (VMI5588) where we call the vxWorks
> function rebootHookAdd() to hook a routine to disable interrupts for the
> card in the event of a soft reboot.
>
> We are converting to RTEMS, and I am wondering if there is an equivalent
> call in the OSI layer, or if we will have to resort to the
> RTEMS-specific atexit() to hook the routine?
See epicsExit.h, the epicsAtExit() routine is designed to do what you're
looking for.
http://www.aps.anl.gov/epics/base/R3-14/12-docs/AppDevGuide/node20.html#SECTION002040000000000000000
You might find this document useful when converting VxWorks-specific
code to use the OSI layer:
https://wiki-ext.aps.anl.gov/epics/index.php/How_to_make_your_EPICS_driver_operating_system_independent
HTH,
- Andrew
--
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling
- Replies:
- Re: rebootHookAdd() equivalent for OSI / RTEMS? Mike Westfall
- References:
- rebootHookAdd() equivalent for OSI / RTEMS? Mike Westfall
- Navigate by Date:
- Prev:
Re: rebootHookAdd() equivalent for OSI / RTEMS? Michael Davidsaver
- Next:
Re: rebootHookAdd() equivalent for OSI / RTEMS? Mike Westfall
- 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: rebootHookAdd() equivalent for OSI / RTEMS? Michael Davidsaver
- Next:
Re: rebootHookAdd() equivalent for OSI / RTEMS? Mike Westfall
- 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
|