Home | History | Annotate | only in /src/sys/arch/pmax/stand
History log of /src/sys/arch/pmax/stand
RevisionDateAuthorComments
 1.19 21-Apr-2009  tsutsui Add UFS2 boot support. Tested on gxemul.
 1.18 04-Apr-2002  lukem branches: 1.18.116; 1.18.124; 1.18.130;
Decommission pmax MD installboot in favour of MI installboot.
(Woo! pmax first again - hi Simon! :-)
 1.17 23-Feb-2002  gmcgarry Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.16 28-Nov-1999  simonb branches: 1.16.8; 1.16.12;
Enable new pmax bootblocks.
 1.15 27-Nov-1999  simonb Use new pmax stand structure for multi-filesystem bootblocks. All
entries are commented out for now until everything else is updated.
 1.14 27-Mar-1999  simonb branches: 1.14.8; 1.14.14;
Enable now that "make depend" works properly.
 1.13 24-Mar-1999  simonb New bootblock directory structure.
 1.12 23-Mar-1999  simonb Don't build anything while bootblocks are being updated.
 1.11 21-Jan-1999  simonb Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
 1.10 18-Oct-1997  jonathan branches: 1.10.2;
Note non-inclusion of up-to-date bootblock source for 1.3, as
suggested by release engineers.
 1.9 25-May-1997  jonathan Create standard Makefile for arch/pmax/stand.
Copy old Makefile with bootblock rules to Makefile.booters.
 1.8 18-Oct-1996  thorpej Use ${INSTALL}.
 1.7 01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.6 15-Jan-1996  thorpej Use ${BINOWN} and ${BINGRP} per Arne H. Juul <arnej@ikke.idt.unit.no>
in PR #705.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.10.2.1 02-Feb-1999  cgd pull up rev 1.11 from trunk (simonb)
 1.14.14.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.14.8.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.16.12.2 17-Apr-2002  nathanw Catch up to -current.
 1.16.12.1 28-Feb-2002  nathanw Catch up to -current.
 1.16.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.16.8.1 16-Mar-2002  jdolecek Catch up with -current.
 1.18.130.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.18.124.1 28-Apr-2009  skrll Sync with HEAD.
 1.18.116.1 04-May-2009  yamt sync with head.
 1.65 25-Apr-2021  christos Handle mipsn64
 1.64 01-Jan-2019  christos branches: 1.64.16;
ELF2ECOFF -> MIPS_ELF2ECOFF
 1.63 08-Apr-2017  christos branches: 1.63.12; 1.63.14;
centralize vers.c building for standalone programs.
 1.62 03-Sep-2016  christos branches: 1.62.2;
Add NOPIE
 1.61 22-Mar-2016  mrg branches: 1.61.2;
remove a bunch of "@echo done" from the tail of rules. these messages
were vaguely useful back when we didn't run make -j, but now you end
up with a single line "done" every so often, with no idea what it is
for. very few other targets claim they're done so just remove these.
 1.60 16-Jan-2014  christos branches: 1.60.6;
eliminate use of bsd.sys.mk from Makefiles
 1.59 12-Jan-2014  tsutsui Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.58 12-Aug-2013  joerg Build boot loaders without unwind tables.
 1.57 10-Jul-2011  mrg branches: 1.57.2; 1.57.12; 1.57.16;
don't set MACHINE_ARCH. the CPUFLAGS/etc. is enough, and otherwise this
doesn't work with an isolated $TOOLDIR from the mipse[lb] toolchain.
 1.56 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
New interrupt code.
mips64 support for DS5000/260.
 1.55 28-Jan-2011  tsutsui typo
 1.54 23-Jan-2011  joerg Define NOMAN earlier
 1.53 22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.52 27-May-2010  dholland branches: 1.52.2; 1.52.4;
Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
 1.51 23-Apr-2009  tsutsui branches: 1.51.2; 1.51.4;
Make sure to remove all generated files on cleandir.
 1.50 23-Apr-2009  tsutsui Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks.
 1.49 03-Apr-2009  tsutsui Remove obsolete LIBSA_USE_MEMCPY and LIBSA_USE_MEMSET.
They were removed from <lib/libsa/stand.h> on December 2007.
 1.48 17-Mar-2009  he Introduce LIBSA_NO_DEV_IOCTL, and don't declare ioctl() if it's defined.
Also, don't declare the close() function if LIBSA_NO_DEV_CLOSE is defined.
 1.47 12-Jan-2009  tsutsui branches: 1.47.2;
WARNSfy
 1.46 11-Dec-2005  christos branches: 1.46.74; 1.46.78; 1.46.86;
merge ktrace-lwp.
 1.45 01-Jan-2005  simonb Don't specify the object format to pick the right endianness - the
linker already knows if it is big- or little-endian.
 1.44 21-Jun-2004  jmc Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
 1.43 24-Nov-2003  he branches: 1.43.2;
I've been informed that any dependent targets on .BEGIN are
ignored. Fix the symlink creation for machine, mips, and pmax
accordingly.

Also, there's nothing .PHONY about the vers.c target, as far as I
can see, so I've removed that.
 1.42 26-Oct-2003  lukem Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
 1.41 08-Oct-2003  simonb Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
 1.40 09-Dec-2002  jdolecek branches: 1.40.6;
need -mno-abicalls in AFLAGS as well, so that .S would be compiled as
non-PIC same way as .c
 1.39 09-Dec-2002  jdolecek build with -ffreestanding
 1.38 07-May-2002  simonb Use "NOMAN=" instead of "MKMAN=no"; per lukem.
 1.37 05-May-2002  jdolecek no manpages here
 1.36 04-May-2002  gmcgarry Pull in <bsd.own.mk> for definition of ELF2ECOFF.
 1.35 12-Apr-2002  lukem use ${ELF2ECOFF} from <bsd.{own,sys}.mk>
 1.34 20-Mar-2002  gmcgarry Test for USETOOLS properly.
cVS: ----------------------------------------------------------------------
 1.33 23-Feb-2002  gmcgarry Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.32 05-Oct-2001  simonb branches: 1.32.4;
Use a single ldscript instead of separate scripts for either endianness;
use command line parameters to ld(1) instead to set the endian format.
Clean up some endian decisions in mips/conf/Makefile.mips.
Wrap some long lines.
 1.31 22-Sep-2001  tsutsui Fix errors on make cleandir in stand/boot* dirs.
Patch from misc/14012 by kwellsch@tampabay.rr.com.
 1.30 13-Jul-2000  jdolecek branches: 1.30.2; 1.30.4;
switch to sys/conf/newvers_stand.sh for generating vers.c
sync comments in */version with i386
add a hack to ${PROG} target so that symlinks machine, pmax, mips are
created properly even when building on NetBSD/pmax 1.4.1
 1.29 21-May-2000  soren Also share BE ldscripts.
 1.28 23-Jan-2000  mycroft Clean up the machine symlink stuff ever so slightly. Needs to be
standardized between files.
 1.27 27-Nov-1999  simonb Update for new alpha-style bootblocks - a good deal of this is based on
the alpha stand/Makefile.bootprogs and stand/Makefile.bootxx.
 1.26 13-Nov-1999  thorpej Backout my libsa changes.
 1.25 12-Nov-1999  simonb Remove references to libkern after Jason's recent work to libsa.
 1.24 21-Jul-1999  mrg branches: 1.24.2; 1.24.4; 1.24.8;
do not "quote" SAMISCMAKEFLAGS values, it causes pain and suffering.
 1.23 28-Apr-1999  christos use new loadfile
 1.22 11-Apr-1999  simonb Move BINDIR, BINMODE to Makefile.inc.
Remove -DSMALL.
Define an empty LIBZ if building first stage bootblocks since LIBZ
defaults to /usr/lib/libz.a.
 1.21 01-Apr-1999  simonb branches: 1.21.4;
Build the full MI libsa for the first stage bootblocks rather than
picking the bits we wanted explicitly, taking advantage of some of the
recent code-size trimming from cgd. There's now no duplication if libsa
code in sys/arch/pmax/stand.

As a bonus, we now have 416 bytes free in stage one (up from 80), and
will all of Chris' space saving options enabled (these are commented out
in scsiboot/Makefile), theres over a 1kB free.
 1.20 31-Mar-1999  simonb Create/build vers.c/vers.o inside the final link stage so that the build
datestamp get's updated each build.
 1.19 31-Mar-1999  simonb Reorder ${LIBS} so that we don't need to explicitly pull in bcmp.c
and bzero.c from libkern.
 1.18 27-Mar-1999  simonb Go back to a Makefile.booters scheme, like most other ports do. No
more problems for "make depend" - tested with and without obj dirs.
 1.17 25-Mar-1999  simonb Not needed at the moment - may be resurrected when netboot comes along.
 1.16 22-Feb-1999  simonb Load the bootblocks at 0x8070000 so that ramdisk kernels don't
overwrite the beginning of the bootblocks.
 1.15 30-Jan-1999  simonb Actually depend on libsa now.
 1.14 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.13 21-Jan-1999  simonb Round one of the Makefile clean up:
+ dependency on libsa works
+ set and use BINDIR/BINMODE
+ don't pull in sys/lib/lib{sa,kern}/Makefile.inc (``make clean''
doesn't make empty lib/{sa,kern} directories in each
directory/obj dir).
+ remove unnecessary targets, variables and other cruft
+ wrap lines at 80 chars

Re-ordering SRCS line in libsa/Makefile to a more logical sequence
(alphabetical by source dir) results in a libsa.a with archive members
in a different order, and a resultant bootrz that differs from the 1.3.3
bootrz. Untested as yet, so left in but commented out.

Also, _don't_ install the bootblocks (as per intent of previous commit)
or our own small libsa(!).
 1.12 21-Jan-1999  simonb Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
 1.11 22-May-1998  drochner STANDALONE->_STANDALONE (cpp definition)
closes PR kern/5481 (Erik Bertelsen <erik@q610.ebe.uni-c.dk>)
 1.10 15-Jun-1997  jonathan branches: 1.10.8;
Remove old 4.4bsd/pmax rules and targets.
 1.9 25-May-1997  jonathan Create standard Makefile for arch/pmax/stand.
Copy old Makefile with bootblock rules to Makefile.booters.
 1.8 18-Oct-1996  thorpej Use ${INSTALL}.
 1.7 01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.6 15-Jan-1996  thorpej Use ${BINOWN} and ${BINGRP} per Arne H. Juul <arnej@ikke.idt.unit.no>
in PR #705.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.10.8.1 02-Feb-1999  cgd pull up revs 1.11-1.14 from trunk (simonb)
 1.21.4.2 02-Aug-1999  thorpej Update from trunk.
 1.21.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.24.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.24.4.1 15-Nov-1999  fvdl Sync with -current
 1.24.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.30.4.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.30.4.2 16-Mar-2002  jdolecek Catch up with -current.
 1.30.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.30.2.2 11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.30.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.32.4.6 11-Dec-2002  thorpej Sync with HEAD.
 1.32.4.5 20-Jun-2002  nathanw Catch up to -current.
 1.32.4.4 17-Apr-2002  nathanw Catch up to -current.
 1.32.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.32.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.32.4.1 05-Oct-2001  nathanw file Makefile.booters was added on branch nathanw_sa on 2002-02-28 04:11:23 +0000
 1.40.6.4 17-Jan-2005  skrll Sync with HEAD.
 1.40.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.40.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.40.6.1 03-Aug-2004  skrll Sync with HEAD
 1.43.2.1 22-Jun-2004  tron Pull up revision 1.44 (requested by jmc in ticket #531):
Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
 1.46.86.2 28-Apr-2009  skrll Sync with HEAD.
 1.46.86.1 19-Jan-2009  skrll Sync with HEAD.
 1.46.78.2 11-Aug-2010  yamt sync with head.
 1.46.78.1 04-May-2009  yamt sync with head.
 1.46.74.1 17-Jan-2009  mjf Sync with HEAD.
 1.47.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.51.4.2 05-Mar-2011  rmind sync with head
 1.51.4.1 30-May-2010  rmind sync with head
 1.51.2.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.52.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.52.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.52.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.57.16.2 18-May-2014  rmind sync with head
 1.57.16.1 28-Aug-2013  rmind sync with head
 1.57.12.2 03-Dec-2017  jdolecek update from HEAD
 1.57.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.57.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.60.6.3 28-Aug-2017  skrll Sync with HEAD
 1.60.6.2 05-Oct-2016  skrll Sync with HEAD
 1.60.6.1 22-Apr-2016  skrll Sync with HEAD
 1.61.2.1 26-Apr-2017  pgoyette Sync with HEAD
 1.62.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.63.14.1 10-Jun-2019  christos Sync with HEAD
 1.63.12.1 18-Jan-2019  pgoyette Synch with HEAD
 1.64.16.1 13-May-2021  thorpej Sync with HEAD.
 1.17 27-Aug-2002  lukem arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
 1.16 07-May-2002  simonb branches: 1.16.2;
Remove a "NOMAN="; Makefile.booters now has MKMAN=no.
 1.15 12-Dec-2001  lukem Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
 1.14 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.13 28-Nov-1999  simonb branches: 1.13.8; 1.13.12;
Add CPPFLAGS and set LDSTATIC to -static.
 1.12 11-Apr-1999  simonb branches: 1.12.2; 1.12.4; 1.12.10;
Add "WARNS?= 1" - woohoo!
 1.11 11-Apr-1999  simonb Define BINDIR, BINMODE and MKMAN in the "standard" place.
 1.10 27-Mar-1999  simonb Go back to a Makefile.booters scheme, like most other ports do. No
more problems for "make depend" - tested with and without obj dirs.
 1.9 26-Mar-1999  simonb Conditionally set BINMODE and BINDIR so lower level Makefiles can override
the location or modes.

Fix up the machine and mips symlink creation.
 1.8 25-Mar-1999  simonb Updates for new bootblocks.
 1.7 23-Feb-1999  simonb Use -Os to reduce code size (from Krister Walfridsson).
 1.6 22-Feb-1999  simonb Update cpp defines to current reality.
 1.5 30-Jan-1999  simonb branches: 1.5.2;
Add -mmemcpy (from Jonathan Stone) and bump -G to 128. Bootblocks now
fit! Still needs more testing, so we don't actually install them yet...
 1.4 29-Jan-1999  simonb Make a `machine' symlink to ..../pmax/include to locate new location of
the dec_????.h files. Gleaned from other ports' stand/Makefile.inc's.
 1.3 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.2 21-Jan-1999  simonb Round one of the Makefile clean up:
+ dependency on libsa works
+ set and use BINDIR/BINMODE
+ don't pull in sys/lib/lib{sa,kern}/Makefile.inc (``make clean''
doesn't make empty lib/{sa,kern} directories in each
directory/obj dir).
+ remove unnecessary targets, variables and other cruft
+ wrap lines at 80 chars

Re-ordering SRCS line in libsa/Makefile to a more logical sequence
(alphabetical by source dir) results in a libsa.a with archive members
in a different order, and a resultant bootrz that differs from the 1.3.3
bootrz. Untested as yet, so left in but commented out.

Also, _don't_ install the bootblocks (as per intent of previous commit)
or our own small libsa(!).
 1.1 21-Jan-1999  simonb Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
 1.5.2.2 02-Feb-1999  cgd pull up revs 1.1-1.3 from trunk (simonb)
 1.5.2.1 30-Jan-1999  cgd file Makefile.inc was added on branch netbsd-1-3 on 1999-02-02 06:00:40 +0000
 1.12.10.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.4.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.12.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.13.12.3 27-Aug-2002  nathanw Catch up to -current.
 1.13.12.2 20-Jun-2002  nathanw Catch up to -current.
 1.13.12.1 08-Jan-2002  nathanw Catch up to -current.
 1.13.8.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.13.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.13.8.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.16.2.1 31-Aug-2002  gehenna catch up with -current.
 1.3 20-Jan-1999  simonb Remove obsolete README and dec_label program
 1.2 05-Jan-1998  perry RCSID Police.
 1.1 18-Oct-1997  jonathan branches: 1.1.2;
Note non-inclusion of up-to-date bootblock source for 1.3, as
suggested by release engineers.
 1.1.2.1 02-Feb-1999  cgd pull up rev 1.3 from trunk (deleted). (simonb)
 1.7 20-Jan-1999  simonb Move via repository copy to sys/arch/pmax/stand/scsiboot
 1.6 28-Jun-1995  jonathan branches: 1.6.18;
Change bootblock load code to work with old DECstation proms (2100, 3100)
that lack the REX callback introduced with 5k/200.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.6.18.1 02-Feb-1999  cgd pull up rev 1.7 from trunk (deleted). (simonb)
 1.3 20-Jan-1999  simonb Move via repository copy to sys/arch/pmax/stand/scsiboot
 1.2 05-Jan-1998  perry RCSID Police.
 1.1 26-Oct-1995  jonathan branches: 1.1.16;
Macro definitions of ntohs() and ntohl() for pmax bootblocks.
 1.1.16.1 02-Feb-1999  cgd pull up rev 1.3 from trunk (deleted). (simonb)
 1.6 20-Jan-1999  simonb Move via repository copy to sys/arch/pmax/stand/scsiboot
 1.5 18-Jan-1995  mellon branches: 1.5.18;
Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.5.18.1 02-Feb-1999  cgd pull up rev 1.6 from trunk (deleted). (simonb)
 1.5 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.4 26-Oct-1994  cgd branches: 1.4.18;
new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.4.18.1 02-Feb-1999  cgd pull up rev 1.5 from trunk (deleted). (simonb)
 1.5 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.4 26-Oct-1994  cgd branches: 1.4.18;
new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.4.18.1 02-Feb-1999  cgd pull up rev 1.5 from trunk (deleted). (simonb)
 1.4 25-May-1997  jonathan Move dec_label into a subdir.
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.1 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.10 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.9 21-Sep-1996  jonathan branches: 1.9.14;
Add fake, bogus prototype for gettcinfo(), with "void" arglist.
(Not having a prototype breaks -Wstrict-prototypes, this callback
isn't used, and we don't know what the prototype should be.)
 1.8 08-Apr-1996  jonathan Fix hanging open comment.
 1.7 01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.6 28-Mar-1995  jtc KERNEL -> _KERNEL
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.9.14.1 02-Feb-1999  cgd pull up rev 1.10 from trunk (deleted). (simonb)
 1.3 20-Jan-1999  simonb Move via repository copy to sys/arch/pmax/stand/scsiboot
 1.2 13-Oct-1997  lukem branches: 1.2.2;
rcsid fascism
 1.1 26-Oct-1995  jonathan branches: 1.1.12;
Commit missing modified copy of (old) sparc filesystem.c, that has
a comple-time option to support a subset of UFS operations, to build
small bootblocks.
 1.1.12.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2.2.1 02-Feb-1999  cgd pull up rev 1.3 from trunk (deleted). (simonb)
 1.6 20-Jan-1999  simonb Move via repository copy to sys/arch/pmax/stand/scsiboot
 1.5 18-Jan-1995  mellon branches: 1.5.18;
Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.5.18.1 02-Feb-1999  cgd pull up rev 1.6 from trunk (deleted). (simonb)
 1.8 20-Jan-1999  simonb Move via repository copy to sys/arch/pmax/stand/scsiboot
 1.7 01-Nov-1997  lukem getopt returns -1 not EOF
 1.6 18-Jan-1995  mellon branches: 1.6.18;
Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.5 26-Oct-1994  cgd new RCS ID format.
 1.4 17-Sep-1994  mycroft vmunix --> netbsd
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.6.18.1 02-Feb-1999  cgd pull up rev 1.8 from trunk (deleted). (simonb)
 1.7 20-Jan-1999  simonb Move via repository copy to sys/arch/pmax/stand/scsiboot
 1.6 28-Jun-1995  jonathan branches: 1.6.18;
Change bootblock load code to work with old DECstation proms (2100, 3100)
that lack the REX callback introduced with 5k/200.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.6.18.1 02-Feb-1999  cgd pull up rev 1.7 from trunk (deleted). (simonb)
 1.3 20-Jan-1999  simonb Move via repository copy to sys/arch/pmax/stand/scsiboot
 1.2 16-Jun-1997  jonathan branches: 1.2.8;
Remove all references to <machine/machAsmDefs.h>.
Use #include <mips/asm.h> instead.
 1.1 18-Jan-1995  mellon Start code for boot loader (under new name with some changes)
 1.2.8.1 02-Feb-1999  cgd pull up rev 1.3 from trunk (deleted). (simonb)
 1.7 18-Jan-1995  mycroft Clean up deleted files.
 1.6 15-Dec-1994  mycroft More underscores...
 1.5 14-Nov-1994  dean Prepended underscores
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.8 18-Jun-2002  jdolecek update comment
 1.7 31-Jan-2002  lukem branches: 1.7.10;
use ${INSTALL_FILE} instead of "cp -p"
 1.6 27-Nov-1999  simonb branches: 1.6.8; 1.6.12;
Updated for new Makefile.booters and stand/ layout.
 1.5 11-Apr-1999  simonb branches: 1.5.2; 1.5.8;
Move MKMAN to ../Makefile.inc.
 1.4 31-Mar-1999  simonb branches: 1.4.4;
Reorder ${LIBS} so that we don't need to explicitly pull in bcmp.c
and bzero.c from libkern.
 1.3 27-Mar-1999  simonb Go back to a Makefile.booters scheme, like most other ports do. No
more problems for "make depend" - tested with and without obj dirs.
 1.2 26-Mar-1999  simonb Explictly set BINMODE to 555 so that ../Makefile.inc doesn't override it.
 1.1 25-Mar-1999  simonb Makefile for /boot.
 1.4.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.5.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.6.12.2 01-Aug-2002  nathanw Catch up to -current.
 1.6.12.1 28-Feb-2002  nathanw Catch up to -current.
 1.6.8.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.6.8.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.7.10.1 16-Jul-2002  gehenna catch up with -current.
 1.10 27-Nov-1999  simonb Moved to common/boot.c,v
 1.9 13-Nov-1999  thorpej Backout my libsa changes.
 1.8 12-Nov-1999  simonb Remove references to libkern after Jason's recent work to libsa.
 1.7 28-Apr-1999  christos branches: 1.7.2; 1.7.4; 1.7.8;
use new loadfile
 1.6 12-Apr-1999  simonb If only a device name is specified with no kernel name, try to load a
kernel from a default list of names. This list is netbsd, netbsd.bak,
netbsd.old, onetbsd and gennetbsd - all without and with a .gz
extension.
 1.5 11-Apr-1999  simonb Clean up prototypes.
Print a message on failure to load or execute kernel.
 1.4 31-Mar-1999  simonb branches: 1.4.4;
Don't define errno expliticly, use libsa/errno.c in first stage and
${LIBSA} in the second stage.
 1.3 26-Mar-1999  simonb Update copyrights.
 1.2 25-Mar-1999  simonb Remove old (not-enabled) local support for loading kernels.
 1.1 25-Mar-1999  simonb Second stage bootblocks based on original single stage blocks.
 1.4.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.7.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.4.1 15-Nov-1999  fvdl Sync with -current
 1.7.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.7 09-Nov-2001  scw branches: 1.7.2;
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
that it tries hard to avoid backwards seeks.
 1.6 02-Aug-2001  bjh21 branches: 1.6.4;
Bump version numbers of all bootloaders that use loadfile/ELF, to account for
my changes to symbol loading. I should probably have done this at the time,
but it's better late than never.
 1.5 13-Sep-2000  simonb branches: 1.5.4;
Add support for booting off RAIDframe RAID1 mirrors.
If the first partition is of type FS_RAID, then add 64 to the block
number for each I/O in rzstrategy().
 1.4 13-Jul-2000  jdolecek switch to sys/conf/newvers_stand.sh for generating vers.c
sync comments in */version with i386
 1.3 28-Nov-1999  simonb branches: 1.3.4;
Bump bootblock version number to 1.2.
 1.2 12-Apr-1999  simonb branches: 1.2.2; 1.2.8;
Bump version number to 1.1 for default kernel names.
 1.1 25-Mar-1999  simonb branches: 1.1.4;
Version info for bootblocks.
 1.1.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.2.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.3.4.1 13-Sep-2000  simonb Pull up rev 1.5 from trunk (with patch), approved by thorpej:
Add support for booting off RAIDframe RAID1 mirrors.
If the first partition is of type FS_RAID, then add 64 to the block
number for each I/O in rzstrategy().
 1.5.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.1 03-Aug-2001  lukem update to -current
 1.6.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.7.2.2 09-Nov-2001  scw Bump the version numbers of all bootloaders which use loadfile_elfXX() now
that it tries hard to avoid backwards seeks.
 1.7.2.1 09-Nov-2001  scw file version was added on branch nathanw_sa on 2001-11-09 19:53:15 +0000
 1.1 27-Nov-1999  simonb branches: 1.1.2; 1.1.8;
New alpha-style first stage bootblock Makefiles.
 1.1.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.8.1 27-Nov-1999  bouyer file Makefile was added on branch thorpej_scsipi on 2000-11-20 20:20:40 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3 21-Apr-2009  tsutsui Add UFS2 boot support. Tested on gxemul.
 1.2 01-Feb-2003  simonb branches: 1.2.108; 1.2.116; 1.2.122;
Use a 32-bit daddr_t so that lib/libsa/{ufs,lfs}.c don't pull in 64
bit divide and modulus library routines that break the tight space
constraints on bootblocks on these platforms.

May not be the final solution, but gets bootblocks building again.
 1.1 27-Nov-1999  simonb branches: 1.1.2; 1.1.8;
New alpha-style first stage bootblock Makefiles.
 1.1.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.8.1 27-Nov-1999  bouyer file Makefile was added on branch thorpej_scsipi on 2000-11-20 20:20:41 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.122.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.116.1 28-Apr-2009  skrll Sync with HEAD.
 1.2.108.1 04-May-2009  yamt sync with head.
 1.1 21-Apr-2009  tsutsui branches: 1.1.2; 1.1.4; 1.1.6;
Add UFS2 boot support. Tested on gxemul.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 21-Apr-2009  jym file Makefile was added on branch jym-xensuspend on 2009-05-13 17:18:13 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 21-Apr-2009  yamt file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:11:42 +0000
 1.1.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.1.2.1 21-Apr-2009  skrll file Makefile was added on branch nick-hppapmap on 2009-04-28 07:34:33 +0000
 1.3 23-Feb-2003  simonb Update for LFSv2 support. Ports that have "bootxx_lfs"-style
bootblocks currently only support LFSv2, but the second level
"boot" program supports both LFS versions.
 1.2 01-Feb-2003  simonb Use a 32-bit daddr_t so that lib/libsa/{ufs,lfs}.c don't pull in 64
bit divide and modulus library routines that break the tight space
constraints on bootblocks on these platforms.

May not be the final solution, but gets bootblocks building again.
 1.1 27-Nov-1999  simonb branches: 1.1.2; 1.1.8;
New alpha-style first stage bootblock Makefiles.
 1.1.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.8.1 27-Nov-1999  bouyer file Makefile was added on branch thorpej_scsipi on 2000-11-20 20:20:41 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.20 06-Mar-2024  andvar s/lader/loader/ in comments.
 1.19 22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.18 14-Mar-2009  dsl branches: 1.18.4; 1.18.6; 1.18.8;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.17 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.16 28-Apr-2008  martin branches: 1.16.8; 1.16.14;
Remove clause 3 and 4 from TNF licenses
 1.15 11-Dec-2005  christos branches: 1.15.74; 1.15.76; 1.15.78;
merge ktrace-lwp.
 1.14 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.13 11-Jul-2000  soren branches: 1.13.2; 1.13.28;
Update comment.
 1.12 08-Dec-1999  simonb branches: 1.12.2;
Store only the kernel name itself in the bootinfo BOOTPATH record, and
not the full boot device specification.

With this change, /etc/rc doesn't spew garbage when kvm_mkdb can't
find a kernel called "3/rz0/netbsd" or some such...
 1.11 27-Nov-1999  simonb Use alpha-style banner display and bootprog_* variables.
Look for default kernels in order of: netbsd.pmax netbsd netbsd.gz
netbsd.bak netbsd.old onetbsd gennetbsd.
 1.10 27-Nov-1999  simonb Moved from boot/boot.c,v
 1.9 13-Nov-1999  thorpej Backout my libsa changes.
 1.8 12-Nov-1999  simonb Remove references to libkern after Jason's recent work to libsa.
 1.7 28-Apr-1999  christos branches: 1.7.4;
use new loadfile
 1.6 12-Apr-1999  simonb If only a device name is specified with no kernel name, try to load a
kernel from a default list of names. This list is netbsd, netbsd.bak,
netbsd.old, onetbsd and gennetbsd - all without and with a .gz
extension.
 1.5 11-Apr-1999  simonb Clean up prototypes.
Print a message on failure to load or execute kernel.
 1.4 31-Mar-1999  simonb branches: 1.4.4;
Don't define errno expliticly, use libsa/errno.c in first stage and
${LIBSA} in the second stage.
 1.3 26-Mar-1999  simonb Update copyrights.
 1.2 25-Mar-1999  simonb Remove old (not-enabled) local support for loading kernels.
 1.1 25-Mar-1999  simonb Second stage bootblocks based on original single stage blocks.
 1.4.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.7.4.1 15-Nov-1999  fvdl Sync with -current
 1.12.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.13.28.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.28.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.28.1 03-Aug-2004  skrll Sync with HEAD
 1.13.2.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.13.2.1 11-Jul-2000  bouyer file boot.c was added on branch thorpej_scsipi on 2000-11-20 20:20:42 +0000
 1.15.78.2 04-May-2009  yamt sync with head.
 1.15.78.1 16-May-2008  yamt sync with head.
 1.15.76.1 18-May-2008  yamt sync with head.
 1.15.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.16.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.16.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.18.8.1 08-Feb-2011  bouyer Sync with HEAD
 1.18.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.18.4.1 05-Mar-2011  rmind sync with head
 1.9 11-Jan-2011  tsutsui ANSIfy.
 1.8 28-Apr-2008  martin branches: 1.8.22;
Remove clause 3 and 4 from TNF licenses
 1.7 31-Jan-2008  tsutsui branches: 1.7.6; 1.7.8; 1.7.10;
Account bi_size properly.
 1.6 07-Jul-2001  simonb branches: 1.6.8; 1.6.42; 1.6.104; 1.6.110;
b{cmp,copy,zero} -> mem{cmp,cpy,set}
Also remove some unnecessary argument casts.
 1.5 27-Nov-1999  simonb branches: 1.5.2; 1.5.8;
Moved from lib/bootinfo.c,v
 1.4 13-Nov-1999  thorpej Backout my libsa changes.
 1.3 12-Nov-1999  simonb Remove references to libkern after Jason's recent work to libsa.
 1.2 25-Mar-1999  simonb branches: 1.2.10;
s/BOOTINFO_MAXSIZE/BOOTINFO_SIZE/
 1.1 24-Mar-1999  simonb Code to initialise and add bootinfo records.
 1.2.10.1 15-Nov-1999  fvdl Sync with -current
 1.5.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.5.8.1 27-Nov-1999  bouyer file bootinfo.c was added on branch thorpej_scsipi on 2000-11-20 20:20:42 +0000
 1.5.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.110.1 18-Feb-2008  mjf Sync with HEAD.
 1.6.104.1 23-Mar-2008  matt sync with HEAD
 1.6.42.1 04-Feb-2008  yamt sync with head.
 1.6.8.2 07-Jul-2001  simonb b{cmp,copy,zero} -> mem{cmp,cpy,set}
Also remove some unnecessary argument casts.
 1.6.8.1 07-Jul-2001  simonb file bootinfo.c was added on branch nathanw_sa on 2001-07-07 14:21:02 +0000
 1.7.10.1 16-May-2008  yamt sync with head.
 1.7.8.1 18-May-2008  yamt sync with head.
 1.7.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.22.1 05-Mar-2011  rmind sync with head
 1.4 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.3 28-Apr-2008  martin branches: 1.3.8; 1.3.14;
Remove clause 3 and 4 from TNF licenses
 1.2 27-Nov-1999  simonb branches: 1.2.2; 1.2.8; 1.2.136; 1.2.138; 1.2.140;
Moved from lib/bootinfo.h,v
 1.1 24-Mar-1999  simonb Code to initialise and add bootinfo records.
 1.2.140.2 04-May-2009  yamt sync with head.
 1.2.140.1 16-May-2008  yamt sync with head.
 1.2.138.1 18-May-2008  yamt sync with head.
 1.2.136.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.2.8.1 27-Nov-1999  bouyer file bootinfo.h was added on branch thorpej_scsipi on 2000-11-20 20:20:42 +0000
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.8 26-Mar-2011  tsutsui Use .set reorder to entrust compiler hazards and BDslots to avoid future botch
since there is no critical instructions in these sources.

Tested on 3MIN.
 1.7 10-Jan-2011  tsutsui branches: 1.7.2;
Add hazard nops required by MIPS1 in noreorder case.
(Umm, is it easier to remove noreorder and all BDslot insns?)
 1.6 10-Jan-2011  tsutsui - specify .set noreorder to fill BDslots properly
- indent instructions in BDslots
 1.5 28-Apr-2008  martin branches: 1.5.22;
Remove clause 3 and 4 from TNF licenses
 1.4 27-Nov-1999  simonb branches: 1.4.2; 1.4.8; 1.4.136; 1.4.138; 1.4.140;
Moved from lib/bootinit.S,v
 1.3 26-Mar-1999  simonb Update copyrights.
 1.2 13-Mar-1999  drochner Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago.
 1.1 22-Feb-1999  simonb Assembly stubs to PROM callback routines.
 1.4.140.1 16-May-2008  yamt sync with head.
 1.4.138.1 18-May-2008  yamt sync with head.
 1.4.136.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.8.1 27-Nov-1999  bouyer file bootinit.S was added on branch thorpej_scsipi on 2000-11-20 20:20:42 +0000
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.22.2 21-Apr-2011  rmind sync with head
 1.5.22.1 05-Mar-2011  rmind sync with head
 1.7.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.8 26-Mar-2011  tsutsui Use .set reorder to entrust compiler hazards and BDslots to avoid future botch
since there is no critical instructions in these sources.

Tested on 3MIN.
 1.7 10-Jan-2011  tsutsui branches: 1.7.2;
Add hazard nops required by MIPS1 in noreorder case.
(Umm, is it easier to remove noreorder and all BDslot insns?)
 1.6 10-Jan-2011  tsutsui - specify .set noreorder to fill BDslots properly
- indent instructions in BDslots
 1.5 28-Apr-2008  martin branches: 1.5.22;
Remove clause 3 and 4 from TNF licenses
 1.4 27-Nov-1999  simonb branches: 1.4.2; 1.4.8; 1.4.136; 1.4.138; 1.4.140;
Moved from lib/bootread.S,v
 1.3 26-Mar-1999  simonb Update copyrights.
 1.2 13-Mar-1999  drochner Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago.
 1.1 22-Feb-1999  simonb Assembly stubs to PROM callback routines.
 1.4.140.1 16-May-2008  yamt sync with head.
 1.4.138.1 18-May-2008  yamt sync with head.
 1.4.136.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.8.1 27-Nov-1999  bouyer file bootread.S was added on branch thorpej_scsipi on 2000-11-20 20:20:42 +0000
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.22.2 21-Apr-2011  rmind sync with head
 1.5.22.1 05-Mar-2011  rmind sync with head
 1.7.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.33 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.32 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.31 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.30 28-Apr-2008  martin branches: 1.30.8; 1.30.14;
Remove clause 3 and 4 from TNF licenses
 1.29 30-Mar-2008  he branches: 1.29.2; 1.29.4;
Use memcmp() instead of bcmp() so that this builds again.
 1.28 11-Dec-2005  christos branches: 1.28.74;
merge ktrace-lwp.
 1.27 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.26 20-Mar-2003  drochner branches: 1.26.2;
memcmp()->bcmp(), this gives us 32 bytes and makes bootxx_ffs
build again
 1.25 09-Dec-2002  jdolecek add #include <lib/libkern/libkern.h> to pull in prototypes
for couple items which don't have implicit prototypes with -ffreestanding
 1.24 07-Jul-2001  simonb branches: 1.24.8;
b{cmp,copy,zero} -> mem{cmp,cpy,set}
Also remove some unnecessary argument casts.
 1.23 27-Nov-1999  simonb branches: 1.23.2; 1.23.8;
Load second stage bootblocks from "boot.pmax", falling back to "boot"
for backwards compatibility and "boot.pma" after that for people who
make ISO filesystems with 8.3 format file names.
 1.22 27-Nov-1999  simonb Moved from scsiboot/bootxx.c,v
 1.21 27-Oct-1999  simonb Use ELFCLASS32 instead of ELFCLASS.
 1.20 25-Oct-1999  kleink Update to match new SVR4-style definition names in <sys/exec_elf.h>.
 1.19 12-Apr-1999  simonb branches: 1.19.4;
Make the bootpath "N/rzY" with no trailing '/' valid by adding the extra
'/' before appending 'boot' to the path.
 1.18 11-Apr-1999  simonb Clean up prototypes and entry variable usage.
 1.17 31-Mar-1999  simonb branches: 1.17.4;
G/C UFS_NOSYMLINK, UFS_NOCLOSE and UFS_NOWRITE and use new LIBSA_NO_FS_*.
 1.16 31-Mar-1999  simonb Don't define errno expliticly, use libsa/errno.c in first stage and
${LIBSA} in the second stage.
 1.15 26-Mar-1999  simonb Update copyrights.
 1.14 25-Mar-1999  simonb Fix header botch in previous.
 1.13 25-Mar-1999  simonb Change from loading an a.out kernel to an ELF /boot.
 1.12 14-Mar-1999  simonb Merge contents of filesystem.c into conf.c, and remove declaration of
errno from conf.c and put it in boot.c.
 1.11 22-Feb-1999  simonb Break single read and printf of text+data into two separate reads and
printfs. Better aesthetically, especially with a twiddle.
 1.10 01-Feb-1999  jonathan branches: 1.10.2;
use memcpy, not bcopy, for non-overlapping copies.
 1.9 29-Jan-1999  simonb Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
 1.8 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.7 21-Jan-1999  simonb Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
 1.6 28-Jun-1995  jonathan Change bootblock load code to work with old DECstation proms (2100, 3100)
that lack the REX callback introduced with 5k/200.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.10.2.1 02-Feb-1999  cgd pull up revs 1.1-1.8 from trunk (new). (simonb)
 1.17.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.19.4.1 15-Nov-1999  fvdl Sync with -current
 1.23.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.23.8.1 27-Nov-1999  bouyer file bootxx.c was added on branch thorpej_scsipi on 2000-11-20 20:20:43 +0000
 1.23.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.24.8.2 11-Dec-2002  thorpej Sync with HEAD.
 1.24.8.1 07-Jul-2001  thorpej file bootxx.c was added on branch nathanw_sa on 2002-12-11 06:11:36 +0000
 1.26.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.26.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.26.2.1 03-Aug-2004  skrll Sync with HEAD
 1.28.74.2 02-Jun-2008  mjf Sync with HEAD.
 1.28.74.1 03-Apr-2008  mjf Sync with HEAD.
 1.29.4.2 04-May-2009  yamt sync with head.
 1.29.4.1 16-May-2008  yamt sync with head.
 1.29.2.1 18-May-2008  yamt sync with head.
 1.30.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.30.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.19 11-Jun-2016  dholland Update to match change to dec_prom.h.
 1.18 14-Dec-2009  matt branches: 1.18.22; 1.18.40;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.17 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.16 11-Dec-2005  christos branches: 1.16.78; 1.16.86; 1.16.92; 1.16.96;
merge ktrace-lwp.
 1.15 01-Jun-2005  drochner make the argument to prom getenv() cnd the printf() format const
remove variable names from prototypes
 1.14 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.13 27-Nov-1999  simonb branches: 1.13.2; 1.13.8; 1.13.34;
Move callv variable declaration here from conf.c.
 1.12 27-Nov-1999  simonb Moved from lib/callvec.c,v
 1.11 01-Mar-1999  simonb Add a callback to the PROM routine clear_cache. Not needed now, but
used in two-stage bootblocks.
 1.10 29-Jan-1999  simonb Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
 1.9 27-Jan-1999  simonb Include dec_prom.h with `full' path if being included by kernel.

XXX: Should these headers used by the kernel be in pmax/include instead
of pmax/stand?
 1.8 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.7 25-May-1997  jonathan branches: 1.7.8;
Add (bogus) prototype for tcinfo() PROM callback until we know what it is.
 1.6 25-Sep-1995  jonathan Update pmax kernel to compile with -Werror:
Fix the initializer of the prom bootinit() function, to take a char* that's
(presumably) the name of the file to boot -- even though it's not used.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.7.8.2 04-Feb-1999  cgd pull up rev 1.9 from trunk (simonb)
 1.7.8.1 02-Feb-1999  cgd pull up rev 1.8 from trunk (simonb)
 1.13.34.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.13.34.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.34.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.34.1 03-Aug-2004  skrll Sync with HEAD
 1.13.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.13.8.1 27-Nov-1999  bouyer file callvec.c was added on branch thorpej_scsipi on 2000-11-20 20:20:43 +0000
 1.13.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.16.96.1 16-Sep-2009  matt Deal with some LP64 issues with only O32 console.
Make bootloader invoke kernel compatible with both O32 and N32
 1.16.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.16.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.16.78.2 11-Mar-2010  yamt sync with head
 1.16.78.1 04-May-2009  yamt sync with head.
 1.18.40.1 09-Jul-2016  skrll Sync with HEAD
 1.18.22.1 03-Dec-2017  jdolecek update from HEAD
 1.1 27-Nov-1999  simonb branches: 1.1.2; 1.1.8;
Check that a first-stage bootblock fits in a specified size - virtually
a copy of the alpha checksize.sh.
 1.1.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.8.1 27-Nov-1999  bouyer file checksize.sh was added on branch thorpej_scsipi on 2000-11-20 20:20:43 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9 26-Mar-2011  tsutsui Use .set reorder to entrust compiler hazards and BDslots to avoid future botch
since there is no critical instructions in these sources.

Tested on 3MIN.
 1.8 10-Jan-2011  tsutsui branches: 1.8.2;
Add hazard nops required by MIPS1 in noreorder case.
(Umm, is it easier to remove noreorder and all BDslot insns?)
 1.7 10-Jan-2011  tsutsui - specify .set noreorder to fill BDslots properly
- indent instructions in BDslots
 1.6 28-Apr-2008  martin branches: 1.6.22;
Remove clause 3 and 4 from TNF licenses
 1.5 27-Nov-1999  simonb branches: 1.5.2; 1.5.8; 1.5.136; 1.5.138; 1.5.140;
Moved from scsiboot/clear_cache.S,v
 1.4 28-Sep-1999  simonb Fix incorrect comment.
 1.3 26-Mar-1999  simonb Update copyrights.
 1.2 13-Mar-1999  drochner Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago.
 1.1 01-Mar-1999  simonb Add a callback to the PROM routine clear_cache. Not needed now, but
used in two-stage bootblocks.
 1.5.140.1 16-May-2008  yamt sync with head.
 1.5.138.1 18-May-2008  yamt sync with head.
 1.5.136.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.5.8.1 27-Nov-1999  bouyer file clear_cache.S was added on branch thorpej_scsipi on 2000-11-20 20:20:43 +0000
 1.5.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.22.2 21-Apr-2011  rmind sync with head
 1.6.22.1 05-Mar-2011  rmind sync with head
 1.8.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.3 12-Jan-2009  tsutsui branches: 1.3.2;
Replace time_t values in libsa sources with the following two types
to avoid unnecessary 64 bit ops which would make binaries larger:

satime_t (currently unsigned int):
numbers in seconds returned by the machine dependent getsecs() function
which are used to measure relative time

saseconds_t (currently int):
numbers in seconds used to specify timeout to network drivers

Per discussion on current-users.
 1.2 04-May-2008  martin branches: 1.2.8;
Move to standard TNF 2 clause license
 1.1 23-Feb-2002  gmcgarry branches: 1.1.2; 1.1.10; 1.1.124; 1.1.126; 1.1.128;
Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.1.128.2 04-May-2009  yamt sync with head.
 1.1.128.1 16-May-2008  yamt sync with head.
 1.1.126.1 18-May-2008  yamt sync with head.
 1.1.124.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.124.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.10.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.10.1 23-Feb-2002  jdolecek file clock.c was added on branch kqueue on 2002-03-16 15:59:14 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file clock.c was added on branch nathanw_sa on 2002-02-28 04:11:23 +0000
 1.2.8.2 28-Apr-2009  skrll Sync with HEAD.
 1.2.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.3.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.11 22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.10 10-Jan-2011  tsutsui branches: 1.10.2; 1.10.4;
- start.S
add a hazard nop so that prom_restart() works properly on MIPS1
(it seems broken since initial revision and had been restarted by fault?)

- common.h
export prom_restart()

- if_prom.c
use prom_restart() instead of a direct PROM call (that should be equivalent)
 1.9 14-Mar-2009  dsl branches: 1.9.4;
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.8 12-Jan-2009  tsutsui branches: 1.8.2;
Replace time_t values in libsa sources with the following two types
to avoid unnecessary 64 bit ops which would make binaries larger:

satime_t (currently unsigned int):
numbers in seconds returned by the machine dependent getsecs() function
which are used to measure relative time

saseconds_t (currently int):
numbers in seconds used to specify timeout to network drivers

Per discussion on current-users.
 1.7 28-Apr-2008  martin branches: 1.7.8;
Remove clause 3 and 4 from TNF licenses
 1.6 15-Mar-2002  simonb branches: 1.6.116; 1.6.118; 1.6.120;
The "debug" variable is only used during network debugging, and then
only if NET_DEBUG is defined. Put it's declaration and initialisation
inside '#ifdef NET_DEBUG' and save another 16 bytes.
 1.5 23-Feb-2002  gmcgarry Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.4 27-Nov-1999  simonb branches: 1.4.2; 1.4.8; 1.4.12; 1.4.16;
Add prom_write() declaration.
 1.3 27-Nov-1999  simonb Add some PROM function prototypes
Add bootprog* variable declarations (ala alpha/stand/common.h).
 1.2 27-Nov-1999  simonb Moved from lib/common.h,v
 1.1 11-Apr-1999  simonb branches: 1.1.2;
Declare some prototypes for the pmax-specific libsa functions.
 1.1.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.4.16.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.4.16.1 28-Feb-2002  nathanw Catch up to -current.
 1.4.12.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.12.1 16-Mar-2002  jdolecek Catch up with -current.
 1.4.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.8.1 27-Nov-1999  bouyer file common.h was added on branch thorpej_scsipi on 2000-11-20 20:20:44 +0000
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.120.2 04-May-2009  yamt sync with head.
 1.6.120.1 16-May-2008  yamt sync with head.
 1.6.118.1 18-May-2008  yamt sync with head.
 1.6.116.2 17-Jan-2009  mjf Sync with HEAD.
 1.6.116.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.8.2 28-Apr-2009  skrll Sync with HEAD.
 1.7.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.8.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.4.1 05-Mar-2011  rmind sync with head
 1.10.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.10.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.25 21-Apr-2009  tsutsui Add UFS2 boot support. Tested on gxemul.
 1.24 11-Dec-2005  christos branches: 1.24.78; 1.24.86; 1.24.92;
merge ktrace-lwp.
 1.23 23-Jun-2005  junyoung Use FS_OPS() macro.
 1.22 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.21 29-May-2003  simonb branches: 1.21.2;
Remove some useless comments.
 1.20 27-Mar-2003  drochner allow loading the bootloader via MOP
 1.19 23-Feb-2003  simonb Update for LFSv2 support. Ports that have "bootxx_lfs"-style
bootblocks currently only support LFSv2, but the second level
"boot" program supports both LFS versions.
 1.18 15-Mar-2002  simonb The "debug" variable is only used during network debugging, and then
only if NET_DEBUG is defined. Put it's declaration and initialisation
inside '#ifdef NET_DEBUG' and save another 16 bytes.
 1.17 23-Feb-2002  gmcgarry Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.16 27-Nov-1999  simonb branches: 1.16.2; 1.16.8; 1.16.12; 1.16.16;
Add lfs, cd9660, nfs and ustarfs filesystem support.
Remove callv variable declaration.
 1.15 27-Nov-1999  simonb Moved from lib/conf.c,v
 1.14 11-Apr-1999  simonb Use LIBSA_NO_DEV_CLOSE and LIBSA_NO_DEV_IOCTL instead of SMALL.
 1.13 01-Apr-1999  simonb branches: 1.13.4;
Add support for LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM.
 1.12 31-Mar-1999  simonb G/C UFS_NOSYMLINK, UFS_NOCLOSE and UFS_NOWRITE and use new LIBSA_NO_FS_*.
 1.11 14-Mar-1999  simonb Merge contents of filesystem.c into conf.c, and remove declaration of
errno from conf.c and put it in boot.c.
 1.10 22-Feb-1999  simonb Remove traces of tape support - we're nowhere near handling it at the
moment.
 1.9 30-Jan-1999  simonb branches: 1.9.2;
Don't define an ioctl routine for the rz driver, nor pull in the empty
routines in libsa/dev.c.
 1.8 29-Jan-1999  simonb Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
 1.7 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.6 21-Jan-1999  simonb Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.9.2.1 02-Feb-1999  cgd pull up revs 1.1-1.7 from trunk (new). (simonb)
 1.13.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.16.16.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.16.16.1 28-Feb-2002  nathanw Catch up to -current.
 1.16.12.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.16.12.1 16-Mar-2002  jdolecek Catch up with -current.
 1.16.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.16.8.1 27-Nov-1999  bouyer file conf.c was added on branch thorpej_scsipi on 2000-11-20 20:20:44 +0000
 1.16.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.21.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.21.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.21.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.21.2.1 03-Aug-2004  skrll Sync with HEAD
 1.24.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.24.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.24.78.1 04-May-2009  yamt sync with head.
 1.1 23-Feb-2002  gmcgarry branches: 1.1.2; 1.1.10;
Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.1.10.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.10.1 23-Feb-2002  jdolecek file dev_net.c was added on branch kqueue on 2002-03-16 15:59:14 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file dev_net.c was added on branch nathanw_sa on 2002-02-28 04:11:23 +0000
 1.17 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.16 11-Dec-2005  christos branches: 1.16.78; 1.16.86; 1.16.92;
merge ktrace-lwp.
 1.15 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.14 09-Dec-2002  jdolecek branches: 1.14.6;
add #include <lib/libkern/libkern.h> to pull in prototypes
for couple items which don't have implicit prototypes with -ffreestanding
 1.13 27-Nov-1999  simonb branches: 1.13.2; 1.13.8; 1.13.16;
GC register keyword.
Add LIBSA_SINGLE_DEVICE support.
 1.12 27-Nov-1999  simonb Moved from lib/devopen.c,v
 1.11 11-Apr-1999  simonb s/vmunix/netbsd/
Use BOOTRZ instead of SMALL.
 1.10 01-Apr-1999  simonb branches: 1.10.4;
Add support for LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM.
 1.9 22-Feb-1999  simonb Don't implicitly type the devopen() function.
Don't include machine/dec_prom.h.
 1.8 29-Jan-1999  simonb Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
 1.7 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.6 30-Sep-1996  jonathan branches: 1.6.14;
Add "const" to second argument to devopen.c, to match sys/lib/libsa/stand.h.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.6.14.1 02-Feb-1999  cgd pull up rev 1.7 from trunk (simonb)
 1.10.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.13.16.1 11-Dec-2002  thorpej Sync with HEAD.
 1.13.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.13.8.1 27-Nov-1999  bouyer file devopen.c was added on branch thorpej_scsipi on 2000-11-20 20:20:44 +0000
 1.13.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.14.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.14.6.1 03-Aug-2004  skrll Sync with HEAD
 1.16.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.16.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.16.78.1 04-May-2009  yamt sync with head.
 1.5 26-Mar-2011  tsutsui Use .set reorder to entrust compiler hazards and BDslots to avoid future botch
since there is no critical instructions in these sources.

Tested on 3MIN.
 1.4 10-Jan-2011  tsutsui branches: 1.4.2;
Add hazard nops required by MIPS1 in noreorder case.
(Umm, is it easier to remove noreorder and all BDslot insns?)
 1.3 10-Jan-2011  tsutsui - specify .set noreorder to fill BDslots properly
- indent instructions in BDslots
 1.2 28-Apr-2008  martin branches: 1.2.22;
Remove clause 3 and 4 from TNF licenses
 1.1 27-Nov-1999  simonb branches: 1.1.2; 1.1.8; 1.1.136; 1.1.138; 1.1.140;
Add a PROM call stub for getchar.
 1.1.140.1 16-May-2008  yamt sync with head.
 1.1.138.1 18-May-2008  yamt sync with head.
 1.1.136.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.8.1 27-Nov-1999  bouyer file getchar.S was added on branch thorpej_scsipi on 2000-11-20 20:20:44 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.22.2 21-Apr-2011  rmind sync with head
 1.2.22.1 05-Mar-2011  rmind sync with head
 1.4.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.11 12-Jan-2011  tsutsui Pull a fix from src/sys/net/if_ethersubr.c rev. 1.185:
Fix off by one.
 1.10 10-Jan-2011  tsutsui - start.S
add a hazard nop so that prom_restart() works properly on MIPS1
(it seems broken since initial revision and had been restarted by fault?)

- common.h
export prom_restart()

- if_prom.c
use prom_restart() instead of a direct PROM call (that should be equivalent)
 1.9 09-Jan-2011  tsutsui Misc cleanup:
- use DPRINTF() style debug printf
- KNF and ANSIfy
- fix space/TAB botch
- remove extra newlines
 1.8 09-Jan-2011  tsutsui Check if `enet' environment variable is available before reference to
get MAC address, and exit with appropriate warning messages if it isn't.
My 3MIN doesn't set the variable by default and netboot fails silently.
Also tidy up code that converts strings to enaddr.
 1.7 14-Mar-2009  dsl branches: 1.7.4;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.6 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.5 12-Jan-2009  tsutsui branches: 1.5.2;
Replace time_t values in libsa sources with the following two types
to avoid unnecessary 64 bit ops which would make binaries larger:

satime_t (currently unsigned int):
numbers in seconds returned by the machine dependent getsecs() function
which are used to measure relative time

saseconds_t (currently int):
numbers in seconds used to specify timeout to network drivers

Per discussion on current-users.
 1.4 04-May-2008  martin branches: 1.4.8;
Move to standard TNF 2 clause license
 1.3 27-Oct-2007  tsutsui branches: 1.3.16; 1.3.18; 1.3.20;
Include <lib/libsa/dev_net.h> for "extern int try_bootp" decl.
 1.2 13-Mar-2003  drochner branches: 1.2.18; 1.2.60; 1.2.78; 1.2.80; 1.2.84;
cope with changes to libsa/netif.h
(This shouldn't use libsa/netif at all.)
 1.1 23-Feb-2002  gmcgarry branches: 1.1.2; 1.1.10;
Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.1.10.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.10.1 23-Feb-2002  jdolecek file if_prom.c was added on branch kqueue on 2002-03-16 15:59:14 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file if_prom.c was added on branch nathanw_sa on 2002-02-28 04:11:24 +0000
 1.2.84.1 13-Nov-2007  bouyer Sync with HEAD
 1.2.80.1 06-Nov-2007  matt sync with HEAD
 1.2.78.1 28-Oct-2007  joerg Sync with HEAD.
 1.2.60.1 03-Dec-2007  ad Sync with HEAD.
 1.2.18.1 15-Nov-2007  yamt sync with head.
 1.3.20.2 04-May-2009  yamt sync with head.
 1.3.20.1 16-May-2008  yamt sync with head.
 1.3.18.1 18-May-2008  yamt sync with head.
 1.3.16.2 17-Jan-2009  mjf Sync with HEAD.
 1.3.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.8.2 28-Apr-2009  skrll Sync with HEAD.
 1.4.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.5.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.4.1 05-Mar-2011  rmind sync with head
 1.5 13-Jul-2000  jdolecek switch to sys/conf/newvers_stand.sh for generating vers.c
 1.4 27-Nov-1999  simonb branches: 1.4.2;
Small cleanup based on Alpha newvers.sh.
 1.3 27-Nov-1999  simonb Moved from lib/newvers.sh,v
 1.2 25-Mar-1999  simonb Use "make ... echo ${MACHINE}" to get the machine name so
that this script is MI. Just need to find the right place
for it now - suggestions welcome...
 1.1 25-Mar-1999  simonb Copy of sys/arch/sparc/common/newvers.sh.
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9 26-Mar-2011  tsutsui Use .set reorder to entrust compiler hazards and BDslots to avoid future botch
since there is no critical instructions in these sources.

Tested on 3MIN.
 1.8 10-Jan-2011  tsutsui branches: 1.8.2;
Add hazard nops required by MIPS1 in noreorder case.
(Umm, is it easier to remove noreorder and all BDslot insns?)
 1.7 10-Jan-2011  tsutsui - specify .set noreorder to fill BDslots properly
- indent instructions in BDslots
 1.6 14-Dec-2009  matt branches: 1.6.4;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.5 28-Apr-2008  martin branches: 1.5.18;
Remove clause 3 and 4 from TNF licenses
 1.4 27-Nov-1999  simonb branches: 1.4.2; 1.4.8; 1.4.136; 1.4.138; 1.4.140;
Moved from scsiboot/printf.S,v
 1.3 26-Mar-1999  simonb Update copyrights.
 1.2 13-Mar-1999  drochner Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago.
 1.1 22-Feb-1999  simonb Assembly stubs to PROM callback routines.
 1.4.140.2 11-Mar-2010  yamt sync with head
 1.4.140.1 16-May-2008  yamt sync with head.
 1.4.138.1 18-May-2008  yamt sync with head.
 1.4.136.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.8.1 27-Nov-1999  bouyer file printf.S was added on branch thorpej_scsipi on 2000-11-20 20:20:45 +0000
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.18.1 16-Sep-2009  matt Deal with some LP64 issues with only O32 console.
Make bootloader invoke kernel compatible with both O32 and N32
 1.6.4.2 21-Apr-2011  rmind sync with head
 1.6.4.1 05-Mar-2011  rmind sync with head
 1.8.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.5 28-Apr-2008  martin branches: 1.5.8; 1.5.14;
Remove clause 3 and 4 from TNF licenses
 1.4 27-Nov-1999  simonb branches: 1.4.2; 1.4.8; 1.4.136; 1.4.138; 1.4.140;
Header file include cleanup.
 1.3 27-Nov-1999  simonb Moved from lib/putchar.c,v
 1.2 11-Apr-1999  simonb Include <stand.h> so we get a putchar() prototype.
 1.1 25-Mar-1999  simonb branches: 1.1.4;
Basic putchar() implentation in terms of the PROM's printf() callback.
Not really effecient, but there isn't that much printf'ing down by SA
programs and we can use the libsa printf() so things like "%ld" work.
 1.1.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.4.140.2 04-May-2009  yamt sync with head.
 1.4.140.1 16-May-2008  yamt sync with head.
 1.4.138.1 18-May-2008  yamt sync with head.
 1.4.136.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.8.1 27-Nov-1999  bouyer file putchar.c was added on branch thorpej_scsipi on 2000-11-20 20:20:45 +0000
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.28 24-Jul-2021  andvar Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.
 1.27 22-Jun-2017  flxd branches: 1.27.22;
spelling (DEC called it "TURBOchannel")
 1.26 17-Jul-2011  joerg branches: 1.26.12; 1.26.30;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.25 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.24 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.23 12-Jan-2009  tsutsui branches: 1.23.2;
WARNSfy
 1.22 25-Jan-2006  christos branches: 1.22.72; 1.22.76; 1.22.84;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.21 11-Dec-2005  christos branches: 1.21.2;
merge ktrace-lwp.
 1.20 07-Aug-2003  agc branches: 1.20.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.19 09-Dec-2002  jdolecek branches: 1.19.6;
add #include <lib/libkern/libkern.h> to pull in prototypes
for couple items which don't have implicit prototypes with -ffreestanding
 1.18 24-Sep-2001  wiz branches: 1.18.4;
va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
 1.17 13-Sep-2000  simonb branches: 1.17.2; 1.17.4; 1.17.6;
Add support for booting off RAIDframe RAID1 mirrors.
If the first partition is of type FS_RAID, then add 64 to the block
number for each I/O in rzstrategy().
 1.16 30-Mar-2000  simonb branches: 1.16.4;
Nuke register.
 1.15 27-Nov-1999  simonb branches: 1.15.2;
Don't require a disklabel at the start of a disk - needed for
ISO 9660 f/s support.
 1.14 27-Nov-1999  simonb Moved from lib/rz.c,v
 1.13 11-Apr-1999  simonb Include <common.h> to get prototypes for PROM callbacks.
Use LIBSA_NO_DEV_CLOSE and BOOTRZ instead of SMALL.
In rzclose() call prom_close() on the descriptor if we're on a
pre-REX machine.
 1.12 25-Mar-1999  simonb branches: 1.12.4;
Remove unused debugging code, and clean up an error message.
 1.11 25-Mar-1999  simonb Include <machine/stdarg.h> and not <stdarg.h> - found by adding
-nostdinc to CPPFLAGS.
 1.10 22-Feb-1999  simonb Use memset() instead of bzero().
 1.9 29-Jan-1999  simonb branches: 1.9.2;
Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
 1.8 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.7 21-Jan-1999  simonb Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
 1.6 28-Jun-1995  jonathan Change bootblock load code to work with old DECstation proms (2100, 3100)
that lack the REX callback introduced with 5k/200.
 1.5 18-Jan-1995  mellon Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 27-May-1994  glass bsd 4.4-lite pmax port as ported to NetBSD
 1.2 27-May-1994  glass upgrade to bsd 4.4-lite code base. only mod is rcsids
 1.1 12-Oct-1993  deraadt branches: 1.1.1;
Initial revision
 1.1.1.1 12-Oct-1993  deraadt pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
 1.9.2.1 02-Feb-1999  cgd pull up revs 1.1-1.8 from trunk (new). (simonb)
 1.12.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.15.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.16.4.1 13-Sep-2000  simonb Pull up rev 1.17 from trunk, approved by thorpej:
Add support for booting off RAIDframe RAID1 mirrors.
If the first partition is of type FS_RAID, then add 64 to the block
number for each I/O in rzstrategy().
 1.17.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.17.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.17.2.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.17.2.1 13-Sep-2000  bouyer file rz.c was added on branch thorpej_scsipi on 2000-11-20 20:20:45 +0000
 1.18.4.2 11-Dec-2002  thorpej Sync with HEAD.
 1.18.4.1 24-Sep-2001  thorpej file rz.c was added on branch nathanw_sa on 2002-12-11 06:11:36 +0000
 1.19.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.19.6.1 03-Aug-2004  skrll Sync with HEAD
 1.20.16.1 21-Jun-2006  yamt sync with head.
 1.21.2.1 01-Feb-2006  yamt sync with head.
 1.22.84.2 28-Apr-2009  skrll Sync with HEAD.
 1.22.84.1 19-Jan-2009  skrll Sync with HEAD.
 1.22.76.1 04-May-2009  yamt sync with head.
 1.22.72.1 17-Jan-2009  mjf Sync with HEAD.
 1.23.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.26.30.1 28-Aug-2017  skrll Sync with HEAD
 1.26.12.1 03-Dec-2017  jdolecek update from HEAD
 1.27.22.1 01-Aug-2021  thorpej Sync with HEAD.
 1.4 17-Mar-2009  he Introduce LIBSA_NO_DEV_IOCTL, and don't declare ioctl() if it's defined.
Also, don't declare the close() function if LIBSA_NO_DEV_CLOSE is defined.
 1.3 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.2 27-Nov-1999  simonb branches: 1.2.2; 1.2.8; 1.2.140; 1.2.148; 1.2.154;
Moved from lib/rz.h,v
 1.1 21-Jan-1999  simonb branches: 1.1.2;
Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
 1.1.2.1 02-Feb-1999  cgd pull up rev 1.1 from trunk (new). (simonb)
 1.2.154.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.148.1 28-Apr-2009  skrll Sync with HEAD.
 1.2.140.1 04-May-2009  yamt sync with head.
 1.2.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.2.8.1 27-Nov-1999  bouyer file rz.h was added on branch thorpej_scsipi on 2000-11-20 20:20:45 +0000
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.23 26-Mar-2011  tsutsui Use .set reorder to entrust compiler hazards and BDslots to avoid future botch
since there is no critical instructions in these sources.

Tested on 3MIN.
 1.22 10-Jan-2011  tsutsui branches: 1.22.2;
- start.S
add a hazard nop so that prom_restart() works properly on MIPS1
(it seems broken since initial revision and had been restarted by fault?)

- common.h
export prom_restart()

- if_prom.c
use prom_restart() instead of a direct PROM call (that should be equivalent)
 1.21 10-Jan-2011  tsutsui Indent instructions in BDslots.
 1.20 28-Apr-2008  martin branches: 1.20.22;
Remove clause 3 and 4 from TNF licenses
 1.19 07-Feb-2006  simonb branches: 1.19.68; 1.19.70; 1.19.72;
Fix END symbol so that it matches START symbol for prom_write.
 1.18 11-Dec-2005  christos branches: 1.18.2; 1.18.4; 1.18.6;
merge ktrace-lwp.
 1.17 07-Aug-2003  agc branches: 1.17.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.16 27-Nov-1999  simonb branches: 1.16.2; 1.16.8; 1.16.34;
Remove code in sector 0 support - we don't need the space and it allows
for the coexistance for other port's bootblocks in sector 0.
 1.15 27-Nov-1999  simonb Moved from lib/start.S,v
 1.14 12-Apr-1999  simonb Fix an off-by-32 error - space was padded out to the 96th byte for the
DEC disk boot block header, but it's only 64 bytes long. Gives us
another 32 bytes in the first stage.

Don't use a roll-your-own START_FRAME size and offsets for the stack
and ra - use the <mips/asm.h> provided CALLFRAME_SIZ, CALLFRAME_RA and
CALLFRAME_SP
 1.13 11-Apr-1999  simonb Use BOOTRZ instead of BOOTXX.
Add a PROM callback for prom_close if not LIBSA_NO_DEV_CLOSE.
 1.12 29-Mar-1999  simonb branches: 1.12.4;
Remove bogus comment.
 1.11 26-Mar-1999  simonb Update copyrights.
 1.10 25-Mar-1999  simonb Only include the dec disklabel at the start of BOOTXX is defined.
 1.9 25-Mar-1999  simonb Call main instead of _main.
 1.8 13-Mar-1999  drochner Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago.
 1.7 22-Feb-1999  simonb Allow code in sector zero (from Michael Hitch).
Also in start.S:
+ Removed unused printf routine.
+ Removed unused dummy __main for gcc.
+ s/bzero/memset/.
 1.6 30-Jan-1999  simonb branches: 1.6.2;
Use DEC_REX_MAGIC instead of a undocumented magic number
 1.5 29-Jan-1999  simonb Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
 1.4 22-Jan-1999  simonb More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
 1.3 21-Jan-1999  simonb Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
 1.2 16-Jun-1997  jonathan Remove all references to <machine/machAsmDefs.h>.
Use #include <mips/asm.h> instead.
 1.1 18-Jan-1995  mellon Start code for boot loader (under new name with some changes)
 1.6.2.1 02-Feb-1999  cgd pull up revs 1.1-1.4 from trunk (new). (simonb)
 1.12.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.16.34.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.34.2 18-Sep-2004  skrll Sync with HEAD.
 1.16.34.1 03-Aug-2004  skrll Sync with HEAD
 1.16.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.16.8.1 27-Nov-1999  bouyer file start.S was added on branch thorpej_scsipi on 2000-11-20 20:20:46 +0000
 1.16.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.17.16.1 21-Jun-2006  yamt sync with head.
 1.18.6.1 22-Apr-2006  simonb Sync with head.
 1.18.4.1 09-Sep-2006  rpaulo sync with head
 1.18.2.1 18-Feb-2006  yamt sync with head.
 1.19.72.1 16-May-2008  yamt sync with head.
 1.19.70.1 18-May-2008  yamt sync with head.
 1.19.68.1 02-Jun-2008  mjf Sync with HEAD.
 1.20.22.2 21-Apr-2011  rmind sync with head
 1.20.22.1 05-Mar-2011  rmind sync with head
 1.22.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.8 10-Jan-2011  tsutsui Indent instructions in BDslots.
 1.7 07-Jan-2011  tsutsui Put .set noreorder so that BDslots are properly filled.
 1.6 25-Nov-2010  tsutsui Fix botch on mips64 merge:
- use correct offsets to pass args to loaded kernel in __mips_o32 case

Now NetBSD/pmax kernel properly boots, but init(8) still doesn't start
on GXemul emulating R3000 3MAX.
 1.5 14-Dec-2009  matt branches: 1.5.4;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.4 28-Apr-2008  martin branches: 1.4.18;
Remove clause 3 and 4 from TNF licenses
 1.3 27-Nov-1999  simonb branches: 1.3.2; 1.3.8; 1.3.136; 1.3.138; 1.3.140;
Moved from lib/startprog.S,v
 1.2 25-Mar-1999  simonb Oops, forgot RCS header and copyright.
 1.1 25-Mar-1999  simonb Assembly routine that takes an entry point, new stack pointer address
and six extra arguments. Sets up the stack pointer with the arguments
in the right registers/stack positions and calls the entry point.
 1.3.140.2 11-Mar-2010  yamt sync with head
 1.3.140.1 16-May-2008  yamt sync with head.
 1.3.138.1 18-May-2008  yamt sync with head.
 1.3.136.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.8.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.3.8.1 27-Nov-1999  bouyer file startprog.S was added on branch thorpej_scsipi on 2000-11-20 20:20:46 +0000
 1.3.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.18.1 16-Sep-2009  matt Deal with some LP64 issues with only O32 console.
Make bootloader invoke kernel compatible with both O32 and N32
 1.5.4.1 05-Mar-2011  rmind sync with head
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 14-Dec-2003  he Stop the install from trying to strip the ECOFF executable.
The MIPS strip program seg-faults if that is attempted.
 1.1 23-Feb-2002  gmcgarry branches: 1.1.2; 1.1.20;
Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file Makefile was added on branch nathanw_sa on 2002-02-28 04:11:24 +0000
 1.1 23-Feb-2002  gmcgarry branches: 1.1.2;
Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file version was added on branch nathanw_sa on 2002-02-28 04:11:24 +0000
 1.2 27-Nov-1999  simonb Updated for new Makefile.booters and stand/ layout.
 1.1 13-May-1999  simonb branches: 1.1.2; 1.1.4; 1.1.10;
Standalone program that contains a compressed kernel image suitable for
netbooting on machines that can't netboot a fullsize kernel.

This is only a stop-gap solution until the pmax gets a working two stage
netboot, and is not enabled by default.
 1.1.10.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.4.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.3 13-Mar-2000  soren Fix doubled 'the's in comments.
 1.2 13-May-1999  simonb branches: 1.2.2; 1.2.4;
Add some instructions.
 1.1 13-May-1999  simonb Standalone program that contains a compressed kernel image suitable for
netbooting on machines that can't netboot a fullsize kernel.

This is only a stop-gap solution until the pmax gets a working two stage
netboot, and is not enabled by default.
 1.2.4.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.2.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.8 22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.7 14-Mar-2009  dsl branches: 1.7.4; 1.7.6; 1.7.8;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.6 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.5 28-Apr-2008  martin branches: 1.5.8; 1.5.14;
Remove clause 3 and 4 from TNF licenses
 1.4 27-Nov-1999  simonb branches: 1.4.132; 1.4.134; 1.4.136;
Clean up headers.
 1.3 13-Nov-1999  thorpej Backout my libsa changes.
 1.2 12-Nov-1999  simonb Remove references to libkern after Jason's recent work to libsa.
 1.1 13-May-1999  simonb branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10;
Standalone program that contains a compressed kernel image suitable for
netbooting on machines that can't netboot a fullsize kernel.

This is only a stop-gap solution until the pmax gets a working two stage
netboot, and is not enabled by default.
 1.1.10.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.6.1 15-Nov-1999  fvdl Sync with -current
 1.1.4.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.4.136.2 04-May-2009  yamt sync with head.
 1.4.136.1 16-May-2008  yamt sync with head.
 1.4.134.1 18-May-2008  yamt sync with head.
 1.4.132.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.7.8.1 08-Feb-2011  bouyer Sync with HEAD
 1.7.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.4.1 05-Mar-2011  rmind sync with head
 1.2 13-Jul-2000  jdolecek switch to sys/conf/newvers_stand.sh for generating vers.c
sync comments in */version with i386
 1.1 13-May-1999  simonb branches: 1.1.2; 1.1.4;
Standalone program that contains a compressed kernel image suitable for
netbooting on machines that can't netboot a fullsize kernel.

This is only a stop-gap solution until the pmax gets a working two stage
netboot, and is not enabled by default.
 1.1.4.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.6 01-Jan-2019  christos ELF2ECOFF -> MIPS_ELF2ECOFF
 1.5 12-Apr-2002  lukem branches: 1.5.200; 1.5.202;
use ${ELF2ECOFF} from <bsd.{own,sys}.mk>
 1.4 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.3 14-Nov-2001  tv branches: 1.3.2;
${MAKE} print-objdir -> ${PRINTOBJDIR}
 1.2 30-Aug-2000  jhawk branches: 1.2.4;
Use
${MAKE}
instead of
make
 1.1 13-May-1999  simonb branches: 1.1.2; 1.1.4;
Standalone program that contains a compressed kernel image suitable for
netbooting on machines that can't netboot a fullsize kernel.

This is only a stop-gap solution until the pmax gets a working two stage
netboot, and is not enabled by default.
 1.1.4.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.2.4.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.3 17-Apr-2002  nathanw Catch up to -current.
 1.3.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.3.2.1 14-Nov-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:27:08 +0000
 1.5.202.1 10-Jun-2019  christos Sync with HEAD
 1.5.200.1 18-Jan-2019  pgoyette Synch with HEAD
 1.8 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.7 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.6 28-Apr-2008  martin branches: 1.6.8; 1.6.14;
Remove clause 3 and 4 from TNF licenses
 1.5 04-Mar-2007  christos branches: 1.5.40; 1.5.42; 1.5.44;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.4 20-Jul-2002  grant branches: 1.4.22; 1.4.60;
sweep of errx/warnx, remove unnecessary trailing \n
 1.3 19-Feb-2001  cgd branches: 1.3.4; 1.3.8; 1.3.18;
convert to use getprogname()
 1.2 25-Oct-1999  kleink Update to match new SVR4-style definition names in <sys/exec_elf.h>.
 1.1 13-May-1999  simonb branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Standalone program that contains a compressed kernel image suitable for
netbooting on machines that can't netboot a fullsize kernel.

This is only a stop-gap solution until the pmax gets a working two stage
netboot, and is not enabled by default.
 1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.6.1 15-Nov-1999  fvdl Sync with -current
 1.1.4.2 12-Mar-2001  bouyer Sync with HEAD.
 1.1.4.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.3.18.1 31-Aug-2002  gehenna catch up with -current.
 1.3.8.1 01-Aug-2002  nathanw Catch up to -current.
 1.3.4.1 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.60.1 12-Mar-2007  rmind Sync with HEAD.
 1.4.22.1 03-Sep-2007  yamt sync with head.
 1.5.44.2 04-May-2009  yamt sync with head.
 1.5.44.1 16-May-2008  yamt sync with head.
 1.5.42.1 18-May-2008  yamt sync with head.
 1.5.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.8.1 28-Apr-2009  skrll Sync with HEAD.

RSS XML Feed