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
<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: 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
<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
|