From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,38a038c6293cf4ce X-Google-Attributes: gidf7344,public X-Google-Thread: 1020c6,38a038c6293cf4ce X-Google-Attributes: gid1020c6,public X-Google-Thread: fa528,38a038c6293cf4ce X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-08-14 12:53:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!nntp.abs.net!uunet!dca.uu.net!snewsf0.syd.ops.aspac.uu.net!news1.optus.net.au!optus!news.uwa.edu.au!nntp.waia.asn.au!nnrp.waia.asn.au!127.0.0.1!nobody From: Paul Repacholi Newsgroups: comp.os.vms,comp.unix.tru64,comp.unix.admin Subject: Re: HP FUDBusting Date: Fri, 15 Aug 2003 02:43:45 +0800 Organization: none Message-ID: <878ypw5bby.fsf@prep.synonet.com> References: NNTP-Posting-Host: zion-a01.conceptual.net.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: nnrp.waia.asn.au 1060890653 6783 203.190.192.4 (14 Aug 2003 19:50:53 GMT) X-Complaints-To: usenet@nnrp.waia.asn.au NNTP-Posting-Date: Thu, 14 Aug 2003 19:50:53 +0000 (UTC) User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:efKqwyBA8a7ilfP60OC6odK+Mvg= Cache-Post-Path: grimiore.conceptual.net.au!unknown@dialup-194-168.conceptual.net.au X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.os.vms:128580 comp.unix.tru64:10696 comp.unix.admin:33958 peter@abbnm.com (Peter da Silva) writes: > In article , > Bob Koehler wrote: >> In article , peter@abbnm.com (Peter >> da Silva) writes: >> > After all, the PDP-11 happens to be one that does. Split I&D and >> > pure text code in V7 and 2BSD had non-executable stacks by >> > default... but 4BSD didn't, and running 4BSD is what most RISCs >> > seem to have been optimised for. >> RSX-11M also split code into I and D space, and under that I >> have executed code on the stack. M-PLUS, not M. > How do you address it? Or did it explicitly map the stack into both > address spaces (seems wasteful, given the page size). > Split I&D in V7 performed instruction fetches (and PC relative data > fetches) from a separate 64k address space than data access. If you > branched to the stack address in data space you would execute code > from wherever that mapped to in address space. RSX explicitly overmapped APR0 I and D so the MARK instruction would work. As another detail of trivia, you could also have seperate ! and D mapping of APR7 in Kernel mode and overmap the IO page with an instruction page. -- Paul Repacholi 1 Crescent Rd., +61 (08) 9257-1001 Kalamunda. West Australia 6076 comp.os.vms,- The Older, Grumpier Slashdot Raw, Cooked or Well-done, it's all half baked. EPIC, The Architecture of the future, always has been, always will be.