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  <20112012  2013  2014  2015  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: pdevLibVirtualOS
From: Michael Davidsaver <[email protected]>
To: Terry Cornall <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 23 Mar 2011 10:06:10 -0400
Hello Terry,

pdevLibVirtualOS is a table of function pointers used to implement VME access functions (ie devRegisterAddress()).  When no VME implementation is present, it is NULL.  On Linux this happens in src/libCom/osi/os/default/devLibOSD.c.

You will get an error when a driver tries to use the VME access functions and no implementation is present.  The only OSs for which an implementation is provided in epics base are RTEMS and vxWorks.  There is at least one Linux implementation out there that I know of.  It is based on the kernel driver/user library from GE Fanuc and may not be of use to you.

I hope this answers you question,

Michael


On 3/23/2011 2:21 AM, Terry Cornall wrote:

Can anyone tell me how pdevLibVirtualOS gets initialized?  Or why I might be getting an error indicating that it is NULL?

 

(EPICS_HOST_ARCH=linux-x86 and epics base is 3-14-9 )

 

Thanks.

 

http://www.synchrotron.org.au/images/emails/logosig.gif
Terry Cornall | Senior Controls Engineer | Australian Synchrotron
p: (03) 8540 4280 | f: (03) 8540 4200
[email protected] | www.synchrotron.org.au
800 Blackburn Road, Clayton, Victoria 3168


This message and any attachments may contain proprietary or confidential information. If you are not the intended recipient or you received the message in error, you must not use, copy or distribute the message. Please notify the sender immediately and destroy the original message. Thank you.


References:
pdevLibVirtualOS Terry Cornall

Navigate by Date:
Prev: Driver for Tektronix AFG 3000 series? Ralph Lange
Next: Re: epicsqt So, Sung-Leung
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: pdevLibVirtualOS Terry Cornall
Next: Driver for Tektronix AFG 3000 series? Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·