Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!decwrl!hplabs!sdcrdcf!trwrb!scgvaxd!stb!michael From: michael@stb.UUCP (Michael) Newsgroups: comp.sys.amiga Subject: Re: the 68070 - has it left hyperspace yet? (Really: MEMF_PUBLIC) Message-ID: <1555@stb.UUCP> Date: Sun, 17-May-87 15:22:06 EDT Article-I.D.: stb.1555 Posted: Sun May 17 15:22:06 1987 Date-Received: Tue, 19-May-87 04:11:29 EDT References: <280@spectrix.UUCP> <110@l5comp.UUCP> <303@rocky.STANFORD.EDU> <2686@cit-vax.Caltech.Edu> Reply-To: michael@stb.UUCP (Michael) Distribution: world Organization: STB BBS, La, Ca, USA, 90402 Lines: 27 Keywords: 68070, signetics, Philips, mac/st/amiga UN*X Summary: Only other TASKS/DEVICES need MEMF_PUBLIC'd mem. In article <2686@cit-vax.Caltech.Edu> walton@tybalt.caltech.edu.UUCP (Steve Walton) writes: >Since none of the Wizards took this up, thought I would. Nearly EVERY >system call in the Amiga gets a pointer, and thus this pointer would >have to be MEMF_PUBLIC if we had an MMU. When was the last time ONLY pointers passed to other tasks (including devices) needs to be MEMF_PUBLIC. You do not need to declare memory passed to intuition calls, exec.library, graphics.library, etc. Only memory that is A: Pointed to by a pointer in a message B: The message itself (not sure about this, the send message call may imply any re-mapping necesary) C: The segments loaded by LoadSeg() (since they may be used for another task) What I'd like to know is: If you put a MMU up, how do you tell AddTask()? All you give it is starting address, termination routine. How does it know any MMU information? Does it need to run from MEMF_PUBLIC or would it share your MMU status (which makes sense). How would CreateProc inform exec about MMU information in the segments? Bottom line (as far as I can tell): Code (text and initialized data) must be MEMF_PUBLIC, only AllocMem() memory can be otherwise (including non- initialized data). Michael -- : Michael Gersten seismo!scgvaxd!stb!michael : The above is the result of being educated at a school that discriminates : against roosters.