Subject: Re: NetBSD without MMU ?
To: Lennart Augustsson <lennart@augustsson.net>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-ports
Date: 04/12/2002 12:02:17
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 <tv@wasabisystems.com> * Wasabi & NetBSD: Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/