Home | History | Annotate | only in /src/sys/arch/zaurus/stand
History log of /src/sys/arch/zaurus/stand
RevisionDateAuthorComments
 1.3 01-May-2013  matt Force abi/float-abi/cpu
Only allow to build on little-endian.
Force MACHINE to be zaurus.
 1.2 02-Mar-2009  nonaka branches: 1.2.12; 1.2.22;
Added zboot from OpenBSD.
 1.1 09-Aug-2007  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.34; 1.1.42; 1.1.48;
build and install zbsdmod.o.
 1.1.48.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.42.1 03-Mar-2009  skrll Sync with HEAD.
 1.1.34.1 04-May-2009  yamt sync with head.
 1.1.10.2 03-Sep-2007  yamt sync with head.
 1.1.10.1 09-Aug-2007  yamt file Makefile was added on branch yamt-lazymbuf on 2007-09-03 14:31:44 +0000
 1.1.6.2 20-Aug-2007  ad Sync with HEAD.
 1.1.6.1 09-Aug-2007  ad file Makefile was added on branch vmlocking on 2007-08-20 22:07:01 +0000
 1.1.4.2 16-Aug-2007  jmcneill Sync with HEAD.
 1.1.4.1 09-Aug-2007  jmcneill file Makefile was added on branch jmcneill-pm on 2007-08-16 11:02:41 +0000
 1.1.2.2 15-Aug-2007  skrll Sync with HEAD.
 1.1.2.1 09-Aug-2007  skrll file Makefile was added on branch nick-csl-alignment on 2007-08-15 13:48:05 +0000
 1.2.22.1 23-Jun-2013  tls resync from head
 1.2.12.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.10 03-Jun-2023  lukem adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
which works for both clang and gcc, and remove compiler-specific
equivalents.
 1.9 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.8 12-Apr-2021  mrg remove shadowed (common) declarations of various libsa variables
from various boot programs. for macppc and zaurus, avoid building
with -fcommon any more.
 1.7 06-Sep-2020  mrg branches: 1.7.4;
add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.6 21-Apr-2020  joerg Use -Wno-error=address-of-packed-member for a number of more boot
loaders.
 1.5 23-Jan-2016  christos branches: 1.5.28;
revert previous, we'll do differently
 1.4 23-Jan-2016  christos Add -D_KERNTYPES
 1.3 02-May-2013  matt branches: 1.3.12;
use KLINK_MACHINE
 1.2 01-May-2013  matt Force abi/float-abi/cpu
Only allow to build on little-endian.
Force MACHINE to be zaurus.
 1.1 09-Aug-2007  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.68; 1.1.78;
build and install zbsdmod.o.
 1.1.78.1 23-Jun-2013  tls resync from head
 1.1.68.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.1.10.2 03-Sep-2007  yamt sync with head.
 1.1.10.1 09-Aug-2007  yamt file Makefile.inc was added on branch yamt-lazymbuf on 2007-09-03 14:31:44 +0000
 1.1.6.2 20-Aug-2007  ad Sync with HEAD.
 1.1.6.1 09-Aug-2007  ad file Makefile.inc was added on branch vmlocking on 2007-08-20 22:07:01 +0000
 1.1.4.2 16-Aug-2007  jmcneill Sync with HEAD.
 1.1.4.1 09-Aug-2007  jmcneill file Makefile.inc was added on branch jmcneill-pm on 2007-08-16 11:02:42 +0000
 1.1.2.2 15-Aug-2007  skrll Sync with HEAD.
 1.1.2.1 09-Aug-2007  skrll file Makefile.inc was added on branch nick-csl-alignment on 2007-08-15 13:48:05 +0000
 1.3.12.1 19-Mar-2016  skrll Sync with HEAD
 1.5.28.1 25-Apr-2020  bouyer Sync with bouyer-xenpvh-base2 (HEAD)
 1.7.4.1 17-Apr-2021  thorpej Sync with HEAD.
 1.22 24-Oct-2019  christos 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
sense because the documentation says that this flag does not make a
difference in apcs mode, but might produce larger code in non-APCS mode.
So we just add it to silence the warnings.
 1.21 23-Sep-2019  christos Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
 1.20 08-Apr-2017  christos branches: 1.20.14;
centralize vers.c building for standalone programs.
 1.19 22-Feb-2017  maya GC more logic that was intended for GCC <4.8 (or !LLVM)

Same as before (-marm implies -mno-thumb), but now the condition was flipped
 1.18 31-Jan-2016  christos branches: 1.18.2; 1.18.4;
include bsd.init.mk to get Makefile.inc
 1.17 27-Aug-2014  matt branches: 1.17.2;
Don't use ${MACHINE} but zaurus instead.
 1.16 12-Jan-2014  tsutsui Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.15 15-Dec-2013  joerg Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
 1.14 05-Dec-2013  joerg Use -marm for clang builds, too.
 1.13 04-Nov-2013  christos fix more -mno-thumb.
 1.12 15-Aug-2013  matt Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork
 1.11 12-Aug-2013  matt Add -fno-unwind-tables
 1.10 02-May-2013  matt branches: 1.10.4;
This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
 1.9 01-May-2013  matt Force abi/float-abi/cpu
Only allow to build on little-endian.
Force MACHINE to be zaurus.
 1.8 18-Jan-2012  nonaka branches: 1.8.6;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.7 25-Dec-2011  tsutsui Apply the following patch submitted by Evgeniy Ivanov:
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html

- add 'ls' op to struct fs_ops to support ls command on each fs,
enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
in libsa
- split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
that opens the target fs and calls fs-depedent XXX_ls() functions
- add a ls op for ext2fs
(all other fs than ufs and ext2fs don't have actual ls ops yet)
- replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
 1.6 23-Jan-2011  joerg branches: 1.6.4; 1.6.8;
Defer bsd.own.mk include after NOMAN.
 1.5 22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.4 27-May-2010  dholland branches: 1.4.2; 1.4.4;
Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
 1.3 13-Apr-2009  nonaka branches: 1.3.2; 1.3.4; 1.3.6; 1.3.8;
Use <bsd.klinks.mk> to create ${MACHINE} and ${MACHINE_ARCH} symlinks.
 1.2 03-Mar-2009  nonaka branches: 1.2.2;
fix make release.
 1.1 02-Mar-2009  nonaka Added zboot from OpenBSD.
 1.2.2.3 28-Apr-2009  skrll Sync with HEAD.
 1.2.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.2.2.1 03-Mar-2009  skrll file Makefile was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.3.8.2 05-Mar-2011  rmind sync with head
 1.3.8.1 30-May-2010  rmind sync with head
 1.3.6.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.3.4.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.4.1 13-Apr-2009  jym file Makefile was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.3.2.3 11-Aug-2010  yamt sync with head.
 1.3.2.2 04-May-2009  yamt sync with head.
 1.3.2.1 13-Apr-2009  yamt file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.4.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.4.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6.8.1 18-Feb-2012  mrg merge to -current.
 1.6.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.6.4.1 17-Apr-2012  yamt sync with head
 1.8.6.3 03-Dec-2017  jdolecek update from HEAD
 1.8.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.6.1 23-Jun-2013  tls resync from head
 1.10.4.2 18-May-2014  rmind sync with head
 1.10.4.1 28-Aug-2013  rmind sync with head
 1.17.2.2 28-Aug-2017  skrll Sync with HEAD
 1.17.2.1 19-Mar-2016  skrll Sync with HEAD
 1.18.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.18.2.2 26-Apr-2017  pgoyette Sync with HEAD
 1.18.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.20.14.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.8 11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.7 31-May-2016  dholland PR 51195 David Binderman: simplify redundant conditional.

XXX: there are too many copies of this function floating around ("gettrailer")
 1.6 28-Jun-2014  rtr branches: 1.6.4;
patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
 1.5 18-Jan-2012  nonaka branches: 1.5.6; 1.5.20;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.4 25-Dec-2011  tsutsui Apply the following patch submitted by Evgeniy Ivanov:
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html

- add 'ls' op to struct fs_ops to support ls command on each fs,
enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
in libsa
- split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
that opens the target fs and calls fs-depedent XXX_ls() functions
- add a ls op for ext2fs
(all other fs than ufs and ext2fs don't have actual ls ops yet)
- replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
 1.3 20-Jun-2011  nonaka branches: 1.3.2; 1.3.6;
support SL-C1000.
 1.2 22-Jan-2011  joerg branches: 1.2.2;
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.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.12; 1.1.14;
Added zboot from OpenBSD.
 1.1.14.1 08-Feb-2011  bouyer Sync with HEAD
 1.1.12.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.10.1 05-Mar-2011  rmind sync with head
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file boot.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file boot.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file boot.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3.6.1 18-Feb-2012  mrg merge to -current.
 1.3.2.1 17-Apr-2012  yamt sync with head
 1.5.20.1 10-Aug-2014  tls Rebase.
 1.5.6.2 03-Dec-2017  jdolecek update from HEAD
 1.5.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.4.1 09-Jul-2016  skrll Sync with HEAD
 1.4 03-May-2020  joerg Avoid common symbol declarations.
 1.3 28-Jun-2014  rtr patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
 1.2 18-Jan-2012  nonaka branches: 1.2.6; 1.2.20;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.18; 1.1.22;
Added zboot from OpenBSD.
 1.1.22.1 18-Feb-2012  mrg merge to -current.
 1.1.18.1 17-Apr-2012  yamt sync with head
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file boot.h was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file boot.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file boot.h was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.20.1 10-Aug-2014  tls Rebase.
 1.2.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file bootinfo.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file bootinfo.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file bootinfo.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file bootinfo.h was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file bootinfo.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file bootinfo.h was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.5 11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.4 10-Aug-2014  isaki branches: 1.4.4;
Unify all arch/*/stand's atoi() to MI libsa.
lib/libsa/atoi.c was separated from lib/libsa/bootcfg.c.
PR/49084
 1.3 28-Jun-2014  rtr patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
 1.2 18-Jan-2012  nonaka branches: 1.2.6; 1.2.20;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.18; 1.1.22;
Added zboot from OpenBSD.
 1.1.22.1 18-Feb-2012  mrg merge to -current.
 1.1.18.1 17-Apr-2012  yamt sync with head
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file bootmenu.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file bootmenu.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file bootmenu.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.20.1 10-Aug-2014  tls Rebase.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.4.1 09-Jul-2016  skrll Sync with HEAD
 1.3 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.2 28-Jun-2014  rtr patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.28; 1.1.42;
Added zboot from OpenBSD.
 1.1.42.1 10-Aug-2014  tls Rebase.
 1.1.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file bootmenu.h was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file bootmenu.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file bootmenu.h was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2 20-Jun-2011  nonaka support SL-C1000.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.16;
Added zboot from OpenBSD.
 1.1.16.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file compat_linux.h was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file compat_linux.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file compat_linux.h was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2 18-Jan-2012  nonaka Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.18; 1.1.22;
Added zboot from OpenBSD.
 1.1.22.1 18-Feb-2012  mrg merge to -current.
 1.1.18.1 17-Apr-2012  yamt sync with head
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file conf.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file conf.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file conf.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file crt0.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file crt0.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file crt0.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2 18-Jan-2012  nonaka Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.18; 1.1.22;
Added zboot from OpenBSD.
 1.1.22.1 18-Feb-2012  mrg merge to -current.
 1.1.18.1 17-Apr-2012  yamt sync with head
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file devopen.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file devopen.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file devopen.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file disk.h was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file disk.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file disk.h was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.4 02-Jan-2015  christos 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.3 18-Jan-2012  nonaka branches: 1.3.6; 1.3.24;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.2 20-Jun-2011  nonaka branches: 1.2.2; 1.2.6;
support SL-C1000.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.16;
Added zboot from OpenBSD.
 1.1.16.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file diskprobe.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file diskprobe.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file diskprobe.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.6.1 18-Feb-2012  mrg merge to -current.
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.24.1 06-Apr-2015  skrll Sync with HEAD
 1.3.6.1 03-Dec-2017  jdolecek update from HEAD
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file getsecs.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file getsecs.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file getsecs.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file loadfile_zboot.c was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file loadfile_zboot.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file loadfile_zboot.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.1 18-Jan-2012  nonaka branches: 1.1.4; 1.1.6;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 18-Jan-2012  yamt file pathfs.c was added on branch yamt-pagecache on 2012-04-17 00:07:13 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 18-Jan-2012  mrg file pathfs.c was added on branch jmcneill-usbmp on 2012-02-18 07:33:52 +0000
 1.1 18-Jan-2012  nonaka branches: 1.1.4; 1.1.6;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 18-Jan-2012  yamt file pathfs.h was added on branch yamt-pagecache on 2012-04-17 00:07:13 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 18-Jan-2012  mrg file pathfs.h was added on branch jmcneill-usbmp on 2012-02-18 07:33:52 +0000
 1.4 28-Jun-2014  rtr patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
 1.3 18-Jan-2012  nonaka branches: 1.3.6; 1.3.20;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.2 20-Jun-2011  nonaka branches: 1.2.2; 1.2.6;
support SL-C1000.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.16;
Added zboot from OpenBSD.
 1.1.16.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file pathnames.h was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file pathnames.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file pathnames.h was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.6.1 18-Feb-2012  mrg merge to -current.
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.20.1 10-Aug-2014  tls Rebase.
 1.3.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file termios.c was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file termios.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file termios.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file termios.h was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file termios.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file termios.h was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.3 26-Mar-2014  christos use snprintf
 1.2 01-Dec-2013  joerg Use format string.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.18; 1.1.28; 1.1.32;
Added zboot from OpenBSD.
 1.1.32.1 18-May-2014  rmind sync with head
 1.1.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.18.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.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file unixcons.c was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file unixcons.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file unixcons.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.4 04-Nov-2013  christos fix unused variables
 1.3 18-Jan-2012  nonaka branches: 1.3.6; 1.3.10;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.2 17-Jul-2011  joerg branches: 1.2.2; 1.2.6;
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 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added zboot from OpenBSD.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file unixdev.c was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file unixdev.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file unixdev.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.6.1 18-Feb-2012  mrg merge to -current.
 1.2.2.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.2.2.1 17-Apr-2012  yamt sync with head
 1.3.10.1 18-May-2014  rmind sync with head
 1.3.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3 18-Jan-2012  nonaka Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.2 20-Jun-2011  nonaka branches: 1.2.2; 1.2.6;
support SL-C1000.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.16;
Added zboot from OpenBSD.
 1.1.16.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file unixdev.h was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file unixdev.h was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file unixdev.h was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.6.1 18-Feb-2012  mrg merge to -current.
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.2 20-Jun-2011  nonaka support SL-C1000.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.16;
Added zboot from OpenBSD.
 1.1.16.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file unixsys.S was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file unixsys.S was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file unixsys.S was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.3 18-Jan-2012  nonaka Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.2 20-Jun-2011  nonaka branches: 1.2.2; 1.2.6;
support SL-C1000.
 1.1 02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.16;
Added zboot from OpenBSD.
 1.1.16.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 02-Mar-2009  jym file version was added on branch jym-xensuspend on 2009-05-13 17:18:55 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 02-Mar-2009  yamt file version was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1 02-Mar-2009  skrll file version was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.6.1 18-Feb-2012  mrg merge to -current.
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.12 26-Oct-2019  tsutsui Misc cleanup to avoid future confusion.

- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding
 1.11 23-Sep-2019  christos Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
 1.10 31-Jan-2016  christos branches: 1.10.10; 1.10.18; 1.10.22;
include bsd.init.mk to get Makefile.inc
 1.9 14-Oct-2014  nonaka branches: 1.9.2;
Avoid "unhandled relocation of type 3 for" error when load module.
"insmod zbsdmod.o" is successful now.
 1.8 15-Dec-2013  joerg branches: 1.8.4;
Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
 1.7 01-May-2013  matt branches: 1.7.4;
Force abi/float-abi/cpu
Only allow to build on little-endian.
Force MACHINE to be zaurus.
 1.6 11-Dec-2011  nonaka branches: 1.6.6;
- WARNS=4
- object size is more smaller.
 1.5 13-Apr-2009  nonaka branches: 1.5.12; 1.5.16;
Use <bsd.klinks.mk> to create ${MACHINE} and ${MACHINE_ARCH} symlinks.
 1.4 17-Oct-2007  garbled branches: 1.4.20; 1.4.28; 1.4.34;
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 17-Aug-2007  he branches: 1.3.2;
Use $INSTALL_FILE, not just $INSTALL so that unpriviliged builds work.
 1.2 09-Aug-2007  nonaka build and install zbsdmod.o.
 1.1 17-Dec-2006  peter branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12; 1.1.20; 1.1.24; 1.1.26; 1.1.28;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1.28.2 03-Sep-2007  jmcneill Sync with HEAD.
 1.1.28.1 16-Aug-2007  jmcneill Sync with HEAD.
 1.1.26.1 01-Nov-2007  rjs Sync with HEAD.
 1.1.24.2 03-Sep-2007  skrll Sync with HEAD.
 1.1.24.1 15-Aug-2007  skrll Sync with HEAD.
 1.1.20.1 03-Oct-2007  garbled Sync with HEAD
 1.1.12.1 20-Aug-2007  ad Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 17-Dec-2006  ad file Makefile was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.1.4.3 03-Sep-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 17-Dec-2006  yamt file Makefile was added on branch yamt-lazymbuf on 2006-12-30 20:47:31 +0000
 1.1.2.2 18-Dec-2006  yamt sync with head.
 1.1.2.1 17-Dec-2006  yamt file Makefile was added on branch yamt-splraiseipl on 2006-12-18 11:42:12 +0000
 1.3.2.1 06-Nov-2007  matt sync with HEAD
 1.4.34.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4.28.1 28-Apr-2009  skrll Sync with HEAD.
 1.4.20.1 04-May-2009  yamt sync with head.
 1.5.16.1 18-Feb-2012  mrg merge to -current.
 1.5.12.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.5.12.1 17-Apr-2012  yamt sync with head
 1.6.6.3 03-Dec-2017  jdolecek update from HEAD
 1.6.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.6.1 23-Jun-2013  tls resync from head
 1.7.4.1 18-May-2014  rmind sync with head
 1.8.4.1 15-Oct-2014  martin Pull up following revision(s) (requested by nonaka in ticket #141):
sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.9
Avoid "unhandled relocation of type 3 for" error when load module.
"insmod zbsdmod.o" is successful now.
 1.9.2.1 19-Mar-2016  skrll Sync with HEAD
 1.10.22.1 03-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #391):

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.10.18.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.10.10.1 03-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #1420):

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.7 28-Oct-2019  tsutsui Make sure to clear bss before jumping to a kernel copied from load buffer.

This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.6 11-Dec-2011  nonaka branches: 1.6.40; 1.6.48; 1.6.52;
- WARNS=4
- object size is more smaller.
 1.5 26-Dec-2010  nonaka branches: 1.5.8; 1.5.12;
Advertise printk() as a printf-like function. (from OpenBSD)
 1.4 17-Oct-2007  garbled branches: 1.4.42;
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 28-Jun-2007  nonaka branches: 1.3.10;
Added RCS Id.
 1.2 28-Jun-2007  nonaka remove unused function.
 1.1 17-Dec-2006  peter branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12; 1.1.14; 1.1.20;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1.20.1 03-Oct-2007  garbled Sync with HEAD
 1.1.14.1 11-Jul-2007  mjf Sync with head.
 1.1.12.1 15-Jul-2007  ad Sync with head.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 17-Dec-2006  ad file compat_linux.h was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.1.4.3 03-Sep-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 17-Dec-2006  yamt file compat_linux.h was added on branch yamt-lazymbuf on 2006-12-30 20:47:31 +0000
 1.1.2.2 18-Dec-2006  yamt sync with head.
 1.1.2.1 17-Dec-2006  yamt file compat_linux.h was added on branch yamt-splraiseipl on 2006-12-18 11:42:12 +0000
 1.3.10.1 06-Nov-2007  matt sync with HEAD
 1.4.42.1 05-Mar-2011  rmind sync with head
 1.5.12.1 18-Feb-2012  mrg merge to -current.
 1.5.8.1 17-Apr-2012  yamt sync with head
 1.6.52.1 03-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #391):

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.6.48.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.6.40.1 03-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #1420):

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.12 13-Nov-2019  tsutsui Make zaurus kernels use symbol tables loaded by the bootloader.

Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).

Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:
https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.11 28-Oct-2019  tsutsui Make sure to clear bss before jumping to a kernel copied from load buffer.

This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.10 26-Oct-2019  tsutsui Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.
Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.9 02-Dec-2013  joerg branches: 1.9.22; 1.9.30; 1.9.34;
Don't use cpsr_all/spsr_all with mrs, it doesn't take a mask.
 1.8 16-Dec-2011  nonaka branches: 1.8.6; 1.8.10;
more clean D-cache.
 1.7 11-Dec-2011  nonaka - WARNS=4
- object size is more smaller.
 1.6 05-May-2011  nonaka branches: 1.6.4; 1.6.8;
Reduce kernel size.
Tested on SL-C1000.

Fix PR/44898.
 1.5 26-Dec-2010  nonaka branches: 1.5.2;
Add missing argument to printk(). (from OpenBSD)
 1.4 02-Mar-2009  nonaka branches: 1.4.4;
Added zboot from OpenBSD.
 1.3 12-Nov-2008  ad branches: 1.3.4;
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.2 11-Apr-2008  nonaka branches: 1.2.4; 1.2.10; 1.2.12;
increase bsdimage size.
 1.1 17-Dec-2006  peter branches: 1.1.2; 1.1.4; 1.1.6; 1.1.50;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1.50.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.50.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 17-Dec-2006  ad file zbsdmod.c was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 17-Dec-2006  yamt file zbsdmod.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:31 +0000
 1.1.2.2 18-Dec-2006  yamt sync with head.
 1.1.2.1 17-Dec-2006  yamt file zbsdmod.c was added on branch yamt-splraiseipl on 2006-12-18 11:42:12 +0000
 1.2.12.2 03-Mar-2009  skrll Sync with HEAD.
 1.2.12.1 19-Jan-2009  skrll Sync with HEAD.
 1.2.10.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.4.1 04-May-2009  yamt sync with head.
 1.3.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4.4.2 31-May-2011  rmind sync with head
 1.4.4.1 05-Mar-2011  rmind sync with head
 1.5.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6.8.1 18-Feb-2012  mrg merge to -current.
 1.6.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.6.4.1 17-Apr-2012  yamt sync with head
 1.8.10.1 18-May-2014  rmind sync with head
 1.8.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.34.2 16-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #431):

sys/arch/zaurus/conf/GENERIC: revision 1.89
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.12
sys/arch/zaurus/conf/INSTALL: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.45

Make zaurus kernels use symbol tables loaded by the bootloader.

Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).
Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:

https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.9.34.1 03-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #391):

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.9.30.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.9.22.2 16-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #1446):

sys/arch/zaurus/conf/GENERIC: revision 1.89
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.12
sys/arch/zaurus/conf/INSTALL: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.45
sys/arch/zaurus/conf/GENERIC: revision 1.85

Yes, we need to load symbols, but we don't need the whole DDB infrastructure
for that.

bye ddb and we fit again.

Make zaurus kernels use symbol tables loaded by the bootloader.
Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).

Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:

https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.9.22.1 03-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #1420):

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.

RSS XML Feed