home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!spool.mu.edu!agate!darkstar.UCSC.EDU!cats.ucsc.edu!davids
- From: davids@cats.ucsc.edu (Dave Schreiber)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: physical memory prot
- Date: 18 Nov 1992 03:48:35 GMT
- Organization: University of California; Santa Cruz
- Lines: 44
- Message-ID: <1eceejINNcin@darkstar.UCSC.EDU>
- References: <n0e9ft@ofa123.fidonet.org>
- NNTP-Posting-Host: as215-ws-5.ucsc.edu
-
-
- In article <n0e9ft@ofa123.fidonet.org> Aric.Caley@ofa123.fidonet.org writes:
- >
- >Well, how about two memory lists? Each task has its own private, protected
- >memory list (as you described), and then there would be "shared" memory
- >list. Memory that was intended to be passed around would be allocated from
- >the public memory list (or basicly, the way all memory is alloceted now!).
- >Now, this would require simply using the right memory flags in AllocMem() -
- >which probably most applications do not. So there's still a compatibility
- >problem, even though it should be easily fixed by correcting the AllocMem's
- >in your application and recompiling.
-
- That's basically the same problem as we have right now: programs don't
- specify shared memory properly. It can be fixed my recompiling, but we
- want to avoid making that necessary if possible since it that makes it
- necessary to buy upgrades, assuming the company that produced the crucial
- piece of software you use is still in business.
-
- >
- >-so-
- [bunch of stuff I agree with deleted to save bandwidth]
-
- >
- >Now perhaps I am completely off here... but it seems like this is a
- >reasonable solution. What don't I understand, if this idea is completely
- >unfeasable? Third parties have developed VM that uses a similar system to
- >what I described (from what I understand, I dont have an MMU to see how it
- >works).
-
- This is really something that needs to be integrated into the operating
- system, IMHO. As you said (in the text I deleted :-), AmigaOS as a whole
- needs to be made memory-protection compliant, since every program interacts
- with it. What if Intuition doesn't use MEMF_PUBLIC when allocating
- memory for IDCMP messages? This'll mean that no program that uses Intuition
- will be able to use memory protection, unless you write a routine that
- intercepts an IDCMP message and makes it public. Doing this for every
- system routine that needs it could be a lot of work. Of course, once
- memory protection is implemented in Exec, the rest of the OS will be made
- memory-protection compliant, but for now, who knows?
-
- >--- Maximus 2.00
-
- --
- Dave Schreiber "Look. Don't touch." davids@cats.ucsc.edu (until 6/20/93)
-