EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: rebootHookAdd() equivalent for OSI / RTEMS?
From: Andrew Johnson <[email protected]>
To: Mike Westfall <[email protected]>, <[email protected]>
Date: Mon, 24 Nov 2014 12:35:38 -0600
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  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·