home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!newshub.ccs.yorku.ca!nexus.yorku.ca!wlanders
- From: wlanders@nexus.yorku.ca (W L Anderson)
- Subject: Re: physical memory protection with MMU
- Message-ID: <1992Nov21.183408.23912@newshub.ccs.yorku.ca>
- Summary: how about this?
- Sender: wlanders@nexus.yorku.ca
- Organization: York University, CS Dept. Toronto
- References: <1e752hINNk3h@darkstar.UCSC.EDU> <paulk.28d4@terapin.com> <1eccinINNbv2@darkstar.UCSC.EDU>
- Date: Sat, 21 Nov 1992 18:34:08 GMT
- Lines: 18
-
- I've been following this thread for a while now, and I have a
- question.
-
- Since in a protected memory environment, you are going to have to
- keep track of what memory is allocated by which process, and the
- problem seems to be with memory that is being used to pass to
- other tasks is not always allocated as MEMF_PUBLIC, why not put a
- hook into the EXEC message passing code so that when a task is
- about to pass a message, you check to see if it's MEMF_PUBLIC.
- If it isn't, make it MEMF_PUBLIC.
-
- Is there a drawback to this that I don't see? At least new pro-
- grams that are written correctly could start taking advantage of
- memory protection, and old programs would at least have their
- code protected from errant processes.
-
- Tom Hayko
- wlanders@nexus.yorku.ca
-