tech-embed archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD without MMU ?



"Perry E. Metzger" wrote:
> 
> woods%weird.com@localhost (Greg A. Woods) writes:
> > > replacing fork()+exec() with spawn(),
> > > eliminating use of mmap, etc.)
> >
> > You don't _need_ an MMU to implement fork()....  (eg. as in MINIX)
> 
> MINIX uses the x86 segment registers to much the same purpose as an
> MMU. It is hard to do fork without any memory management at all.

See, for instance, Minix for the m68000, where they hacked up the 
compiler to generate base+displacement addressing so they could grab
a couple of address registers to use as the pseudo code and data
segments.

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
wes%softweyr.com@localhost                                           
http://softweyr.com/



Home | Main Index | Thread Index | Old Index