Home | History | Annotate | only in /src/sys/arch/prep/stand/boot
History log of /src/sys/arch/prep/stand/boot
RevisionDateAuthorComments
 1.33 03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.32 07-Sep-2020  mrg apply some GCC_NO_ADDR_OF_PACKED_MEMBER.
 1.31 03-Sep-2019  martin PR 54394: do not compile in experimental SCSI support by default,
#ifdef it out as it breaks some machines. Based on a patch by
Ulrich Teichert, with #ifdef instead of comments suggested by nonaka@.
 1.30 08-Apr-2017  christos branches: 1.30.14;
centralize vers.c building for standalone programs.
 1.29 08-Aug-2014  joerg branches: 1.29.4; 1.29.8; 1.29.12;
Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
 1.28 12-Jan-2014  tsutsui branches: 1.28.2;
Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.27 21-Aug-2013  matt Use <bsd.klinks.mk>
Use ${_MKTARGET_LINK}
 1.26 19-May-2012  kiyohara branches: 1.26.2; 1.26.4;
Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.25 22-Jan-2011  joerg branches: 1.25.4; 1.25.8;
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.24 21-Jan-2011  joerg Switch remaining platforms to modern CPP for assembler.
 1.23 12-Jan-2009  tsutsui branches: 1.23.6; 1.23.8; 1.23.10;
Warning options should be in CFLAGS, not CPPFLAGS.
 1.22 19-Dec-2007  garbled branches: 1.22.6; 1.22.10; 1.22.18;
Change the prep bootloader to reach over into the
powerpc/stand/mkbootimage directory for the magic.h file.
 1.21 19-Sep-2006  matt branches: 1.21.28; 1.21.38; 1.21.42;
Generate an intermediate boot.elf with symbols.
 1.20 27-Jun-2006  garbled branches: 1.20.4; 1.20.6;
General fixups:
1) Fix support for the powerstack E1. This machine needs to use the 8259
directly, and cannot use the prep interrupt vector register. Place a
quirk entry in the table for the machine.
2) Add a new com0_vreset boot image. The vreset code only works on a few
machines, and breaks others like the 7025-F40. Its only limitedly useful
when used with the com0, so just make it an optional image the user can
install by hand if they want.
3) Bump the bootloader to 1.8 with the above change.
 1.19 13-Apr-2006  garbled branches: 1.19.4;
More major bootblock changes:
1) Rewrite vreset.c completely. Saves about 1k, and now it sets the
screen up much better. Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode. Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA. If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons. Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660. We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely. This saves about 6KB on the bootloader.

4) Bump version to 1.7.
 1.18 10-Apr-2006  garbled Clean up the bootloader a little bit. Get rid of some unused code,
set the makefile to build the bootloader without the DB_MONITOR stuff by
default, as it is primarily for debugging. Reduces bootloader size by
about 8k.
 1.17 28-Dec-2005  skrll branches: 1.17.4; 1.17.6; 1.17.8; 1.17.10; 1.17.12;
More ro src breakage.
 1.16 11-Dec-2005  christos merge ktrace-lwp.
 1.15 11-May-2005  jmc branches: 1.15.2;
Rework depends so this works w. -j after .BEGIN fixes
 1.14 10-Mar-2004  nonaka boot-loader can find attached kernel again.
 1.13 05-Jan-2004  nonaka reduce program size.
 1.12 05-Jan-2004  nonaka Use 32bit daddr_t.
 1.11 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.10 08-Oct-2003  simonb Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
 1.9 30-Sep-2003  matt Add -ffreestanding
 1.8 12-Dec-2001  lukem branches: 1.8.16;
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
 1.7 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.6 14-Nov-2001  tv ${MAKE} print-objdir -> ${PRINTOBJDIR}
 1.5 19-Jun-2001  nonaka branches: 1.5.2; 1.5.8;
Back out last changes.
 1.4 17-Jun-2001  nonaka identified prep model.
 1.3 14-Aug-2000  nonaka branches: 1.3.2; 1.3.4;
Fix link problem.
 1.2 21-Jul-2000  jdolecek switch to sys/conf/newvers_stand.sh for generation of version file
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
sync the message in boot/version with other ports using newvers_stand.sh
 1.1 29-Feb-2000  nonaka Initial import prep port.
 1.3.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.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.3.2.1 14-Aug-2000  bouyer file Makefile was added on branch thorpej_scsipi on 2000-11-20 20:23:07 +0000
 1.5.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.5.8.1 19-Jun-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:27:19 +0000
 1.5.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.16.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.16.1 03-Aug-2004  skrll Sync with HEAD
 1.15.2.3 21-Jan-2008  yamt sync with head
 1.15.2.2 30-Dec-2006  yamt sync with head.
 1.15.2.1 21-Jun-2006  yamt sync with head.
 1.17.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.17.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.17.8.3 11-Aug-2006  yamt sync with head
 1.17.8.2 24-May-2006  yamt sync with head.
 1.17.8.1 11-Apr-2006  yamt sync with head
 1.17.6.1 22-Apr-2006  simonb Sync with head.
 1.17.4.1 09-Sep-2006  rpaulo sync with head
 1.19.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.20.6.1 22-Oct-2006  yamt sync with head
 1.20.4.1 18-Nov-2006  ad Sync with head.
 1.21.42.1 02-Jan-2008  bouyer Sync with HEAD
 1.21.38.1 26-Dec-2007  ad Sync with head.
 1.21.28.1 09-Jan-2008  matt sync with HEAD
 1.22.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.22.10.1 04-May-2009  yamt sync with head.
 1.22.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.23.10.1 08-Feb-2011  bouyer Sync with HEAD
 1.23.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.23.6.1 05-Mar-2011  rmind sync with head
 1.25.8.1 02-Jun-2012  mrg sync to latest -current.
 1.25.4.2 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.25.4.1 23-May-2012  yamt sync with head.
 1.26.4.2 18-May-2014  rmind sync with head
 1.26.4.1 28-Aug-2013  rmind sync with head
 1.26.2.2 03-Dec-2017  jdolecek update from HEAD
 1.26.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.2.1 10-Aug-2014  tls Rebase.
 1.29.12.1 21-Apr-2017  bouyer Sync with HEAD
 1.29.8.1 26-Apr-2017  pgoyette Sync with HEAD
 1.29.4.1 28-Aug-2017  skrll Sync with HEAD
 1.30.14.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.21 03-Sep-2019  martin PR 54394: do not compile in experimental SCSI support by default,
#ifdef it out as it breaks some machines. Based on a patch by
Ulrich Teichert, with #ifdef instead of comments suggested by nonaka@.
 1.20 08-Aug-2014  joerg branches: 1.20.28;
Mark _rtt as dead
 1.19 19-May-2012  kiyohara branches: 1.19.2; 1.19.12;
Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.18 22-Jan-2011  joerg branches: 1.18.4; 1.18.8;
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.17 02-Mar-2010  matt branches: 1.17.2; 1.17.4; 1.17.6;
Add missing <powerpc/FOO/spr.h> to a few files missed on the first pass.
Don't export <machine/spr.h> to userland, only <powerpc/spr.h>
 1.16 14-Mar-2009  dsl branches: 1.16.2;
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.15 10-Jun-2006  tsutsui branches: 1.15.64; 1.15.72; 1.15.78; 1.15.86;
Put newline if there is no input on Boot: prompt.
 1.14 13-Apr-2006  garbled branches: 1.14.2;
More major bootblock changes:
1) Rewrite vreset.c completely. Saves about 1k, and now it sets the
screen up much better. Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode. Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA. If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons. Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660. We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely. This saves about 6KB on the bootloader.

4) Bump version to 1.7.
 1.13 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.12 10-Apr-2006  garbled Clean up the bootloader a little bit. Get rid of some unused code,
set the makefile to build the bootloader without the DB_MONITOR stuff by
default, as it is primarily for debugging. Reduces bootloader size by
about 8k.
 1.11 24-Dec-2005  perry branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10; 1.11.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.10 11-Dec-2005  christos merge ktrace-lwp.
 1.9 23-Jun-2004  kleink branches: 1.9.12;
On the 601, simply supply the fixed RTC clocking information.
 1.8 10-Mar-2004  nonaka boot-loader can find attached kernel again.
 1.7 05-Jan-2004  nonaka Use memset() for "Clear all of BSS".

If (edata-address & 3) != (end-address & 3), my own code cause infinity loop.
Fixed it.
 1.6 06-Oct-2003  he Include libkern.h to get definitions for strcpy, strlen, and memset.
 1.5 19-Jun-2001  nonaka branches: 1.5.8; 1.5.24;
Back out last changes.
 1.4 17-Jun-2001  nonaka identified prep model.
 1.3 24-Sep-2000  jdolecek branches: 1.3.2; 1.3.4;
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
 1.2 29-Jul-2000  jdolecek g/c RB_DFLTROOT

I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
 1.1 29-Feb-2000  nonaka branches: 1.1.4;
Initial import prep port.
 1.1.4.1 13-Aug-2000  jdolecek pullup from trunk (approved by thorpej):
retire RB_DFLTROOT, it's no longer used

revisions pulled up:
arch/i386/stand/lib/netbsd_opts.c 1.3
arch/i386/stand/biosboot/main.c 1.23
arch/i386/stand/dosboot/main.c 1.15
arch/i386/stand/netboot/main.c 1.6
arch/arc/arc/machdep.c 1.42
arch/bebox/stand/boot/boot.c 1.11
arch/hpcmips/hpcmips/machdep.c 1.32
arch/newsmips/newsmips/machdep.c 1.45
arch/pc532/stand/boot/boot.c 1.2
arch/pmax/pmax/machdep.c 1.178
arch/prep/stand/boot/boot.c 1.2
arch/sparc/sparc/autoconf.c 1.141
arch/sparc64/sparc64/autoconf.c 1.38
arch/x68k/stand/loadbsd/loadbsd.c 1.5
arch/mvme68k/stand/libsa/parse_args.c 1.6
compat/osf1/osf1_cvt.c 1.9
sys/reboot.h 1.17
 1.3.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.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.3.2.1 24-Sep-2000  bouyer file boot.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.5.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.24.1 03-Aug-2004  skrll Sync with HEAD
 1.5.8.2 19-Jun-2001  nonaka Back out last changes.
 1.5.8.1 19-Jun-2001  nonaka file boot.c was added on branch nathanw_sa on 2001-06-19 11:56:29 +0000
 1.9.12.1 21-Jun-2006  yamt sync with head.
 1.11.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.11.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.11.8.3 26-Jun-2006  yamt sync with head.
 1.11.8.2 24-May-2006  yamt sync with head.
 1.11.8.1 11-Apr-2006  yamt sync with head
 1.11.6.1 22-Apr-2006  simonb Sync with head.
 1.11.4.1 09-Sep-2006  rpaulo sync with head
 1.14.2.1 19-Jun-2006  chap Sync with head.
 1.15.86.1 07-Jan-2011  matt Deal with split <spr.h> (and a few other misc fixes).
 1.15.78.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.15.72.1 28-Apr-2009  skrll Sync with HEAD.
 1.15.64.2 11-Mar-2010  yamt sync with head
 1.15.64.1 04-May-2009  yamt sync with head.
 1.16.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.17.6.1 08-Feb-2011  bouyer Sync with HEAD
 1.17.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.17.2.1 05-Mar-2011  rmind sync with head
 1.18.8.1 02-Jun-2012  mrg sync to latest -current.
 1.18.4.1 23-May-2012  yamt sync with head.
 1.19.12.1 10-Aug-2014  tls Rebase.
 1.19.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.10 19-May-2012  kiyohara Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.9 07-Jul-2011  mrg branches: 1.9.2; 1.9.6;
remove inline from some non-inline function prototypes.
 1.8 20-Jun-2006  garbled Basic prep timecounter support. This greatly increases the stability of
ntp on my 7248, however, my 7043-140 is still a bit flaky. I suspect the
only way to fix the 7043 is going to be writing a timecounter driver for
the 8254 present on these machines. Either way, this makes some of the
machines better, and the other machines are still about the same as they
were before, so it's a net gain for the port.
 1.7 13-Apr-2006  garbled branches: 1.7.4;
More major bootblock changes:
1) Rewrite vreset.c completely. Saves about 1k, and now it sets the
screen up much better. Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode. Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA. If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons. Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660. We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely. This saves about 6KB on the bootloader.

4) Bump version to 1.7.
 1.6 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.5 11-Dec-2005  christos branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.12;
merge ktrace-lwp.
 1.4 10-Mar-2004  nonaka branches: 1.4.16;
boot-loader can find attached kernel again.
 1.3 19-Jun-2001  nonaka branches: 1.3.8; 1.3.24;
Back out last changes.
 1.2 17-Jun-2001  nonaka identified prep model.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.8;
Initial import prep port.
 1.1.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.6.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.6.1 29-Feb-2000  bouyer file boot.h was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.3.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.24.1 03-Aug-2004  skrll Sync with HEAD
 1.3.8.2 19-Jun-2001  nonaka Back out last changes.
 1.3.8.1 19-Jun-2001  nonaka file boot.h was added on branch nathanw_sa on 2001-06-19 11:56:29 +0000
 1.4.16.1 21-Jun-2006  yamt sync with head.
 1.5.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.5.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.5.8.3 26-Jun-2006  yamt sync with head.
 1.5.8.2 24-May-2006  yamt sync with head.
 1.5.8.1 11-Apr-2006  yamt sync with head
 1.5.6.1 22-Apr-2006  simonb Sync with head.
 1.5.4.1 09-Sep-2006  rpaulo sync with head
 1.7.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.9.6.1 02-Jun-2012  mrg sync to latest -current.
 1.9.2.1 23-May-2012  yamt sync with head.
 1.10 02-Mar-2010  matt Add missing <powerpc/FOO/spr.h> to a few files missed on the first pass.
Don't export <machine/spr.h> to userland, only <powerpc/spr.h>
 1.9 10-Apr-2006  garbled branches: 1.9.66; 1.9.86; 1.9.90;
de-__P, minor formatting nits, bump version.
 1.8 24-Dec-2005  perry branches: 1.8.4; 1.8.6; 1.8.8; 1.8.10; 1.8.12;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.7 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.6 11-Dec-2005  christos merge ktrace-lwp.
 1.5 29-Jun-2004  kleink branches: 1.5.12;
In the delay loop, mark the scratch register as earlyclobber.
 1.4 26-Mar-2002  kleink branches: 1.4.10;
Adapt this to the 601's RTC.
 1.3 04-Feb-2002  nonaka s/asm/__asm__ volatile/
 1.2 17-Nov-2001  kleink Can't pass temporary storage to an inline assembly statement as input
operand; debunked by GCC 2.95.3 as uninitialized.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.10; 1.1.14;
Initial import prep port.
 1.1.14.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.14.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.14.1 08-Jan-2002  nathanw Catch up to -current.
 1.1.10.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.10.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.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.6.1 29-Feb-2000  bouyer file clock.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.4.10.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.10.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.10.1 03-Aug-2004  skrll Sync with HEAD
 1.5.12.1 21-Jun-2006  yamt sync with head.
 1.8.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.8.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.8.8.1 11-Apr-2006  yamt sync with head
 1.8.6.1 22-Apr-2006  simonb Sync with head.
 1.8.4.1 09-Sep-2006  rpaulo sync with head
 1.9.90.1 07-Jan-2011  matt Deal with split <spr.h> (and a few other misc fixes).
 1.9.86.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.9.66.1 11-Mar-2010  yamt sync with head
 1.5 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.4 11-Dec-2005  christos branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; 1.4.12;
merge ktrace-lwp.
 1.3 06-Oct-2003  he branches: 1.3.16;
Remove argument list from #undef of divrnd macro; fall-out from gcc3?
 1.2 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.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.30;
Initial import prep port.
 1.1.30.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.30.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.30.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.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.6.1 29-Feb-2000  bouyer file com.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.4.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.4.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.4.8.1 11-Apr-2006  yamt sync with head
 1.4.6.1 22-Apr-2006  simonb Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.6 19-May-2012  kiyohara Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.5 10-Apr-2006  garbled branches: 1.5.100; 1.5.104;
de-__P, minor formatting nits, bump version.
 1.4 10-Apr-2006  garbled Clean up the bootloader a little bit. Get rid of some unused code,
set the makefile to build the bootloader without the DB_MONITOR stuff by
default, as it is primarily for debugging. Reduces bootloader size by
about 8k.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
merge ktrace-lwp.
 1.2 07-Aug-2003  agc branches: 1.2.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.30;
Initial import prep port.
 1.1.30.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.30.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.30.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.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.6.1 29-Feb-2000  bouyer file conf.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.2.16.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.8.1 11-Apr-2006  yamt sync with head
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.5.104.1 02-Jun-2012  mrg sync to latest -current.
 1.5.100.1 23-May-2012  yamt sync with head.
 1.8 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.7 01-Mar-2008  tsutsui branches: 1.7.26; 1.7.32; 1.7.34;
cnscan() should return -1 (no input) if there is no console device.
 1.6 13-Apr-2006  garbled branches: 1.6.38; 1.6.58; 1.6.62;
More major bootblock changes:
1) Rewrite vreset.c completely. Saves about 1k, and now it sets the
screen up much better. Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode. Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA. If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons. Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660. We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely. This saves about 6KB on the bootloader.

4) Bump version to 1.7.
 1.5 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.4 10-Apr-2006  garbled Clean up the bootloader a little bit. Get rid of some unused code,
set the makefile to build the bootloader without the DB_MONITOR stuff by
default, as it is primarily for debugging. Reduces bootloader size by
about 8k.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
merge ktrace-lwp.
 1.2 07-Aug-2003  agc branches: 1.2.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.30;
Initial import prep port.
 1.1.30.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.30.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.30.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.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.6.1 29-Feb-2000  bouyer file cons.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.2.16.2 17-Mar-2008  yamt sync with head.
 1.2.16.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.8.2 24-May-2006  yamt sync with head.
 1.3.8.1 11-Apr-2006  yamt sync with head
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.6.62.1 03-Apr-2008  mjf Sync with HEAD.
 1.6.58.1 24-Mar-2008  keiichi sync with head.
 1.6.38.1 23-Mar-2008  matt sync with HEAD
 1.7.34.1 17-Feb-2011  bouyer Sync with HEAD
 1.7.32.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.26.1 05-Mar-2011  rmind sync with head
 1.5 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.4 10-Apr-2006  garbled branches: 1.4.88; 1.4.94; 1.4.96;
de-__P, minor formatting nits, bump version.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
merge ktrace-lwp.
 1.2 07-Aug-2003  agc branches: 1.2.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.30;
Initial import prep port.
 1.1.30.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.30.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.30.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.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.6.1 29-Feb-2000  bouyer file cons.h was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.2.16.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.8.1 11-Apr-2006  yamt sync with head
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.4.96.1 17-Feb-2011  bouyer Sync with HEAD
 1.4.94.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.88.1 05-Mar-2011  rmind sync with head
 1.6 30-Apr-2022  rin Fix fallout from libsa change; stand.h includes <sys/param.h> now.

Use '\0' instead of NULL for NUL-character.
 1.5 10-Aug-2014  isaki Unify all arch/*/stand's atoi() to MI libsa.
lib/libsa/atoi.c was separated from lib/libsa/bootcfg.c.
PR/49084
 1.4 19-May-2012  kiyohara branches: 1.4.2;
Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.3 10-Apr-2006  garbled branches: 1.3.100; 1.3.104;
de-__P, minor formatting nits, bump version.
 1.2 28-May-2001  kleink branches: 1.2.8; 1.2.40; 1.2.54; 1.2.56; 1.2.58; 1.2.60; 1.2.62;
Need <lib/libkern/libkern.h>.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.8;
Initial import prep port.
 1.1.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.6.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.6.1 29-Feb-2000  bouyer file devopen.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.2.62.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.60.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.58.1 11-Apr-2006  yamt sync with head
 1.2.56.1 22-Apr-2006  simonb Sync with head.
 1.2.54.1 09-Sep-2006  rpaulo sync with head
 1.2.40.1 21-Jun-2006  yamt sync with head.
 1.2.8.2 28-May-2001  kleink Need <lib/libkern/libkern.h>.
 1.2.8.1 28-May-2001  kleink file devopen.c was added on branch nathanw_sa on 2001-05-28 15:53:52 +0000
 1.3.104.1 02-Jun-2012  mrg sync to latest -current.
 1.3.100.1 23-May-2012  yamt sync with head.
 1.4.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5 10-Apr-2006  garbled Remove unused fd.c and video.c files.
 1.4 11-Dec-2005  christos branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; 1.4.12;
merge ktrace-lwp.
 1.3 04-Dec-2003  keihan branches: 1.3.16;
netbsd.org -> NetBSD.org

All "netbsd.org" is now gone from src/sys/arch.
 1.2 17-Nov-2001  kleink branches: 1.2.16;
In fdopen():
* Defer deref'ing of `un' until it's been initialized.
* Kludge around a false-positive uninitialized warning.
Brought to you by the graces of GCC 2.95.3.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.10; 1.1.14;
Initial import prep port.
 1.1.14.1 08-Jan-2002  nathanw Catch up to -current.
 1.1.10.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.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.6.1 29-Feb-2000  bouyer file fd.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.2.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.16.1 03-Aug-2004  skrll Sync with HEAD
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.4.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.4.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.4.8.1 11-Apr-2006  yamt sync with head
 1.4.6.1 22-Apr-2006  simonb Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.4 19-May-2012  kiyohara Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.3 28-Apr-2008  martin branches: 1.3.34; 1.3.38;
Remove clause 3 and 4 from TNF licenses
 1.2 13-Apr-2006  garbled branches: 1.2.62; 1.2.64; 1.2.66;
More major bootblock changes:
1) Rewrite vreset.c completely. Saves about 1k, and now it sets the
screen up much better. Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode. Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA. If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons. Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660. We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely. This saves about 6KB on the bootloader.

4) Bump version to 1.7.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.46; 1.1.60; 1.1.62; 1.1.64; 1.1.66; 1.1.68;
Initial import prep port.
 1.1.68.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.66.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.64.1 24-May-2006  yamt sync with head.
 1.1.62.1 22-Apr-2006  simonb Sync with head.
 1.1.60.1 09-Sep-2006  rpaulo sync with head
 1.1.46.1 21-Jun-2006  yamt sync with head.
 1.1.6.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.6.1 29-Feb-2000  bouyer file filesystem.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.2.66.1 16-May-2008  yamt sync with head.
 1.2.64.1 18-May-2008  yamt sync with head.
 1.2.62.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.38.1 02-Jun-2012  mrg sync to latest -current.
 1.3.34.1 23-May-2012  yamt sync with head.
 1.2 19-Jun-2001  nonaka Back out last changes.
 1.1 17-Jun-2001  nonaka identified prep model.
 1.9 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8 19-Dec-2007  garbled branches: 1.8.6; 1.8.8; 1.8.10;
s/prep_magic.h/magic.h/
 1.7 19-Dec-2007  garbled Change the prep bootloader to reach over into the
powerpc/stand/mkbootimage directory for the magic.h file.
 1.6 10-Apr-2006  garbled branches: 1.6.38; 1.6.48; 1.6.52;
de-__P, minor formatting nits, bump version.
 1.5 11-Dec-2005  christos branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.12;
merge ktrace-lwp.
 1.4 10-Mar-2004  nonaka branches: 1.4.16;
boot-loader can find attached kernel again.
 1.3 30-Jan-2003  matt branches: 1.3.2;
Cast daddr_t to long so to avoid
"cast to pointer from integer of different size" warning.
 1.2 27-Jan-2003  kleink Appease GCC's warning after daddr_t having changed to 64 bits.
 1.1 29-Feb-2000  nonaka branches: 1.1.6;
Initial import prep port.
 1.1.6.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.6.1 29-Feb-2000  bouyer file inkernel.c was added on branch thorpej_scsipi on 2000-11-20 20:23:08 +0000
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.2 21-Jan-2008  yamt sync with head
 1.4.16.1 21-Jun-2006  yamt sync with head.
 1.5.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.5.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.5.8.1 11-Apr-2006  yamt sync with head
 1.5.6.1 22-Apr-2006  simonb Sync with head.
 1.5.4.1 09-Sep-2006  rpaulo sync with head
 1.6.52.1 02-Jan-2008  bouyer Sync with HEAD
 1.6.48.1 26-Dec-2007  ad Sync with head.
 1.6.38.1 09-Jan-2008  matt sync with HEAD
 1.8.10.1 16-May-2008  yamt sync with head.
 1.8.8.1 18-May-2008  yamt sync with head.
 1.8.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.6 16-Feb-2022  riastradh powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.

Otherwise the compiler may reorder these around loads and stores,
which mostly defeats the purpose. `asm volatile' just ensures the
instruction isn't _deleted_; it may still move around.
 1.5 19-May-2012  kiyohara Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.4 27-Jun-2006  garbled branches: 1.4.96; 1.4.100;
General fixups:
1) Fix support for the powerstack E1. This machine needs to use the 8259
directly, and cannot use the prep interrupt vector register. Place a
quirk entry in the table for the machine.
2) Add a new com0_vreset boot image. The vreset code only works on a few
machines, and breaks others like the 7025-F40. Its only limitedly useful
when used with the com0, so just make it an optional image the user can
install by hand if they want.
3) Bump the bootloader to 1.8 with the above change.
 1.3 13-Apr-2006  garbled branches: 1.3.4;
More major bootblock changes:
1) Rewrite vreset.c completely. Saves about 1k, and now it sets the
screen up much better. Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode. Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA. If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons. Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660. We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely. This saves about 6KB on the bootloader.

4) Bump version to 1.7.
 1.2 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.46; 1.1.60; 1.1.62; 1.1.64; 1.1.66; 1.1.68;
Initial import prep port.
 1.1.68.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.66.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.64.3 11-Aug-2006  yamt sync with head
 1.1.64.2 24-May-2006  yamt sync with head.
 1.1.64.1 11-Apr-2006  yamt sync with head
 1.1.62.1 22-Apr-2006  simonb Sync with head.
 1.1.60.1 09-Sep-2006  rpaulo sync with head
 1.1.46.2 30-Dec-2006  yamt sync with head.
 1.1.46.1 21-Jun-2006  yamt sync with head.
 1.1.6.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.6.1 29-Feb-2000  bouyer file io.c was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.3.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.4.100.1 02-Jun-2012  mrg sync to latest -current.
 1.4.96.1 23-May-2012  yamt sync with head.
 1.1 29-Feb-2000  nonaka branches: 1.1.6;
Initial import prep port.
 1.1.6.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.6.1 29-Feb-2000  bouyer file iso_font.h was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.3 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.2 10-Apr-2006  garbled Clean up the bootloader a little bit. Get rid of some unused code,
set the makefile to build the bootloader without the DB_MONITOR stuff by
default, as it is primarily for debugging. Reduces bootloader size by
about 8k.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.46; 1.1.60; 1.1.62; 1.1.64; 1.1.66; 1.1.68;
Initial import prep port.
 1.1.68.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.66.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.64.1 11-Apr-2006  yamt sync with head
 1.1.62.1 22-Apr-2006  simonb Sync with head.
 1.1.60.1 09-Sep-2006  rpaulo sync with head
 1.1.46.1 21-Jun-2006  yamt sync with head.
 1.1.6.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.6.1 29-Feb-2000  bouyer file kbd.c was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.1 29-Feb-2000  nonaka branches: 1.1.6;
Initial import prep port.
 1.1.6.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.6.1 29-Feb-2000  bouyer file ld.script was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.9 11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.8 03-Feb-2010  wiz branches: 1.8.22; 1.8.40;
Remove extra parenthesis. Found by cppcheck, reported by
Henning Petersen in PR 42729.
 1.7 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.6 10-Apr-2006  garbled branches: 1.6.62; 1.6.64; 1.6.66;
de-__P, minor formatting nits, bump version.
 1.5 10-Apr-2006  garbled Clean up the bootloader a little bit. Get rid of some unused code,
set the makefile to build the bootloader without the DB_MONITOR stuff by
default, as it is primarily for debugging. Reduces bootloader size by
about 8k.
 1.4 24-Dec-2005  perry branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; 1.4.12;
bare asm -> __asm
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 06-Oct-2003  he branches: 1.2.16;
Include libkern.h to get definitions for strcpy, strlen, and memset.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.30;
Initial import prep port.
 1.1.30.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.30.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.30.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.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.6.1 29-Feb-2000  bouyer file monitor.c was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.2.16.1 21-Jun-2006  yamt sync with head.
 1.4.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.4.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.4.8.1 11-Apr-2006  yamt sync with head
 1.4.6.1 22-Apr-2006  simonb Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.6.66.2 11-Mar-2010  yamt sync with head
 1.6.66.1 16-May-2008  yamt sync with head.
 1.6.64.1 18-May-2008  yamt sync with head.
 1.6.62.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.40.1 09-Jul-2016  skrll Sync with HEAD
 1.8.22.1 03-Dec-2017  jdolecek update from HEAD
 1.4 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.3 19-May-2007  tsutsui branches: 1.3.10;
Set DTR and RTS in NS16550_init().
Some terminal requires it even if hardware flow control is disabled.

XXX: should we sync bebox/stand with prep?
 1.2 10-Apr-2006  garbled branches: 1.2.18; 1.2.20; 1.2.26;
de-__P, minor formatting nits, bump version.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.46; 1.1.60; 1.1.62; 1.1.64; 1.1.66; 1.1.68;
Initial import prep port.
 1.1.68.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.66.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.64.1 11-Apr-2006  yamt sync with head
 1.1.62.1 22-Apr-2006  simonb Sync with head.
 1.1.60.1 09-Sep-2006  rpaulo sync with head
 1.1.46.2 03-Sep-2007  yamt sync with head.
 1.1.46.1 21-Jun-2006  yamt sync with head.
 1.1.6.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.6.1 29-Feb-2000  bouyer file ns16550.c was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.2.26.1 22-May-2007  matt Update to HEAD.
 1.2.20.1 11-Jul-2007  mjf Sync with head.
 1.2.18.1 27-May-2007  ad Sync with head.
 1.3.10.1 06-Nov-2007  matt sync with HEAD
 1.3 14-May-2006  elad integrate kauth.
 1.2 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.46; 1.1.60; 1.1.62; 1.1.64; 1.1.66; 1.1.68;
Initial import prep port.
 1.1.68.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.66.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.64.1 11-Apr-2006  yamt sync with head
 1.1.62.1 22-Apr-2006  simonb Sync with head.
 1.1.60.1 09-Sep-2006  rpaulo sync with head
 1.1.46.1 21-Jun-2006  yamt sync with head.
 1.1.6.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.6.1 29-Feb-2000  bouyer file ns16550.h was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 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.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.30;
Initial import prep port.
 1.1.30.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.30.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.30.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.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.6.1 29-Feb-2000  bouyer file pcconstab.US was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.3 16-Feb-2022  riastradh powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.

Otherwise the compiler may reorder these around loads and stores,
which mostly defeats the purpose. `asm volatile' just ensures the
instruction isn't _deleted_; it may still move around.
 1.2 03-Apr-2014  mrg GCC 4.8 build fixes from John D. Baker
 1.1 19-May-2012  kiyohara branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.1.8.1 18-May-2014  rmind sync with head
 1.1.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.2 02-Jun-2012  mrg sync to latest -current.
 1.1.4.1 19-May-2012  mrg file pci.c was added on branch jmcneill-usbmp on 2012-06-02 11:09:07 +0000
 1.1.2.3 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.1.2.2 23-May-2012  yamt sync with head.
 1.1.2.1 19-May-2012  yamt file pci.c was added on branch yamt-pagecache on 2012-05-23 10:07:48 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 10-Apr-2006  garbled branches: 1.2.62; 1.2.64; 1.2.66;
de-__P, minor formatting nits, bump version.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.46; 1.1.60; 1.1.62; 1.1.64; 1.1.66; 1.1.68;
Initial import prep port.
 1.1.68.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.66.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.64.1 11-Apr-2006  yamt sync with head
 1.1.62.1 22-Apr-2006  simonb Sync with head.
 1.1.60.1 09-Sep-2006  rpaulo sync with head
 1.1.46.1 21-Jun-2006  yamt sync with head.
 1.1.6.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.6.1 29-Feb-2000  bouyer file prf.c was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.2.66.1 16-May-2008  yamt sync with head.
 1.2.64.1 18-May-2008  yamt sync with head.
 1.2.62.1 02-Jun-2008  mjf Sync with HEAD.
 1.6 02-Jul-2024  rin prep: stand: for previous, memset and style fix just for sure
 1.5 02-Jul-2024  rin prep: stand: Appease GCC12 -Warray-bounds, NFCI

except for additional 38-byte of stack being consumed.

Here, GCC12 complains buffer is smaller than
sizeof(*inqbuf) == SCSIPI_INQUIRY_LENGTH_SCSI3 == 74 bytes,
despite members within the first SCSIPI_INQUIRY_LENGTH_SCSI2 == 36 bytes
are actually dereferenced.
 1.4 08-Jan-2019  jdolecek branches: 1.4.36;
no need to include <machine/param.h> if <sys/param.h> already included
 1.3 02-Jan-2015  christos branches: 1.3.16; 1.3.18;
We have three sets of DTYPE_ constants in the kernel:
altq Drop Type
disklabel Disk Type
file Descriptor Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
 1.2 10-Jun-2014  phx branches: 1.2.4;
Fix SCSI reads beyond block 0x1fffff, by writing the READ_10/READ_16 opcode
into the correct scsipi_rw_10/scsipi_rw_16 command structure.
 1.1 19-May-2012  kiyohara branches: 1.1.2; 1.1.4; 1.1.6; 1.1.16;
Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.1.16.1 10-Aug-2014  tls Rebase.
 1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.2 02-Jun-2012  mrg sync to latest -current.
 1.1.4.1 19-May-2012  mrg file sd.c was added on branch jmcneill-usbmp on 2012-06-02 11:09:07 +0000
 1.1.2.2 23-May-2012  yamt sync with head.
 1.1.2.1 19-May-2012  yamt file sd.c was added on branch yamt-pagecache on 2012-05-23 10:07:48 +0000
 1.2.4.1 06-Apr-2015  skrll Sync with HEAD
 1.3.18.1 10-Jun-2019  christos Sync with HEAD
 1.3.16.1 18-Jan-2019  pgoyette Synch with HEAD
 1.4.36.1 02-Aug-2025  perseant Sync with HEAD
 1.1 19-May-2012  kiyohara branches: 1.1.2; 1.1.4;
Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.1.4.2 02-Jun-2012  mrg sync to latest -current.
 1.1.4.1 19-May-2012  mrg file sdvar.h was added on branch jmcneill-usbmp on 2012-06-02 11:09:07 +0000
 1.1.2.2 23-May-2012  yamt sync with head.
 1.1.2.1 19-May-2012  yamt file sdvar.h was added on branch yamt-pagecache on 2012-05-23 10:07:48 +0000
 1.10 02-Jul-2024  rin prep: stand: for previous, memset and style fix just for sure
 1.9 02-Jul-2024  rin prep: stand: Appease GCC12 -Warray-bounds, NFCI

except for additional 38-byte of stack being consumed.

Here, GCC12 complains buffer is smaller than
sizeof(*inqbuf) == SCSIPI_INQUIRY_LENGTH_SCSI3 == 74 bytes,
despite members within the first SCSIPI_INQUIRY_LENGTH_SCSI2 == 36 bytes
are actually dereferenced.
 1.8 08-Feb-2024  andvar branches: 1.8.2;
s/should't/shouldn't/ and s/mistmatch/mismatch/ in comments.
 1.7 19-Jun-2023  msaitoh Fix typo. unknwon -> unknown
 1.6 03-Jun-2022  andvar fix folloing->following typos in more files.
also s/begginning/beginning/.
 1.5 21-Aug-2021  andvar fix mainly same typos as in my previous commit but outside sys/dev/dm.
 1.4 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.3 30-Apr-2016  skrll branches: 1.3.34;
Appease gcc - error: 'error' may be used uninitialized in this function
 1.2 03-Apr-2014  mrg branches: 1.2.6;
GCC 4.8 build fixes from John D. Baker
 1.1 19-May-2012  kiyohara branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.1.8.1 18-May-2014  rmind sync with head
 1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.2 02-Jun-2012  mrg sync to latest -current.
 1.1.4.1 19-May-2012  mrg file siop.c was added on branch jmcneill-usbmp on 2012-06-02 11:09:07 +0000
 1.1.2.3 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.1.2.2 23-May-2012  yamt sync with head.
 1.1.2.1 19-May-2012  yamt file siop.c was added on branch yamt-pagecache on 2012-05-23 10:07:48 +0000
 1.2.6.1 29-May-2016  skrll Sync with HEAD
 1.3.34.1 01-Aug-2021  thorpej Sync with HEAD.
 1.8.2.1 02-Aug-2025  perseant Sync with HEAD
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 05-Jan-2004  nonaka Use memset() for "Clear all of BSS".

If (edata-address & 3) != (end-address & 3), my own code cause infinity loop.
Fixed it.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.30;
Initial import prep port.
 1.1.30.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.30.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.30.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.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.6.1 29-Feb-2000  bouyer file srt0.s was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.5 29-Apr-2022  rin Fix fallout from libsa change; stand.h includes <sys/param.h> now.

SCANWAIT and PWAIT are renamed to SCANDELAY and SCANWAIT, respectively,
in order not to redefine PWAIT.

XXX
Too many copies for tgets.c...
 1.4 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
merge ktrace-lwp.
 1.2 07-Aug-2003  agc branches: 1.2.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.30;
Initial import prep port.
 1.1.30.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.30.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.30.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.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.6.1 29-Feb-2000  bouyer file tgets.c was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.2.16.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.8.1 11-Apr-2006  yamt sync with head
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.14 18-Aug-2025  andvar s/Serise/Series/ in the version changes description.
 1.13 19-May-2012  kiyohara Support load kernel from SCSI HDD with siop. It copy from bebox. (EXPERIMENTAL)
 1.12 29-Apr-2007  msaitoh branches: 1.12.70; 1.12.74;
fix typos
 1.11 27-Jun-2006  garbled branches: 1.11.10; 1.11.14; 1.11.16;
General fixups:
1) Fix support for the powerstack E1. This machine needs to use the 8259
directly, and cannot use the prep interrupt vector register. Place a
quirk entry in the table for the machine.
2) Add a new com0_vreset boot image. The vreset code only works on a few
machines, and breaks others like the 7025-F40. Its only limitedly useful
when used with the com0, so just make it an optional image the user can
install by hand if they want.
3) Bump the bootloader to 1.8 with the above change.
 1.10 13-Apr-2006  garbled branches: 1.10.4;
More major bootblock changes:
1) Rewrite vreset.c completely. Saves about 1k, and now it sets the
screen up much better. Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode. Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA. If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons. Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660. We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely. This saves about 6KB on the bootloader.

4) Bump version to 1.7.
 1.9 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.8 26-Mar-2002  kleink branches: 1.8.26; 1.8.40; 1.8.42; 1.8.44; 1.8.46; 1.8.48;
Bump version to note 601 support.
 1.7 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.6 02-Aug-2001  bjh21 branches: 1.6.4; 1.6.6;
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 19-Jun-2001  nonaka branches: 1.5.2;
Back out last changes.
 1.4 17-Jun-2001  nonaka identified prep model. (I missed it...)
 1.3 24-Sep-2000  jdolecek branches: 1.3.2; 1.3.4;
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
 1.2 21-Jul-2000  jdolecek switch to sys/conf/newvers_stand.sh for generation of version file
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
sync the message in boot/version with other ports using newvers_stand.sh
 1.1 29-Feb-2000  nonaka Initial import prep port.
 1.3.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.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.3.2.1 24-Sep-2000  bouyer file version was added on branch thorpej_scsipi on 2000-11-20 20:23:09 +0000
 1.5.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.2.1 03-Aug-2001  lukem update to -current
 1.6.6.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.6.6.1 02-Aug-2001  nathanw file version was added on branch nathanw_sa on 2002-04-01 07:42:14 +0000
 1.6.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.8.48.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.8.46.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.8.44.3 11-Aug-2006  yamt sync with head
 1.8.44.2 24-May-2006  yamt sync with head.
 1.8.44.1 11-Apr-2006  yamt sync with head
 1.8.42.1 22-Apr-2006  simonb Sync with head.
 1.8.40.1 09-Sep-2006  rpaulo sync with head
 1.8.26.3 03-Sep-2007  yamt sync with head.
 1.8.26.2 30-Dec-2006  yamt sync with head.
 1.8.26.1 21-Jun-2006  yamt sync with head.
 1.10.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.11.16.1 11-Jul-2007  mjf Sync with head.
 1.11.14.1 27-May-2007  ad Sync with head.
 1.11.10.1 07-May-2007  yamt sync with head.
 1.12.74.1 02-Jun-2012  mrg sync to latest -current.
 1.12.70.1 23-May-2012  yamt sync with head.
 1.6 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.5 10-Apr-2006  garbled branches: 1.5.66; 1.5.74; 1.5.80;
de-__P, minor formatting nits, bump version.
 1.4 11-Dec-2005  christos branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; 1.4.12;
merge ktrace-lwp.
 1.3 06-Oct-2003  he branches: 1.3.16;
Include libkern.h to get definitions for strcpy, strlen, and memset.
 1.2 22-Jul-2001  wiz branches: 1.2.6; 1.2.22;
bcopy -> memmove
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.10;
Initial import prep port.
 1.1.10.1 03-Aug-2001  lukem update to -current
 1.1.6.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.6.1 29-Feb-2000  bouyer file vga.c was added on branch thorpej_scsipi on 2000-11-20 20:23:10 +0000
 1.2.22.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.22.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.22.1 03-Aug-2004  skrll Sync with HEAD
 1.2.6.2 22-Jul-2001  wiz bcopy -> memmove
 1.2.6.1 22-Jul-2001  wiz file vga.c was added on branch nathanw_sa on 2001-07-22 14:57:52 +0000
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.4.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.4.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.4.8.1 11-Apr-2006  yamt sync with head
 1.4.6.1 22-Apr-2006  simonb Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.5.80.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.74.1 28-Apr-2009  skrll Sync with HEAD.
 1.5.66.1 04-May-2009  yamt sync with head.
 1.2 10-Apr-2006  garbled Remove unused fd.c and video.c files.
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.46; 1.1.60; 1.1.62; 1.1.64; 1.1.66; 1.1.68;
Initial import prep port.
 1.1.68.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.66.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.64.1 11-Apr-2006  yamt sync with head
 1.1.62.1 22-Apr-2006  simonb Sync with head.
 1.1.60.1 09-Sep-2006  rpaulo sync with head
 1.1.46.1 21-Jun-2006  yamt sync with head.
 1.1.6.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.6.1 29-Feb-2000  bouyer file video.c was added on branch thorpej_scsipi on 2000-11-20 20:23:10 +0000
 1.11 06-May-2023  andvar s/regster/register/ in comments and error messages.
 1.10 16-Feb-2022  riastradh powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.

Otherwise the compiler may reorder these around loads and stores,
which mostly defeats the purpose. `asm volatile' just ensures the
instruction isn't _deleted_; it may still move around.
 1.9 03-Apr-2014  mrg GCC 4.8 build fixes from John D. Baker
 1.8 13-Sep-2008  tsutsui branches: 1.8.28; 1.8.38; 1.8.44;
Put a missing newline.
 1.7 28-Apr-2008  martin branches: 1.7.2; 1.7.6;
Remove clause 3 and 4 from TNF licenses
 1.6 27-Jun-2006  garbled branches: 1.6.58; 1.6.60; 1.6.62;
General fixups:
1) Fix support for the powerstack E1. This machine needs to use the 8259
directly, and cannot use the prep interrupt vector register. Place a
quirk entry in the table for the machine.
2) Add a new com0_vreset boot image. The vreset code only works on a few
machines, and breaks others like the 7025-F40. Its only limitedly useful
when used with the com0, so just make it an optional image the user can
install by hand if they want.
3) Bump the bootloader to 1.8 with the above change.
 1.5 13-Apr-2006  garbled branches: 1.5.4;
More major bootblock changes:
1) Rewrite vreset.c completely. Saves about 1k, and now it sets the
screen up much better. Previously the resulting video mode looked bad on
my CRT, and my LCD wouldn't even recognize it as a valid mode. Now it
looks reasonably good and my LCD can talk to it.

2) Call vga_reset unconditionally in the setup process to fix the onboard
VGA. If you have a VGA and use the serial console, this will allow you
to still use the VGA device for getty/wscons. Tested on a 7248 with VGA
and a 7043 without VGA.

3) Change filesystem.c to use nullfs rather than ufs and cd9660. We
don't actually need an fs at all, but it would take a major rewrite to
get rid of them completely. This saves about 6KB on the bootloader.

4) Bump version to 1.7.
 1.4 10-Apr-2006  garbled de-__P, minor formatting nits, bump version.
 1.3 29-Jan-2006  dsl branches: 1.3.2; 1.3.4; 1.3.6; 1.3.8; 1.3.10;
Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h
 1.2 24-Dec-2005  perry branches: 1.2.2;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.1 29-Feb-2000  nonaka branches: 1.1.6; 1.1.46;
Initial import prep port.
 1.1.46.2 30-Dec-2006  yamt sync with head.
 1.1.46.1 21-Jun-2006  yamt sync with head.
 1.1.6.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.6.1 29-Feb-2000  bouyer file vreset.c was added on branch thorpej_scsipi on 2000-11-20 20:23:10 +0000
 1.2.2.1 01-Feb-2006  yamt sync with head.
 1.3.10.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.8.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.6.3 11-Aug-2006  yamt sync with head
 1.3.6.2 24-May-2006  yamt sync with head.
 1.3.6.1 11-Apr-2006  yamt sync with head
 1.3.4.1 22-Apr-2006  simonb Sync with head.
 1.3.2.1 09-Sep-2006  rpaulo sync with head
 1.5.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.6.62.2 04-May-2009  yamt sync with head.
 1.6.62.1 16-May-2008  yamt sync with head.
 1.6.60.1 18-May-2008  yamt sync with head.
 1.6.58.2 28-Sep-2008  mjf Sync with HEAD.
 1.6.58.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.6.1 19-Oct-2008  haad Sync with HEAD.
 1.7.2.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.8.44.1 18-May-2014  rmind sync with head
 1.8.38.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.28.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")

RSS XML Feed