Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: CA on alphas
From: Geoff Savage <savage@fnal.gov>
To: epics tech-talk <TECH-TALK@APS.ANL.GOV>
Date: Mon, 08 Feb 1999 14:06:59 -0600
To get running on our alphas I grabbed the compiled libraries and binaries
for the alpha from Mark Rivers web site.  Thanks :) These are for EPICS
R3.12.  While using these I have encountered an interesting problem.  I
receive unaligned access errors from ca_array_put().  I traced them back to
issue_ca_array_put() in access.c.  When pdest and pvalue are incremented by
size_of_one.  At this point dbr_long_t has a size of 4 bytes (epicsInt32).
A long on an alpha is 8 bytes.  When the assignment is made between the two
arrays the type of long is used.  size_of_one needs to be 8 bytes.

I'm looking at R3.13.beta11 code.

Any suggestions.  The problem will appear when an extra 4 bytes is written
at the end of pdest.

Thanks

Geoff Savage


Replies:
Re: CA on alphas Marty Kraimer

Navigate by Date:
Prev: Pentek MIX bus Jaeyong Yee
Next: Anyone using Mercury Race Systems with EPICS? Paul Stomski
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Pentek MIX bus Jaeyong Yee
Next: Re: CA on alphas Marty Kraimer
Index: 1994  1995  1996  1997  1998  <19992000  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 ·