Home | History | Annotate | only in /src/sys/arch/bebox/stand
History log of /src/sys/arch/bebox/stand
RevisionDateAuthorComments
 1.4 26-May-2008  kiyohara Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.3 25-May-2008  kiyohara Integrated to powerpc-mkbootimage. Obsoleted.
 1.2 28-Jun-1999  sakamoto branches: 1.2.138; 1.2.140; 1.2.142; 1.2.144;
Add elf2pef and mkbootimage.
 1.1 16-Jan-1998  sakamoto branches: 1.1.10;
initial import of bebox kernel loader.
 1.1.10.1 01-Jul-1999  thorpej Sync w/ -current.
 1.2.144.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.2.142.1 04-May-2009  yamt sync with head.
 1.2.140.1 04-Jun-2008  yamt sync with head
 1.2.138.1 02-Jun-2008  mjf Sync with HEAD.
 1.3 14-Apr-2021  mrg more -fcommon.
 1.2 11-Dec-2005  christos branches: 1.2.180;
merge ktrace-lwp.
 1.1 25-Nov-2004  jmc branches: 1.1.2; 1.1.14;
Convert bebox's remaining host tools over to cross tools scheme. Builds to sets
w/o error now.
 1.1.14.1 06-Apr-2005  he Pull up revision 1.1 (new, requested by jmc in ticket #1027):
Convert bebox's remaining host tools over to the cross tools
scheme. Now allows complete bebox builds on non-NetBSD and
non-BSD hosts.
 1.1.2.2 29-Nov-2004  skrll Sync with HEAD.
 1.1.2.1 25-Nov-2004  skrll file Makefile.inc was added on branch ktrace-lwp on 2004-11-29 07:24:03 +0000
 1.2.180.1 17-Apr-2021  thorpej Sync with HEAD.
 1.4 25-Feb-2011  kiyohara Update description to latest boot.
 1.3 25-May-2008  kiyohara branches: 1.3.20; 1.3.26; 1.3.28;
Integrated to powerpc-mkbootimage. Obsoleted.
 1.2 08-Apr-2002  sakamoto branches: 1.2.112; 1.2.114; 1.2.116; 1.2.118;
update example, use $(TOOLDIR)/bin/nbmake-bebox.
 1.1 28-Jun-1999  sakamoto branches: 1.1.2; 1.1.18; 1.1.22;
Description of making bootable floppy disk for NetBSD/bebox.
 1.1.22.1 17-Apr-2002  nathanw Catch up to -current.
 1.1.18.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.2 01-Jul-1999  thorpej Sync w/ -current.
 1.1.2.1 28-Jun-1999  thorpej file README was added on branch chs-ubc2 on 1999-07-01 23:06:29 +0000
 1.2.118.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.2.116.1 04-May-2009  yamt sync with head.
 1.2.114.1 04-Jun-2008  yamt sync with head
 1.2.112.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.28.1 05-Mar-2011  bouyer Sync with HEAD
 1.3.26.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.20.1 05-Mar-2011  rmind sync with head
 1.3 21-Jul-2000  jdolecek switch to sys/conf/newvers_stand.sh for generation of version files, no
functional changes
 1.2 08-Jul-2000  jdolecek get the version number differently - instead of using RCS version number
of version file, take version from last line of that file as the part from
start of the line to ':'
 1.1 16-Jan-1998  sakamoto branches: 1.1.14;
initial import of bebox kernel loader.
 1.1.14.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.37 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.36 07-Sep-2020  mrg apply some GCC_NO_ADDR_OF_PACKED_MEMBER.
 1.35 08-Apr-2017  christos centralize vers.c building for standalone programs.
 1.34 12-Jan-2014  tsutsui branches: 1.34.6; 1.34.10; 1.34.14;
Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.33 21-Aug-2013  matt Use <bsd.klinks.mk>
 1.32 01-Sep-2012  matt branches: 1.32.2; 1.32.4;
Add ${_MKTARGET_LINK}
 1.31 22-Jan-2011  joerg branches: 1.31.4;
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.30 21-Jan-2011  joerg Switch remaining platforms to modern CPP for assembler.
 1.29 14-Oct-2010  kiyohara branches: 1.29.2; 1.29.4;
Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!!
 1.28 14-Oct-2010  kiyohara Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint.
 1.27 14-Oct-2010  kiyohara Add pci.c to SRCS.
 1.26 14-Oct-2010  kiyohara Add -I${S}/lib/libsa and reorder.
 1.25 26-May-2008  kiyohara branches: 1.25.18; 1.25.20;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.24 26-Mar-2008  kiyohara branches: 1.24.2; 1.24.4; 1.24.6;
We might be able to use VGA. Please comment out for line '-DCONS_SERIAL'
if you wish for it. In that case, you will occasionally see the hoarsely
and strangely transformed character on screen. This reason cannot be
understood yet.
Default is continuously a serial console.
 1.23 17-Oct-2007  garbled branches: 1.23.16;
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.22 11-Dec-2005  christos branches: 1.22.30; 1.22.38; 1.22.48; 1.22.50; 1.22.52; 1.22.54;
merge ktrace-lwp.
 1.21 25-Nov-2004  jmc branches: 1.21.12;
Convert bebox's remaining host tools over to cross tools scheme. Builds to sets
w/o error now.
 1.20 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.19 26-Oct-2003  lukem branches: 1.19.2;
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.18 24-Oct-2003  matt Make this build in a R/O build tree. And add -I. for gcc3
 1.17 08-Oct-2003  simonb Use -ffreestanding.
 1.16 09-Apr-2002  sakamoto branches: 1.16.10;
add CFLAGS=-Wno-main for void main, suggested by Tsutsui-san.
 1.15 08-Apr-2002  sakamoto fix vers.o target.
add cleandir distclean cleanlibdir target, remove cleanobjs target.
 1.14 15-Mar-2002  heinz add .CURDIR/ld.script to enable builds with OBJMACHINE=yes
 1.13 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.12 17-Feb-2001  sakamoto branches: 1.12.4; 1.12.8;
fix multiple link vers.o
 1.11 21-Jul-2000  jdolecek switch to sys/conf/newvers_stand.sh for generation of version files, no
functional changes
 1.10 08-Jul-2000  jdolecek cleanup way vers.c file is created/compiled
 1.9 23-Jan-2000  mycroft Clean up the machine symlink stuff ever so slightly. Needs to be
standardized between files.
 1.8 28-Jun-1999  sakamoto branches: 1.8.2;
Use loadfile.
KNF
b* -> mem*
 1.7 24-Jun-1999  sakamoto Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
 1.6 13-Feb-1999  lukem branches: 1.6.4;
convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.5 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.4 05-Oct-1998  sakamoto cleanup.
 1.3 27-Mar-1998  sakamoto Change commented out default baudrate(38400 to 9600) of serial console.
 1.2 19-Jan-1998  sakamoto Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.6.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.8.2.2 12-Mar-2001  bouyer Sync with HEAD.
 1.8.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.12.8.3 17-Apr-2002  nathanw Catch up to -current.
 1.12.8.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.12.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.12.4.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.12.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.16.10.4 29-Nov-2004  skrll Sync with HEAD.
 1.16.10.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.10.2 18-Sep-2004  skrll Sync with HEAD.
 1.16.10.1 03-Aug-2004  skrll Sync with HEAD
 1.19.2.1 22-Jun-2004  tron branches: 1.19.2.1.2;
Pull up revision 1.20 (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.19.2.1.2.1 06-Apr-2005  he Pull up revision 1.21 (requested by jmc in ticket #1027):
Convert bebox's remaining host tools over to the cross tools
scheme. Now allows complete bebox builds on non-NetBSD and
non-BSD hosts.
 1.21.12.1 27-Oct-2007  yamt sync with head.
 1.22.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.22.52.1 18-Oct-2007  yamt sync with head.
 1.22.50.1 06-Nov-2007  matt sync with HEAD
 1.22.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.22.38.1 02-May-2007  heinz Switch boot loader to serial console as default. VGA working (again?) is
still far away.
 1.22.30.1 23-Oct-2007  ad Sync with head.
 1.23.16.2 02-Jun-2008  mjf Sync with HEAD.
 1.23.16.1 03-Apr-2008  mjf Sync with HEAD.
 1.24.6.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.24.4.1 04-May-2009  yamt sync with head.
 1.24.2.1 04-Jun-2008  yamt sync with head
 1.25.20.1 05-Mar-2011  rmind sync with head
 1.25.18.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.29.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.29.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.31.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.31.4.1 30-Oct-2012  yamt sync with head
 1.32.4.2 18-May-2014  rmind sync with head
 1.32.4.1 28-Aug-2013  rmind sync with head
 1.32.2.2 03-Dec-2017  jdolecek update from HEAD
 1.32.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.34.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.34.10.1 26-Apr-2017  pgoyette Sync with HEAD
 1.34.6.1 28-Aug-2017  skrll Sync with HEAD
 1.27 08-Aug-2014  joerg Mark _rtt as dead
 1.26 19-Dec-2012  kiyohara branches: 1.26.10;
Change path-format for scsi. s,scsi/B/T/L_n,scsi/BTL/0_n,.
 1.25 22-Jan-2011  joerg branches: 1.25.4; 1.25.14;
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 27-Oct-2010  kiyohara branches: 1.24.2; 1.24.4;
Set root-device to bootinfo.
 1.23 14-Oct-2010  kiyohara Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!!
 1.22 14-Oct-2010  kiyohara Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint.
 1.21 14-Oct-2010  kiyohara Change format of path for device. A current form strangely feels dissatisfied.
This new format looks like the format of BootROM of BeBox.
 1.20 14-Oct-2010  kiyohara Add _rtt(). But it is NULL function.
 1.19 14-Oct-2010  kiyohara Add pci.c. Splitted from vreset.c
And cleanup vreset.c.
 1.18 18-Mar-2009  cegger branches: 1.18.2; 1.18.4;
Ansify function definitions w/o arguments. Generated with sed.
 1.17 26-May-2008  kiyohara branches: 1.17.6; 1.17.12;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.16 11-Dec-2005  christos branches: 1.16.74; 1.16.76; 1.16.78; 1.16.80;
merge ktrace-lwp.
 1.15 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.14 09-Apr-2002  sakamoto branches: 1.14.10;
Revert previous change. return type of main is void.
 1.13 08-Apr-2002  sakamoto change return type to int of main.
 1.12 24-Sep-2000  jdolecek branches: 1.12.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.11 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.10 28-Jun-1999  sakamoto branches: 1.10.2; 1.10.12;
correct tgets loop.
 1.9 28-Jun-1999  sakamoto Use loadfile.
KNF
b* -> mem*
 1.8 24-Jun-1999  sakamoto Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
 1.7 17-Apr-1999  ws Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
 1.6 15-Feb-1999  sakamoto branches: 1.6.4;
RCS ID police
 1.5 28-Oct-1998  sakamoto Support frame buffer console with Matrox Millennium(probably, and II).
But, NetBSD/bebox kernel doesn't support yet.
 1.4 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.3 05-Oct-1998  sakamoto Add syncicache after text loading.
 1.2 19-Jan-1998  sakamoto Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.6.4.2 01-Jul-1999  thorpej Sync w/ -current.
 1.6.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.10.12.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.10.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.12.4.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.14.10.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.16.80.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.16.78.1 04-May-2009  yamt sync with head.
 1.16.76.1 04-Jun-2008  yamt sync with head
 1.16.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.17.12.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.17.6.1 28-Apr-2009  skrll Sync with HEAD.
 1.18.4.1 05-Mar-2011  rmind sync with head
 1.18.2.2 06-Nov-2010  uebayasi Sync with HEAD.
 1.18.2.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.24.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.24.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.25.14.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.25.14.1 25-Feb-2013  tls resync with head
 1.25.4.1 23-Jan-2013  yamt sync with head
 1.26.10.1 10-Aug-2014  tls Rebase.
 1.10 09-Jun-2014  phx printslots() -> printPCIslots(). Make it compile with -DDEBUG.
 1.9 14-Oct-2010  kiyohara branches: 1.9.18; 1.9.32;
Add pci.c. Splitted from vreset.c
And cleanup vreset.c.
 1.8 14-Oct-2010  kiyohara Add PCI_mem and many access/cache-ope functions.
+ inw/inwrb/writeb/writel/readb/readw/readl.
+ _wbinv/_inv.
 1.7 26-May-2008  kiyohara branches: 1.7.18; 1.7.20;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.6 11-Dec-2005  christos branches: 1.6.74; 1.6.76; 1.6.78; 1.6.80;
merge ktrace-lwp.
 1.5 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.4 08-Oct-2003  simonb Use consistent type qualifiers for CPU1_alive (keeps gcc331 happy).
 1.3 16-Mar-2000  darrenr branches: 1.3.28;
__P(()) -> __P((void))
 1.2 28-Jun-1999  sakamoto branches: 1.2.2; 1.2.4;
Use loadfile.
KNF
b* -> mem*
 1.1 24-Jun-1999  sakamoto Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
 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.2 01-Jul-1999  thorpej Sync w/ -current.
 1.2.2.1 28-Jun-1999  thorpej file boot.h was added on branch chs-ubc2 on 1999-07-01 23:06:30 +0000
 1.3.28.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.28.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.28.1 03-Aug-2004  skrll Sync with HEAD
 1.6.80.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.78.1 04-May-2009  yamt sync with head.
 1.6.76.1 04-Jun-2008  yamt sync with head
 1.6.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.20.1 05-Mar-2011  rmind sync with head
 1.7.18.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.9.32.1 10-Aug-2014  tls Rebase.
 1.9.18.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.11 26-May-2008  kiyohara branches: 1.11.6; 1.11.12;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.10 24-Dec-2005  perry branches: 1.10.74; 1.10.76; 1.10.78; 1.10.80;
bare asm -> __asm
 1.9 11-Dec-2005  christos merge ktrace-lwp.
 1.8 28-Jun-2005  junyoung branches: 1.8.2;
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.7 29-Jun-2004  kleink Repair operand constraints in delay().
 1.6 28-Jun-1999  sakamoto branches: 1.6.36;
Use loadfile.
KNF
b* -> mem*
 1.5 24-Jun-1999  sakamoto Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
 1.4 15-Feb-1999  sakamoto branches: 1.4.4;
RCS ID police
 1.3 19-Jan-1998  drochner adapt to changed <dev/ic/i8253reg.h>
 1.2 19-Jan-1998  sakamoto Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.4.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.6.36.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.36.1 03-Aug-2004  skrll Sync with HEAD
 1.8.2.1 21-Jun-2006  yamt sync with head.
 1.10.80.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.10.78.1 04-May-2009  yamt sync with head.
 1.10.76.1 04-Jun-2008  yamt sync with head
 1.10.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.12.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.11.6.1 28-Apr-2009  skrll Sync with HEAD.
 1.5 26-May-2008  kiyohara Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.4 11-Dec-2005  christos branches: 1.4.74; 1.4.76; 1.4.78; 1.4.80;
merge ktrace-lwp.
 1.3 16-Oct-2004  heinz Remove trailing argument list from #undef of divrnd macro to enable build
with gcc3 and -Werror.
 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 16-Jan-1998  sakamoto branches: 1.1.48;
initial import of bebox kernel loader.
 1.1.48.4 19-Oct-2004  skrll Sync with HEAD
 1.1.48.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.48.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.48.1 03-Aug-2004  skrll Sync with HEAD
 1.4.80.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.78.1 04-May-2009  yamt sync with head.
 1.4.76.1 04-Jun-2008  yamt sync with head
 1.4.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.9 14-Oct-2010  kiyohara Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!!
 1.8 14-Oct-2010  kiyohara Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint.
 1.7 14-Oct-2010  kiyohara Change format of path for device. A current form strangely feels dissatisfied.
This new format looks like the format of BootROM of BeBox.
 1.6 11-Dec-2005  christos branches: 1.6.98; 1.6.100;
merge ktrace-lwp.
 1.5 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.4 28-Jun-2005  junyoung De-__P() and some cosmetic changes.
 1.3 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.2 28-Jun-1999  sakamoto branches: 1.2.36;
Use loadfile.
KNF
b* -> mem*
 1.1 16-Jan-1998  sakamoto branches: 1.1.10;
initial import of bebox kernel loader.
 1.1.10.1 01-Jul-1999  thorpej Sync w/ -current.
 1.2.36.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.36.1 03-Aug-2004  skrll Sync with HEAD
 1.6.100.1 05-Mar-2011  rmind sync with head
 1.6.98.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.12 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.11 18-Mar-2009  cegger branches: 1.11.4; 1.11.6; 1.11.8;
Ansify function definitions w/o arguments. Generated with sed.
 1.10 07-Jun-2008  kiyohara branches: 1.10.6; 1.10.12;
Fix waiting for the input from keyboard after "Boot: " is displayed in frame
buffer. Read out ugly data.
 1.9 26-May-2008  kiyohara Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.8 01-Mar-2008  tsutsui branches: 1.8.2; 1.8.4; 1.8.6;
cnscan() should return -1 (no input) if there is no console device.
 1.7 11-Dec-2005  christos branches: 1.7.50; 1.7.70; 1.7.74;
merge ktrace-lwp.
 1.6 07-Aug-2003  agc branches: 1.6.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.5 28-Jun-1999  sakamoto branches: 1.5.36;
Use loadfile.
KNF
b* -> mem*
 1.4 24-Jun-1999  sakamoto Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
 1.3 28-Oct-1998  sakamoto branches: 1.3.8;
Support frame buffer console with Matrox Millennium(probably, and II).
But, NetBSD/bebox kernel doesn't support yet.
 1.2 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.3.8.1 01-Jul-1999  thorpej Sync w/ -current.
 1.5.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.36.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.1 17-Mar-2008  yamt sync with head.
 1.7.74.3 29-Jun-2008  mjf Sync with HEAD.
 1.7.74.2 02-Jun-2008  mjf Sync with HEAD.
 1.7.74.1 03-Apr-2008  mjf Sync with HEAD.
 1.7.70.1 24-Mar-2008  keiichi sync with head.
 1.7.50.1 23-Mar-2008  matt sync with HEAD
 1.8.6.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.4.1 04-May-2009  yamt sync with head.
 1.8.2.2 17-Jun-2008  yamt sync with head.
 1.8.2.1 04-Jun-2008  yamt sync with head
 1.10.12.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.10.6.1 28-Apr-2009  skrll Sync with HEAD.
 1.11.8.1 17-Feb-2011  bouyer Sync with HEAD
 1.11.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.11.4.1 05-Mar-2011  rmind 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 14-Mar-2009  dsl branches: 1.7.4; 1.7.6; 1.7.8;
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 11-Dec-2005  christos branches: 1.6.78; 1.6.86; 1.6.92;
merge ktrace-lwp.
 1.5 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.4 28-Jun-1999  sakamoto branches: 1.4.36;
Use loadfile.
KNF
b* -> mem*
 1.3 24-Jun-1999  sakamoto Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
 1.2 26-Oct-1998  sakamoto branches: 1.2.8;
Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.8.1 01-Jul-1999  thorpej Sync w/ -current.
 1.4.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.36.1 03-Aug-2004  skrll Sync with HEAD
 1.6.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.6.78.1 04-May-2009  yamt sync with head.
 1.7.8.1 17-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.7 12-Jun-2011  kiyohara Remove null line.
 1.6 11-Dec-2005  christos branches: 1.6.110;
merge ktrace-lwp.
 1.5 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.4 28-Jun-2005  junyoung ANSIfy & remove trailing spaces.
 1.3 28-Jun-1999  sakamoto branches: 1.3.36;
Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.11 19-Dec-2012  kiyohara Change path-format for scsi. s,scsi/B/T/L_n,scsi/BTL/0_n,.
 1.10 14-Oct-2010  kiyohara branches: 1.10.8; 1.10.18;
Change format of path for device. A current form strangely feels dissatisfied.
This new format looks like the format of BootROM of BeBox.
 1.9 26-May-2008  kiyohara branches: 1.9.18; 1.9.20;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.8 11-Dec-2005  christos branches: 1.8.74; 1.8.76; 1.8.78; 1.8.80;
merge ktrace-lwp.
 1.7 15-Jul-2005  he The ANSIfication unconvered that we were calling devlookup() with
an extra argument. It seems to be correct just to drop the last arg.
 1.6 28-Jun-2005  junyoung branches: 1.6.2;
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.5 28-Jun-2005  junyoung ANSI, KNF, trailing spaces, and etc.
 1.4 08-Apr-2002  sakamoto branches: 1.4.10;
include lib/libkern/libkern.h for isdigit.
 1.3 28-Jun-1999  sakamoto branches: 1.3.16; 1.3.20;
Use loadfile.
KNF
b* -> mem*
 1.2 19-Jan-1998  sakamoto branches: 1.2.10;
Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.10.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.20.1 17-Apr-2002  nathanw Catch up to -current.
 1.3.16.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.10.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.2.1 21-Jun-2006  yamt sync with head.
 1.8.80.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.78.1 04-May-2009  yamt sync with head.
 1.8.76.1 04-Jun-2008  yamt sync with head
 1.8.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.20.1 05-Mar-2011  rmind sync with head
 1.9.18.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.10.18.1 25-Feb-2013  tls resync with head
 1.10.8.1 23-Jan-2013  yamt sync with head
 1.4 28-Jun-1999  sakamoto Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/elf2pef.c,v
 1.3 15-Feb-1999  sakamoto branches: 1.3.4;
RCS ID police
 1.2 05-Oct-1998  sakamoto cleanup.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.3.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.12 07-Aug-2022  andvar fix various typos in comments, documentation and messages.
mainly s/paramater/parameter/ and s/reduntant/redundant/.
 1.11 12-Dec-2014  phx Fix all warnings when compiling with gcc 4.8.
BeBox should be ready for 4.8 now.
 1.10 14-Oct-2010  kiyohara branches: 1.10.18; 1.10.34; 1.10.36;
Change format of path for device. A current form strangely feels dissatisfied.
This new format looks like the format of BootROM of BeBox.
 1.9 18-Mar-2009  cegger branches: 1.9.2; 1.9.4;
Ansify function definitions w/o arguments. Generated with sed.
 1.8 26-May-2008  kiyohara branches: 1.8.6; 1.8.12;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.7 11-Dec-2005  christos branches: 1.7.74; 1.7.76; 1.7.78; 1.7.80;
merge ktrace-lwp.
 1.6 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.5 04-Dec-2003  keihan netbsd.org -> NetBSD.org

All "netbsd.org" is now gone from src/sys/arch.
 1.4 31-Aug-2001  simonb branches: 1.4.6; 1.4.22;
Use comments around the token after a #endif.
 1.3 28-Jun-1999  sakamoto branches: 1.3.16;
Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.16.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.4.22.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.22.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.22.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.22.1 03-Aug-2004  skrll Sync with HEAD
 1.4.6.2 31-Aug-2001  simonb Use comments around the token after a #endif.
 1.4.6.1 31-Aug-2001  simonb file fd.c was added on branch nathanw_sa on 2001-08-31 04:44:59 +0000
 1.7.80.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.78.1 04-May-2009  yamt sync with head.
 1.7.76.1 04-Jun-2008  yamt sync with head
 1.7.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.12.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.6.1 28-Apr-2009  skrll Sync with HEAD.
 1.9.4.1 05-Mar-2011  rmind sync with head
 1.9.2.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.10.36.1 06-Apr-2015  skrll Sync with HEAD
 1.10.34.1 07-Jan-2015  msaitoh Pull up following revision(s) (requested by martin in ticket #387):
sys/arch/bebox/stand/boot/vreset.c: revision 1.14
sys/arch/bebox/stand/boot/fd.c: revision 1.11
sys/arch/bebox/stand/boot/siop.c: revision 1.5
Fix all warnings when compiling with gcc 4.8.
BeBox should be ready for 4.8 now.
 1.10.18.1 03-Dec-2017  jdolecek update from HEAD
 1.9 18-Oct-2010  kiyohara Support ustarfs for floppy-disk.
 1.8 14-Oct-2010  kiyohara Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint.
 1.7 26-May-2008  kiyohara branches: 1.7.18; 1.7.20;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.6 28-Apr-2008  martin branches: 1.6.2;
Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.3 23-Jun-2005  junyoung Use FS_OPS() macro.
 1.2 28-Jun-1999  sakamoto branches: 1.2.36;
Use loadfile.
KNF
b* -> mem*
 1.1 16-Jan-1998  sakamoto branches: 1.1.10;
initial import of bebox kernel loader.
 1.1.10.1 01-Jul-1999  thorpej Sync w/ -current.
 1.2.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.78.2 04-May-2009  yamt sync with head.
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.2 04-Jun-2008  yamt sync with head
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.20.1 05-Mar-2011  rmind sync with head
 1.7.18.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.9 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.8 26-May-2008  kiyohara branches: 1.8.6; 1.8.12;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.7 28-Apr-2008  martin branches: 1.7.2;
Remove clause 3 and 4 from TNF licenses
 1.6 11-Dec-2005  christos branches: 1.6.74; 1.6.76; 1.6.78;
merge ktrace-lwp.
 1.5 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.4 20-Apr-2003  bjh21 branches: 1.4.2;
Cast KERNENTRY into a char * before doing arithmetic on it, so we don't end
up trying to cast a 64-bit integer into a pointer, which GCC warns about.
 1.3 28-Jun-1999  sakamoto Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.4.2.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.78.2 04-May-2009  yamt sync with head.
 1.6.78.1 16-May-2008  yamt sync with head.
 1.6.76.2 04-Jun-2008  yamt sync with head
 1.6.76.1 18-May-2008  yamt sync with head.
 1.6.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.12.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.6.1 28-Apr-2009  skrll Sync with HEAD.
 1.8 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.7 14-Oct-2010  kiyohara Add PCI_mem and many access/cache-ope functions.
+ inw/inwrb/writeb/writel/readb/readw/readl.
+ _wbinv/_inv.
 1.6 26-May-2008  kiyohara branches: 1.6.18; 1.6.20;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78; 1.5.80;
merge ktrace-lwp.
 1.4 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.3 28-Jun-1999  sakamoto branches: 1.3.36;
Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.80.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.5.78.1 04-May-2009  yamt sync with head.
 1.5.76.1 04-Jun-2008  yamt sync with head
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.20.1 05-Mar-2011  rmind sync with head
 1.6.18.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.2 15-Feb-1999  sakamoto RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.7 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.6 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.5 11-Dec-2005  christos branches: 1.5.78; 1.5.86; 1.5.92;
merge ktrace-lwp.
 1.4 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.3 28-Jun-1999  sakamoto branches: 1.3.36;
Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.5.78.1 04-May-2009  yamt sync with head.
 1.2 15-Feb-1999  sakamoto RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.3 28-Jun-1999  sakamoto Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/magic.h,v
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.11 11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.10 01-Jun-2014  phx branches: 1.10.4;
Use int32_t, int16_t, int8_t.
 1.9 26-May-2008  kiyohara branches: 1.9.42; 1.9.58;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.8 28-Apr-2008  martin branches: 1.8.2;
Remove clause 3 and 4 from TNF licenses
 1.7 24-Dec-2005  perry branches: 1.7.74; 1.7.76; 1.7.78;
bare asm -> __asm
 1.6 11-Dec-2005  christos merge ktrace-lwp.
 1.5 28-Jun-2005  junyoung branches: 1.5.2;
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.4 28-Jun-2005  junyoung - No need to define NULL here since it's already defined in stand.h.
- ANSI, KNF, de-__P, and remove trailing spaces.
 1.3 28-Jun-1999  sakamoto branches: 1.3.36;
Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.1 21-Jun-2006  yamt sync with head.
 1.7.78.2 04-May-2009  yamt sync with head.
 1.7.78.1 16-May-2008  yamt sync with head.
 1.7.76.2 04-Jun-2008  yamt sync with head
 1.7.76.1 18-May-2008  yamt sync with head.
 1.7.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.9.58.1 10-Aug-2014  tls Rebase.
 1.9.42.2 03-Dec-2017  jdolecek update from HEAD
 1.9.42.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.4.1 09-Jul-2016  skrll Sync 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 11-Dec-2005  christos branches: 1.7.78; 1.7.86; 1.7.92;
merge ktrace-lwp.
 1.6 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.5 28-Jun-1999  sakamoto branches: 1.5.36;
Use loadfile.
KNF
b* -> mem*
 1.4 24-Jun-1999  sakamoto Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
 1.3 15-Feb-1999  sakamoto branches: 1.3.4;
RCS ID police
 1.2 19-Jan-1998  sakamoto Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.3.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.5.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.7.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.7.78.1 04-May-2009  yamt sync with head.
 1.5 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.4 28-Jun-1999  sakamoto branches: 1.4.142; 1.4.150; 1.4.156;
Use loadfile.
KNF
b* -> mem*
 1.3 15-Feb-1999  sakamoto branches: 1.3.4;
RCS ID police
 1.2 19-Jan-1998  sakamoto Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.3.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.4.156.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4.150.1 28-Apr-2009  skrll Sync with HEAD.
 1.4.142.1 04-May-2009  yamt sync with head.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 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.2 15-Feb-1999  sakamoto branches: 1.2.42;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.42.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.42.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.42.1 03-Aug-2004  skrll 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 14-Oct-2010  kiyohara Add pci.c. Splitted from vreset.c
And cleanup vreset.c.
 1.4 24-Jun-1999  sakamoto branches: 1.4.96; 1.4.98;
Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
 1.3 15-Feb-1999  sakamoto branches: 1.3.4;
RCS ID police
 1.2 28-Oct-1998  sakamoto Support frame buffer console with Matrox Millennium(probably, and II).
But, NetBSD/bebox kernel doesn't support yet.
 1.1 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.3.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.4.98.1 05-Mar-2011  rmind sync with head
 1.4.96.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.3 28-Jun-1999  sakamoto Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/pef.h,v
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.10 25-Feb-2011  kiyohara Style.
 1.9 18-Mar-2009  cegger branches: 1.9.4; 1.9.6; 1.9.8;
Ansify function definitions w/o arguments. Generated with sed.
 1.8 17-Mar-2009  he Make putchar() conform to the stand.h prototype, so that this builds again.
 1.7 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.6 28-Apr-2008  martin branches: 1.6.8; 1.6.14;
Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.3 28-Jun-1999  sakamoto branches: 1.3.36;
Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.78.2 04-May-2009  yamt sync with head.
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.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.
 1.9.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.9.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.9.4.1 05-Mar-2011  rmind sync with head
 1.6 08-Jan-2019  jdolecek no need to include <machine/param.h> if <sys/param.h> already included
 1.5 02-Jan-2015  christos branches: 1.5.16; 1.5.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.4 10-Jun-2014  phx branches: 1.4.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.3 19-Dec-2012  kiyohara branches: 1.3.10;
Change path-format for scsi. s,scsi/B/T/L_n,scsi/BTL/0_n,.
 1.2 17-Jul-2011  joerg branches: 1.2.2; 1.2.12;
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.1 14-Oct-2010  kiyohara branches: 1.1.2; 1.1.8;
Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!!
 1.1.8.2 05-Mar-2011  rmind sync with head
 1.1.8.1 14-Oct-2010  rmind file sd.c was added on branch rmind-uvmplock on 2011-03-05 20:49:46 +0000
 1.1.2.2 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.1.2.1 14-Oct-2010  uebayasi file sd.c was added on branch uebayasi-xip on 2010-10-22 07:21:08 +0000
 1.2.12.3 03-Dec-2017  jdolecek update from HEAD
 1.2.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.12.1 25-Feb-2013  tls resync with head
 1.2.2.1 23-Jan-2013  yamt sync with head
 1.3.10.1 10-Aug-2014  tls Rebase.
 1.4.4.1 06-Apr-2015  skrll Sync with HEAD
 1.5.18.1 10-Jun-2019  christos Sync with HEAD
 1.5.16.1 18-Jan-2019  pgoyette Synch with HEAD
 1.1 14-Oct-2010  kiyohara branches: 1.1.2; 1.1.8;
Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!!
 1.1.8.2 05-Mar-2011  rmind sync with head
 1.1.8.1 14-Oct-2010  rmind file sdvar.h was added on branch rmind-uvmplock on 2011-03-05 20:49:46 +0000
 1.1.2.2 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.1.2.1 14-Oct-2010  uebayasi file sdvar.h was added on branch uebayasi-xip on 2010-10-22 07:21:08 +0000
 1.15 08-Feb-2024  andvar s/should't/shouldn't/ and s/mistmatch/mismatch/ in comments.
 1.14 19-Jun-2023  msaitoh Fix typo. unknwon -> unknown
 1.13 26-May-2023  andvar set error to EIO on SKEY_ABORTED_COMMAND.
It is usually the case for other SCSI drivers, though they do implement retries too.
potentially same should be committed to prep(?).
discussed with riastradh.
 1.12 26-May-2023  andvar initialize error on definition to fix 'error' may not be initialized issue.
the commit unifies code between bebox and prep machines.
reported by Mootja _08.
 1.11 03-Jun-2022  andvar fix folloing->following typos in more files.
also s/begginning/beginning/.
 1.10 23-May-2022  andvar s/beggining/beginning/ in comments.
 1.9 22-May-2022  andvar fix various small typos, mainly in comments.
 1.8 01-Jan-2022  andvar s/coudn/couldn/ and s/couln/couldn/ in comment and log messages.
 1.7 27-Dec-2019  msaitoh s/transfered/transferred/
 1.6 25-Jun-2017  maxv branches: 1.6.6;
uninitialized var, found by Mootja; don't know which value to put, so add
a big XXX
 1.5 12-Dec-2014  phx Fix all warnings when compiling with gcc 4.8.
BeBox should be ready for 4.8 now.
 1.4 14-Jun-2014  phx branches: 1.4.2; 1.4.4;
Add missing siop_clearfifo() and some debugging output (-DDEBUG).
 1.3 03-Jan-2013  kiyohara branches: 1.3.10;
Fix format of specify for scsi disk. s,/dev/disk/scsi/0/0/0,/dev/disk/scsi/000,
 1.2 14-Feb-2012  kiyohara branches: 1.2.6;
Remove unused a valiable 'siopdbg'.
 1.1 14-Oct-2010  kiyohara branches: 1.1.2; 1.1.8; 1.1.12; 1.1.16;
Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!!
 1.1.16.1 18-Feb-2012  mrg merge to -current.
 1.1.12.2 23-Jan-2013  yamt sync with head
 1.1.12.1 17-Apr-2012  yamt sync with head
 1.1.8.2 05-Mar-2011  rmind sync with head
 1.1.8.1 14-Oct-2010  rmind file siop.c was added on branch rmind-uvmplock on 2011-03-05 20:49:46 +0000
 1.1.2.2 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.1.2.1 14-Oct-2010  uebayasi file siop.c was added on branch uebayasi-xip on 2010-10-22 07:21:09 +0000
 1.2.6.3 03-Dec-2017  jdolecek update from HEAD
 1.2.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.1 25-Feb-2013  tls resync with head
 1.3.10.1 10-Aug-2014  tls Rebase.
 1.4.4.2 28-Aug-2017  skrll Sync with HEAD
 1.4.4.1 06-Apr-2015  skrll Sync with HEAD
 1.4.2.1 07-Jan-2015  msaitoh Pull up following revision(s) (requested by martin in ticket #387):
sys/arch/bebox/stand/boot/vreset.c: revision 1.14
sys/arch/bebox/stand/boot/fd.c: revision 1.11
sys/arch/bebox/stand/boot/siop.c: revision 1.5
Fix all warnings when compiling with gcc 4.8.
BeBox should be ready for 4.8 now.
 1.6.6.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.5 30-Aug-2025  rin bebox: boot: Appease gas from binutils 2.45

No binary changes with previous revision assembled by binutils 2.42.
 1.4 06-Aug-2014  joerg Use cmpwi/cmpw
 1.3 28-Jun-1999  sakamoto branches: 1.3.186; 1.3.202;
Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.202.1 10-Aug-2014  tls Rebase.
 1.3.186.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9 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.
 1.8 25-Feb-2011  kiyohara Style.
 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 11-Dec-2005  christos branches: 1.6.78; 1.6.86; 1.6.92;
merge ktrace-lwp.
 1.5 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.4 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.3 28-Jun-1999  sakamoto branches: 1.3.36;
Use loadfile.
KNF
b* -> mem*
 1.2 19-Jan-1998  sakamoto branches: 1.2.10;
Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.2.10.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.36.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.36.1 03-Aug-2004  skrll Sync with HEAD
 1.6.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.6.78.1 04-May-2009  yamt sync with head.
 1.7.8.1 05-Mar-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.12 19-Dec-2012  kiyohara Change path-format for scsi. s,scsi/B/T/L_n,scsi/BTL/0_n,.
 1.11 18-Oct-2010  kiyohara branches: 1.11.8; 1.11.18;
Support ustarfs for floppy-disk.
 1.10 14-Oct-2010  kiyohara Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!!
 1.9 14-Oct-2010  kiyohara Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint.
 1.8 14-Oct-2010  kiyohara s/,vga}/,_vga}/.
 1.7 26-May-2008  kiyohara branches: 1.7.18; 1.7.20;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.6 09-Nov-2001  scw branches: 1.6.118; 1.6.120; 1.6.122; 1.6.124;
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
that it tries hard to avoid backwards seeks.
 1.5 02-Aug-2001  bjh21 branches: 1.5.4; 1.5.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.4 24-Sep-2000  jdolecek branches: 1.4.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.3 15-Feb-1999  sakamoto branches: 1.3.8;
RCS ID police
 1.2 19-Jan-1998  sakamoto Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.3.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.4.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.4.1 03-Aug-2001  lukem update to -current
 1.5.6.2 17-Apr-2002  nathanw Catch up to -current.
 1.5.6.1 02-Aug-2001  nathanw file version was added on branch nathanw_sa on 2002-04-17 00:02:50 +0000
 1.5.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.6.124.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.122.1 04-May-2009  yamt sync with head.
 1.6.120.1 04-Jun-2008  yamt sync with head
 1.6.118.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.20.1 05-Mar-2011  rmind sync with head
 1.7.18.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.11.18.1 25-Feb-2013  tls resync with head
 1.11.8.1 23-Jan-2013  yamt sync with head
 1.10 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.9 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.8 26-May-2008  kiyohara branches: 1.8.6; 1.8.12;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.7 11-Dec-2005  christos branches: 1.7.74; 1.7.76; 1.7.78; 1.7.80;
merge ktrace-lwp.
 1.6 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.5 28-Jun-2005  junyoung Remove trailing spaces.
 1.4 22-Jul-2001  wiz branches: 1.4.6; 1.4.22;
bcopy -> memmove
 1.3 28-Jun-1999  sakamoto branches: 1.3.16;
Use loadfile.
KNF
b* -> mem*
 1.2 15-Feb-1999  sakamoto branches: 1.2.4;
RCS ID police
 1.1 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.2.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.3.16.1 03-Aug-2001  lukem update to -current
 1.4.22.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.6.2 22-Jul-2001  wiz bcopy -> memmove
 1.4.6.1 22-Jul-2001  wiz file vga.c was added on branch nathanw_sa on 2001-07-22 14:32:18 +0000
 1.7.80.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.78.1 04-May-2009  yamt sync with head.
 1.7.76.1 04-Jun-2008  yamt sync with head
 1.7.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.12.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.6.1 28-Apr-2009  skrll Sync with HEAD.
 1.7 11-Dec-2005  christos merge ktrace-lwp.
 1.6 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.5 28-Jun-2005  junyoung - ANSIfy, remove trailing spaces.
- Put /* FALLTHROUGH */ to make lint happy.
 1.4 28-Jun-1999  sakamoto branches: 1.4.36;
Use loadfile.
KNF
b* -> mem*
 1.3 15-Feb-1999  sakamoto branches: 1.3.4;
RCS ID police
 1.2 28-Oct-1998  sakamoto Support frame buffer console with Matrox Millennium(probably, and II).
But, NetBSD/bebox kernel doesn't support yet.
 1.1 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.3.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.4.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.15 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.14 12-Dec-2014  phx Fix all warnings when compiling with gcc 4.8.
BeBox should be ready for 4.8 now.
 1.13 15-Oct-2010  he branches: 1.13.18; 1.13.34; 1.13.36;
Fix a minor typo preventing this from building.
 1.12 14-Oct-2010  kiyohara Add pci.c. Splitted from vreset.c
And cleanup vreset.c.
 1.11 26-May-2008  kiyohara branches: 1.11.18; 1.11.20;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.10 26-Mar-2008  kiyohara branches: 1.10.2; 1.10.4; 1.10.6;
Remove printf() when VGA vendor is case Diamond and Matrox. Moreover
this printf() will make the start of CPU1 fail. I have not understood the
reason yet. When doing DEBUG is effective, the vender of all PCI devices
will be displayed again. At this time, printf() doesn't support the format
like "%08x".
 1.9 29-Jan-2006  dsl branches: 1.9.72;
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.8 24-Dec-2005  perry branches: 1.8.2;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.7 11-Dec-2005  christos merge ktrace-lwp.
 1.6 28-Jun-2005  junyoung branches: 1.6.2;
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.5 27-Jun-2005  junyoung ANSI, KNF, de-__P, drop trailing spaces, and some other cosmetic changes.
 1.4 28-Jun-1999  sakamoto branches: 1.4.36;
Use loadfile.
KNF
b* -> mem*
 1.3 15-Feb-1999  sakamoto branches: 1.3.4;
RCS ID police
 1.2 26-Oct-1998  sakamoto Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
 1.1 16-Jan-1998  sakamoto initial import of bebox kernel loader.
 1.3.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.4.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.2.1 21-Jun-2006  yamt sync with head.
 1.8.2.1 01-Feb-2006  yamt sync with head.
 1.9.72.2 02-Jun-2008  mjf Sync with HEAD.
 1.9.72.1 03-Apr-2008  mjf Sync with HEAD.
 1.10.6.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.10.4.1 04-May-2009  yamt sync with head.
 1.10.2.1 04-Jun-2008  yamt sync with head
 1.11.20.1 05-Mar-2011  rmind sync with head
 1.11.18.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.13.36.1 06-Apr-2015  skrll Sync with HEAD
 1.13.34.1 07-Jan-2015  msaitoh Pull up following revision(s) (requested by martin in ticket #387):
sys/arch/bebox/stand/boot/vreset.c: revision 1.14
sys/arch/bebox/stand/boot/fd.c: revision 1.11
sys/arch/bebox/stand/boot/siop.c: revision 1.5
Fix all warnings when compiling with gcc 4.8.
BeBox should be ready for 4.8 now.
 1.13.18.1 03-Dec-2017  jdolecek update from HEAD
 1.4 08-Jan-2019  jdolecek 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 17-Jul-2011  joerg branches: 1.2.12; 1.2.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.1 14-Oct-2010  kiyohara branches: 1.1.2; 1.1.8;
Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint.
 1.1.8.2 05-Mar-2011  rmind sync with head
 1.1.8.1 14-Oct-2010  rmind file wd.c was added on branch rmind-uvmplock on 2011-03-05 20:49:46 +0000
 1.1.2.2 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.1.2.1 14-Oct-2010  uebayasi file wd.c was added on branch uebayasi-xip on 2010-10-22 07:21:09 +0000
 1.2.30.1 06-Apr-2015  skrll Sync with HEAD
 1.2.12.1 03-Dec-2017  jdolecek update from 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 08-Jan-2019  christos no need for <machine/param.h>
 1.3 08-Jan-2019  christos Include <sys/param.h> for DEV_BSIZE/DEV_BSHIFT
 1.2 11-Jul-2015  kamil branches: 1.2.16; 1.2.18;
Improve spelling: regsiter -> register

This change is non-functional.

Approved by <riastradh>, <pgoyette>
 1.1 14-Oct-2010  kiyohara branches: 1.1.2; 1.1.8; 1.1.22; 1.1.40;
Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint.
 1.1.40.1 22-Sep-2015  skrll Sync with HEAD
 1.1.22.1 03-Dec-2017  jdolecek update from HEAD
 1.1.8.2 05-Mar-2011  rmind sync with head
 1.1.8.1 14-Oct-2010  rmind file wdc.c was added on branch rmind-uvmplock on 2011-03-05 20:49:46 +0000
 1.1.2.2 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.1.2.1 14-Oct-2010  uebayasi file wdc.c was added on branch uebayasi-xip on 2010-10-22 07:21:09 +0000
 1.2.18.1 10-Jun-2019  christos Sync with HEAD
 1.2.16.1 18-Jan-2019  pgoyette Synch with HEAD
 1.1 14-Oct-2010  kiyohara branches: 1.1.2; 1.1.8;
Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint.
 1.1.8.2 05-Mar-2011  rmind sync with head
 1.1.8.1 14-Oct-2010  rmind file wdvar.h was added on branch rmind-uvmplock on 2011-03-05 20:49:46 +0000
 1.1.2.2 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.1.2.1 14-Oct-2010  uebayasi file wdvar.h was added on branch uebayasi-xip on 2010-10-22 07:21:09 +0000
 1.1 26-May-2008  kiyohara branches: 1.1.2; 1.1.4; 1.1.10; 1.1.22;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.1.22.2 04-May-2009  yamt sync with head.
 1.1.22.1 26-May-2008  yamt file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:10:52 +0000
 1.1.10.2 24-Sep-2008  wrstuden Merge in changes missed in previous sync with head.
 1.1.10.1 26-May-2008  wrstuden file Makefile was added on branch wrstuden-revivesa on 2008-09-24 04:59:05 +0000
 1.1.4.2 04-Jun-2008  yamt sync with head
 1.1.4.1 26-May-2008  yamt file Makefile was added on branch yamt-pf42 on 2008-06-04 02:04:44 +0000
 1.1.2.2 02-Jun-2008  mjf Sync with HEAD.
 1.1.2.1 26-May-2008  mjf file Makefile was added on branch mjf-devfs2 on 2008-06-02 13:21:58 +0000
 1.1 26-May-2008  kiyohara branches: 1.1.2; 1.1.4; 1.1.10; 1.1.22;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.1.22.2 04-May-2009  yamt sync with head.
 1.1.22.1 26-May-2008  yamt file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:10:52 +0000
 1.1.10.2 24-Sep-2008  wrstuden Merge in changes missed in previous sync with head.
 1.1.10.1 26-May-2008  wrstuden file Makefile was added on branch wrstuden-revivesa on 2008-09-24 04:59:05 +0000
 1.1.4.2 04-Jun-2008  yamt sync with head
 1.1.4.1 26-May-2008  yamt file Makefile was added on branch yamt-pf42 on 2008-06-04 02:04:44 +0000
 1.1.2.2 02-Jun-2008  mjf Sync with HEAD.
 1.1.2.1 26-May-2008  mjf file Makefile was added on branch mjf-devfs2 on 2008-06-02 13:21:58 +0000
 1.4 08-Aug-2014  joerg 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.3 21-Aug-2013  matt branches: 1.3.2;
Use <bsd.klinks.mk>
 1.2 27-May-2010  dholland branches: 1.2.8; 1.2.18; 1.2.22;
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.1 26-May-2008  kiyohara branches: 1.1.2; 1.1.4; 1.1.10; 1.1.22; 1.1.26; 1.1.28;
Split boot/boot_com0/boot_vga.
boot supports framebuffer.
boot_com0 supports com0.
boot_vga supports vga, not frambuffer.
 1.1.28.1 30-May-2010  rmind sync with head
 1.1.26.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.1.22.3 11-Aug-2010  yamt sync with head.
 1.1.22.2 04-May-2009  yamt sync with head.
 1.1.22.1 26-May-2008  yamt file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:10:52 +0000
 1.1.10.2 24-Sep-2008  wrstuden Merge in changes missed in previous sync with head.
 1.1.10.1 26-May-2008  wrstuden file Makefile was added on branch wrstuden-revivesa on 2008-09-24 04:58:25 +0000
 1.1.4.2 04-Jun-2008  yamt sync with head
 1.1.4.1 26-May-2008  yamt file Makefile was added on branch yamt-pf42 on 2008-06-04 02:04:44 +0000
 1.1.2.2 02-Jun-2008  mjf Sync with HEAD.
 1.1.2.1 26-May-2008  mjf file Makefile was added on branch mjf-devfs2 on 2008-06-02 13:21:58 +0000
 1.2.22.1 28-Aug-2013  rmind sync with head
 1.2.18.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.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.3.2.1 10-Aug-2014  tls Rebase.

RSS XML Feed