Kevin Tsubota wrote:
Hi All,
I'm starting to convert our serial drivers: drvAscii, drvSerial, tnetDrv
to EPICS R3.14.0beta2.
I've done this with a couple of drivers already - it's not too hard.
- replace the OS primitives with EPICS OSI calls, i.e. instead of
vxworks semaphores use epicsEvent or epicsMutex; convert
vxWorks tasks to epicsThreads() etc.
- For VME, use the devLib calls to register addresses and IRQ handlers
etc.
I also have a (I guess pretty portable) header for doing endian conversion
and I/O calls which I could contribute.
Regards
-- Till
Has anyone out there done this already?
Does anyone have a recipe book for doing this?
In particular, what do I do with the VxWorks calls?
Allan Honey and William Lupton used a "glue" layer to translate
VxWorks calls to solaris calls a while back with an alpha version.
Is this the recommended approach?
Thanks in advance.
Kevin Tsubota
California Association for Research in Astronomy
W.M. Keck Observatory
65-1120 Mamalahoa Hwy.
Kamuela, HI 96743
tel: (808) 885-7887
- References:
- EPICS R3.14.0beta2 device drivers Kevin Tsubota
- Navigate by Date:
- Prev:
EPICS R3.14.0beta2 device drivers Kevin Tsubota
- Next:
where to get some dbd files for testing DCTs? M.C.Shao
- 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:
EPICS R3.14.0beta2 device drivers Kevin Tsubota
- Next:
where to get some dbd files for testing DCTs? M.C.Shao
- 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
|