From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,98e311935a219163 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-23 19:08:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!59ce1190!not-for-mail Message-ID: <3CEDA095.61BE6EF6@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Help with Copying Shared Memory to Local References: <3CED51CF.39E26FC6@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 24 May 2002 02:08:38 GMT NNTP-Posting-Host: 63.184.104.137 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1022206118 63.184.104.137 (Thu, 23 May 2002 19:08:38 PDT) NNTP-Posting-Date: Thu, 23 May 2002 19:08:38 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:24616 Date: 2002-05-24T02:08:38+00:00 List-Id: 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