Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!mcvax!ukc!reading!onion!brueer!mjc From: mjc@brueer.UUCP Newsgroups: comp.unix.wizards Subject: Sun 3/50 MMU Message-ID: <495@brueer.ee.brunel.ac.uk> Date: Thu, 26-Mar-87 05:46:48 EST Article-I.D.: brueer.495 Posted: Thu Mar 26 05:46:48 1987 Date-Received: Sat, 28-Mar-87 15:27:07 EST Organization: Dept of EE & E, Brunel University, Uxbridge, U.K. Lines: 18 Keywords: Sun MMU 3/50 fault This little program produces a segmentation fault on a Sun 3/75 or 3/110 but runs to the end on a 3/50. It would appear that the Sun 3/50 MMU is similar to the Sun 2 MMU in that it only looks at the bottom 24 bits of the address. Is this the true story, and if so is there a compiler #define that can be used to discriminate between a Sun 3/50 and a 3/75 in the same way that #ifdef mc68020 is used to tell the difference between a Sun 3 and Sun 2. main() { char *p = "Hello world" ; p += 0xc0000000 ; printf ("%s\n",p ) ; }