Re: NetBSD without MMU ?

Todd Vierling <[email protected]>
Newsgroups gmane.os.netbsd.devel.ports
Message-ID <Pine.WNT.4.43.0204121201360.1248-100000@todd>
On Fri, 12 Apr 2002, Lennart Augustsson wrote:

: > However, you do have to do some really major evil and hack the compiler to
: > make all code PIC-and-then-some (ensuring base register relative addressing
: > for all data accesses).

: Not at all.  Original Unix implemented fork() without PIC.  What you do
: is that you copy all of the current process to swap space and then you
: make that process the parent (well, I guess you could make it the child
: if you want).

This is also known as `banking' process contexts.

It's still evil from a modern CPU standpoint.  8-)

-- 
-- Todd Vierling <[email protected]>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.