Re: NetBSD without MMU ?
Todd Vierling <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.ports |
|---|---|
| Message-ID | <Pine.WNT.4.43.0204120853350.1248-100000@todd> |
On Thu, 11 Apr 2002, Greg A. Woods wrote: : > Currently, there isn't a version of NetBSD that runs MMUless. Running : > without an MMU would require some pretty extensive changes (like : > ripping out the UBC system : : It's probably easier, relatively speaking, to start fresh with a new : kernel design (or with an existing kernel that doesn't need an MMU, such : as MINIX), reusing only some of the most generic stuff in NetBSD, such : as maybe some filesystem code. Then it's not NetBSD, is it? :) (The no-MMU requests that have come in are specifically wanting the bulk of NetBSD's kernel codebase for various reasons.) : > replacing fork()+exec() with spawn(), : > eliminating use of mmap, etc.) : : You don't _need_ an MMU to implement fork().... (eg. as in MINIX) 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). Most programs don't need fork(2) per se. vfork(2) and its inverted companion daemon(3) (which can be implemented in a way other than using fork()+_exit()) are enough for nearly all programs. -- -- Todd Vierling <[email protected]> * Wasabi & NetBSD: Run with it. -- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/