From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.8 required=3.0 tests=BAYES_00,GAPPY_SUBJECT autolearn=no autolearn_force=no version=3.4.5-pre1 Date: 5 Jun 91 18:59:54 GMT From: agate!spool.mu.edu!think.com!rpi!news-server.csri.toronto.edu!torsqnt!lethe!telly!moore!eastern!egsgate!Uucp@ucbvax.Berkeley.EDU (John Goodenough) Subject: Re: Types defining h/w r/o or w/o registers Message-ID: <676362409.29@egsgate.FidoNet.Org> List-Id: In article Re: Types defining h/w r/o or w/o registers of 4 Jun 91 14:48:21 GMT als@bohra.cpg.oz.au (Anthony Shipman) writes: >Wasn't there something in the tasking part of the language for this? Ada's >multi-tasking model is shared memory between tasks. I vaguely recall there was >a pragma, or something in the machine-dependant chapter, to declare certain >memory locations as volatile. Certainly what you have is logically equivalent >to multi-tasking except that one of the tasks is implemented in hardware. You are talking here about pragma SHARED, which is not suitable for use with volatile data. The Ada 9X study report on shared variables (available from the usual sources) discusses why pragma SHARED doesn't fit the bill. John B. Goodenough Goodenough@sei.cmu.edu Software Engineering Institute 412-268-6391