NetBSD/sys/arch/next68k/stand/boot
1999-05-07 16:19:27 +00:00
..
boot.c
conf.c
devopen.c tweaks to compile with egcs -Werror 1999-03-26 06:54:40 +00:00
dmareg.h
en.c include <lib/libkern/libkern.h> for intoa()/inet_ntoa() 1999-05-07 16:19:27 +00:00
enreg.h
installboot.sh
machdep.c tweaks to compile with egcs -Werror 1999-03-26 06:54:40 +00:00
Makefile tweaks to compile with egcs -Werror 1999-03-26 06:54:40 +00:00
newvers.sh
README
rtc.c tweaks to compile with egcs -Werror 1999-03-26 06:54:40 +00:00
scsi.c tweaks to compile with egcs -Werror 1999-03-26 06:54:40 +00:00
scsireg.h
scsivar.h
sd.c tweaks to compile with egcs -Werror 1999-03-26 06:54:40 +00:00
srt0.s

$NetBSD: README,v 1.1.1.1 1998/06/09 07:53:06 dbj Exp $

NeXT standalone bootblocks.
Rolf Grossmann, Dec 1994

Started work based on files from hp300/stand. boot.c was from post-1.0 
sparc/stand/boot.c, modified to work for the needs of the NeXT PROM,
i.e. it wants to call the kernel, so the bootblock has to return the
entry point.

The code does not try multiple names for te kernel, as I've seen it in
some other architectures' boot code. (The copied code simply didn't do
that ;)) It also doesn't prompt if the argument to boot ends with a
questionmark '?', like the NeXT bootblock does. Do we need this? (Why
should the bootblock as again when you can specify everything on the
boot command line?)

Most files have nothing to do with their original version anymore. The whole
code is a mixture of my own ideas, various other netbsd code I've looked at
(like the sparc scsi code, the independent scsi code, and the needs of the
standalone library).

In contrast to NeXT's bootblocks, mine keep the PROM's idea of what the
boot parameters are, i.e. logical disk number (the number the disk would
get as sd*), the lun and the partition.

TODO
 Make some additional improvements