Subject: Re: Re^2: NetBSD-Mach?
To: None <thorpej@nas.nasa.gov>
From: Carl S Shapiro <cshapiro@ic.sunysb.edu>
List: port-powerpc
Date: 12/11/1996 18:41:46
> So, I was looking through the sources available on the mlklinux ftp
> server, and unless I really missed something, one or both of the following
> are true:

(you *REALLY* missed something)

> 	(a) The Mach kernel is distributed separately.

Nope, ftp://ftp.mklinux.apple.com/pub/MkLinux_DR2/FullRelease/MkLinuxFiles
you should find a tar file there called "mklinux-1.0DR2.osfmk.tar.gz".

> 	(b) The Mach kernel they're using is unlike any Mach kernel
> 	    I've ever seen.  (I couldn't find the pmap, for example.)

I snagged a copy of Mk 6.1 from the "OSF Software Mall" at the Open Group
website.  The stuff that is on the mklinux ftp server is just about the
same stuff (sans the ppc code and a few other minor diffrences) one gets 
with Mk 6.1.  If you want to see something really scary, look at the Mk++
kernel (Mk 6.x in C++).  

When you get the osfmk tar file, take a look in the following directory:

osfmk/src/mach_kernel/ppc

...and you will be able to find the pmap code right there.  

> If (b) is true, it's not likely that porting Lites to it will be all that
> easy.

Well, since the pmap code *IS* distributed with the Apple modified Mk 6.1
lites should be no big deal, right?

> Though, I really could be missing something... from my study of the
> sources, there seemed to be _lots_ of pieces missing (low-level,
> essential stuff).  Can someone here post the canonical location of
> _all_ of the pieces needed to run mklinux on a NuBus Powermac?

I could not find any NuBus specific code in the kernel source, and the
PCI stuff seems to be i386 specific (well, at least what is in the
DR2 release source).



Carl