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: Mike Westfall <[email protected]>
To: <[email protected]>
Date: Mon, 24 Nov 2014 15:51:20 -0300
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  <20142015  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  <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 ·