Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: incompatible problem of EPICS with vxworks 5.3
From: Peregrine McGehee <mcgehee@cfht.hawaii.edu>
To: Jeff Hill <johill@lanl.gov>
Cc: CAI MINGFU <cai@heracc.desy.de>, tech-talk@aps.anl.gov, Kay-Uwe Kasemir <kasemir@atdiv.lanl.gov>
Date: Tue, 10 Sep 1996 07:51:46 -1000
This is a feature I had to correct in the Force Sparc 5 (frc5ce) IOC
code port of R3.12 as well - along with forcing several CA buffers to
be quad-word aligned.

Jeff Hill writes:
 > CAI MINGFU wrote:
<snip>
 > The other PC port change to base/src/rsrv was incorporated
 > as suggested.
 > 
 > I have not incorporated your changes into base/src/db/dbScan.c 
 > (I suspect that Marty will take care of this).
 > 
 > Jeff
 > 
Cause:
        In rsrv/rsrv_init.c the DELETE_TASK macro is called with the result
        of the taskNameToID() vxWorks function call. If the task name is not
        found, this returns a -1 (0xffffffff), which causes the error when
        passed to errnoOfTaskGet().
Fix:
        DELETE_TASK now checks for it's argument (TID) being ERROR (-1).

        #define DELETE_TASK(TID)\
        if(TID!=ERROR && errnoOfTaskGet(TID)!=ERROR)taskDelete(TID);

-------------------------------------------------------------------------------
Peregrine M. McGehee			http://www.cfht.hawaii.edu/~mcgehee
Telescope Control Systems Group 	Canada-France-Hawaii Telescope
(808) 885-3178				P.O. Box 1597, Kamuela, Hawaii 96743	


References:
incompatible problem of EPICS with vxworks 5.3 CAI MINGFU
Re: incompatible problem of EPICS with vxworks 5.3 Jeff Hill

Navigate by Date:
Prev: Re: incompatible problem of EPICS with vxworks 5.3 Jeff Hill
Next: Re: incompatible problem of EPICS with vxworks 5.3 Marty Kraimer
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: incompatible problem of EPICS with vxworks 5.3 Jeff Hill
Next: Re: incompatible problem of EPICS with vxworks 5.3 Marty Kraimer
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·