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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: EPICS R3.14.0beta2 device drivers |
From: | Till Straumann <[email protected]> |
To: | Kevin Tsubota <[email protected]> |
Cc: | "tech-talk (E-mail)" <[email protected]> |
Date: | Fri, 25 Oct 2002 15:19:26 -0700 |
Hi All,I've done this with a couple of drivers already - it's not too hard.
I'm starting to convert our serial drivers: drvAscii, drvSerial, tnetDrv to EPICS R3.14.0beta2.
- 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