Ah, thanks very much.
How did I miss that?
And the VxWorks to OSI conversion guide is very helpful.
On 11/24/2014 03:35 PM, Andrew Johnson wrote:
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
--
Mike Westfall
Gemini Observatory
Colina El Pino S/N, Casilla 603
La Serena, Chile
Tel: +56 51 2205625
- References:
- rebootHookAdd() equivalent for OSI / RTEMS? Mike Westfall
- Re: rebootHookAdd() equivalent for OSI / RTEMS? Andrew Johnson
- Navigate by Date:
- Prev:
Re: rebootHookAdd() equivalent for OSI / RTEMS? Andrew Johnson
- Next:
streamDevice output format question Mark Rivers
- 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? Andrew Johnson
- Next:
streamDevice output format question Mark Rivers
- 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
|