Subject: Re: "bootinfo" record for pmax bootblocks?
To: Simon Burge <simonb@telstra.com.au>
From: Chris G. Demetriou <cgd@netbsd.org>
List: port-pmax
Date: 03/17/1999 19:45:18
i recommend doing something like the alpha port does, and pass a magic
number and a pointer to the bootinfo area into the kernel.  i'm not
sure i like the alpha version mechanism more than the x86
length/type/data mechanism, but the magic number + pointer idea's a
decent one.  That way if you decide you have to move it later, etc.,
the right thing can happen...

basically:

	(1) if no magic number in the right register then you know the
	    pointer's not valid,

	(2) else check the bootinfo structs for validity, etc.

This may also give you the ability to share a bit more code with other
MIPS ports, if they think it's a useful feature...


cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.