comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com (Tom Moran)
Subject: Re: How do I get this to work??
Date: 1999/01/10
Date: 1999-01-10T00:00:00+00:00	[thread overview]
Message-ID: <36993523.2075072@news.pacbell.net> (raw)
In-Reply-To: 77abdp$d5e$1@nnrp1.dejanews.com

>segmentation is present in the PII, for
>compatibility purposes, and used in some limited manners in
>the operating system kernel
  How could one write such operating system kernel code with a
compiler that did not recognize the existence of segmented addresses?
(Other than using asm code.)

> Ada 95 *does* provide
>a linear address model via the Integer_Address type in
>System.Storage_Elements
  Besides the use of segments in the 8086 as a way of partially
caching memory address, and its additional use in the 286/B5500 et al
for protection and virtual memory, what about things like bank memory
architectures (eg, CDC160-A/8090 to name one)?
   What does System.Storage_Elements."-" do when the two addresses are
in different distributied partitions, potentially on different
machines?  Raise Program_Error, depending on where the partitions
happen to reside?  I hope not.

>C does NOT provide a
>linear view of the address space, so general address
>arithmetic is not possible in C
  I sure wish I had a penny for each C programmer who believes that in

  char a[10],b;
'b' is the same as a[10].  And of course the 'buffer overflow'
security holes demonstrate that is usually a correct assumption.

>assuming *you* know the 5500 architecture well
A long time ago, as an RA in the U of Wisconsin Computer Center, most
of  my job was maintaining and enhancing the OS on their B5500s.




  parent reply	other threads:[~1999-01-10  0:00 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-04  0:00 How do I get this to work?? Chris Warwick
1999-01-05  0:00 ` Chris Warwick
1999-01-05  0:00   ` Stephen Leake
1999-01-05  0:00     ` Tom Moran
1999-01-06  0:00       ` robert_dewar
1999-01-06  0:00         ` Tom Moran
1999-01-07  0:00           ` robert_dewar
1999-01-07  0:00             ` Tom Moran
1999-01-10  0:00               ` robert_dewar
1999-01-06  0:00         ` Tom Moran
1999-01-07  0:00           ` robert_dewar
1999-01-07  0:00             ` Tom Moran
1999-01-10  0:00               ` robert_dewar
1999-01-10  0:00                 ` Tom Moran
1999-01-10  0:00                   ` robert_dewar
1999-01-10  0:00                   ` robert_dewar
1999-01-10  0:00                     ` Pat Rogers
1999-01-10  0:00                     ` Tom Moran [this message]
1999-01-06  0:00         ` Larry Kilgallen
1999-01-06  0:00           ` Tom Moran
1999-01-06  0:00     ` Chris Warwick
1999-01-06  0:00       ` Tom Moran
1999-01-07  0:00       ` robert_dewar
1999-01-09  0:00         ` Chris Warwick
1999-01-09  0:00           ` Brian Rogoff
1999-01-10  0:00             ` Matthew Heaney
1999-01-09  0:00           ` Simon Wright
1999-01-10  0:00             ` robert_dewar
1999-01-11  0:00               ` Simon Wright
1999-01-16  0:00               ` Chris Warwick
1999-01-16  0:00                 ` Simon Wright
1999-01-16  0:00                 ` robert_dewar
1999-01-18  0:00                   ` Chris Warwick
1999-01-18  0:00                     ` Matthew Heaney
1999-01-16  0:00                 ` Matthew Heaney
1999-01-16  0:00                   ` robert_dewar
1999-01-18  0:00                   ` Chris Warwick
1999-01-18  0:00                     ` Matthew Heaney
1999-01-18  0:00                     ` robert_dewar
1999-01-18  0:00                       ` dennison
1999-01-18  0:00                       ` Tucker Taft
1999-01-19  0:00                         ` Chris Warwick
1999-01-19  0:00                           ` Stephen Leake
1999-01-19  0:00                           ` robert_dewar
1999-01-20  0:00                             ` Jeff Carter
1999-01-20  0:00                               ` robert_dewar
1999-01-21  0:00                                 ` Chris Warwick
1999-01-19  0:00                           ` Tom Moran
1999-01-18  0:00                     ` dennison
1999-01-07  0:00       ` Stephen Leake
1999-01-08  0:00         ` Simon Wright
1999-01-06  0:00     ` robert_dewar
1999-01-06  0:00   ` Simon Wright
1999-01-22  0:00   ` Nick Roberts
1999-01-05  0:00 ` Tom Moran
replies disabled

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