EPICS Controls 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  2021  2022  2023  2024  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  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CA on alphas
From: Marty Kraimer <[email protected]>
To: epics tech-talk <[email protected]>
Date: Thu, 11 Feb 1999 10:40:07 -0600
Geoff Savage wrote:
> 
> 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.

The problem is the structures in db_access.h. They described the data that is
passed across the network. They assume a 32 bit architecture. CA does take care
of byte order. My guess is that it may take a lot of work to properly support 64
bit architectures.


Marty Kraimer

References:
CA on alphas Geoff Savage

Navigate by Date:
Prev: EPICS 3.13.1 and CVS schoeneburg
Next: My fix to CA on alphas Geoff Savage
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  2021  2022  2023  2024 
Navigate by Thread:
Prev: CA on alphas Geoff Savage
Next: RE: CA on alphas Jeff Hill
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  2021  2022  2023  2024 
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 ·