comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Help with Copying Shared Memory to Local
Date: Fri, 24 May 2002 02:08:38 GMT
Date: 2002-05-24T02:08:38+00:00	[thread overview]
Message-ID: <3CEDA095.61BE6EF6@acm.org> (raw)
In-Reply-To: uer6almsiuh145@corp.supernews.com

Randy Brukardt wrote:
> 
> Humm, I wouldn't expect that code to have the proper memory read/write
> (16-bits) that you specified. And in any case, even if it works, nothing
> would require that staying correct.

I assumed that Storage_Unit was 16, since the hardware doesn't support
byte access. Of course, I may have made a donkey out of someone and his
brother in so doing.

If needed, one can declare an Atomic mod 2 ** 16 type, and associated
unconstrained array type with Atomic_Components, and hopefully guarantee
the required behavior. If not, one can always guarantee appropriate
object code by using a machine code insertion.

-- 
Jeff Carter
"We call your door-opening request a silly thing."
Monty Python & the Holy Grail



  reply	other threads:[~2002-05-24  2:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23 13:50 Help with Copying Shared Memory to Local John Cupak
2002-05-23 20:32 ` Jeffrey Carter
2002-05-23 21:18   ` John Cupak
2002-05-24  1:37     ` Randy Brukardt
2002-05-24  2:08       ` Jeffrey Carter [this message]
2002-05-24 17:05         ` John R. Strohm
2002-05-24 16:55           ` Stephen Leake
2002-05-24 20:43             ` John R. Strohm
2002-05-24 19:49               ` Pat Rogers
2002-05-24 23:23                 ` martin.m.dowie
2002-05-24 20:54               ` Stephen Leake
2002-05-24 19:41           ` Jeffrey Carter
2002-05-26  0:55           ` John Cupak
2002-05-28 17:52             ` John Cupak
2002-05-25 11:23   ` Robert Dewar
2002-05-26  4:48     ` Jeffrey Carter
  -- strict thread matches above, loose matches on Subject: below --
2002-05-24 14:22 Beard, Frank [Contractor]
2002-05-24 19:30 ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox