Home | History | Annotate | only in /src/sys/arch/x68k/stand/boot_ufs
History log of /src/sys/arch/x68k/stand/boot_ufs
RevisionDateAuthorComments
 1.39 11-Jan-2023  isaki Add udivdi3/umoddi3 (and ashldi3) that were required by recent UFS change.
This increases xxboot_ufs from about 4.5KB to 5.5KB (The upper limit is 8KB).
Thanks tsutsui@ for advices.
 1.38 15-Dec-2021  christos branches: 1.38.4;
-W === -Wextra
 1.37 15-Dec-2021  christos remove naked -W
 1.36 18-Jan-2020  isaki Check whether the text+data+bss doesn't reach 0x6000 where secondary
bootloader should be.
 1.35 18-Jan-2020  isaki Use ASSERT() in ldscript to check first_kbyte (etc) restrictions,
rather than complicated shell expressions in Makefile.
 1.34 18-Jan-2020  isaki Change primary bootloader's load address from 0x0f0000 to 0x003000.
- Moving addresses closer eliminates bunch of this linker errors:
in function `entry0':
relocation truncated to fit: R_68K_16 against `edata'+ffffffffffff8000
:
- By this change, harmful -noinhibit-exec option can also be removed.
Finally, we can break the builds when assemble error occurs!
- Load address of secondary is 0x6000, so that this change limits
text+data+bss 12KB or less. Current actual size is 5~7KB.
I think it should be fine.
- cd9660 can have up to 30KB text+data in its bootarea. Even in this
case, this change limits text+data+bss 12KB or less (currently, it's
about 6KB). However, I take breaking the builds on errors rather than
future size limitation.
There is no user visible changes or interface changes.
 1.33 18-Jan-2020  isaki Add 0x prefix when defining variables, not when using it.
This was necessary for bc(1) but it's no longer necessary.
 1.32 18-Jan-2020  isaki Pass address constants from Makefile to ldscript.
 1.31 16-Jan-2020  isaki Rewrite limit check using cross-build tools.
This eliminates use of hosts tr(1) and bc(1).
(But I'm going to remove this again soon due to other reason)
 1.30 08-Apr-2017  christos branches: 1.30.14; 1.30.20;
centralize vers.c building for standalone programs.
 1.29 12-Aug-2013  joerg branches: 1.29.6; 1.29.10; 1.29.14;
Build boot loaders without unwind tables.
 1.28 15-Jun-2013  christos branches: 1.28.2;
revert previous
 1.27 15-Jun-2013  christos adjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs split
 1.26 11-Oct-2011  tsutsui branches: 1.26.2; 1.26.12;
Fix "Error occurs, please reset" boot problem on
X68030 + 060turbo in 060 mode, found on NetBSD booth
at OSC 2011 Hiroshima:

- use -D__daddr_t=int32_t for all bootloader files
to avoid 64 bit ops in FFS
- explicitly specify -m68020-60 to avoid 64 bit mulsl/mulul
instructions which need to be handled by 060SP emulation
but not available in 060turbo IPL ROM
(LFS still has uint64_t members even with 32bit daddr_t)

The problem was investigated (at least 1.6.2 bootloaders worked)
by Yasushi Oshima at OSC booth, and fixes have been confirmed
by Y.Sugahara on his 060turbo. Thanks everyone!

Should also be pulled up to netbsd-5.
 1.25 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.24 06-Jul-2010  mrg branches: 1.24.2; 1.24.4;
remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
 1.23 25-Oct-2008  apb branches: 1.23.4; 1.23.14; 1.23.16;
Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.22 19-Oct-2008  apb Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
 1.21 03-Mar-2007  isaki branches: 1.21.40; 1.21.44; 1.21.50;
-Wconversion is too strict.
 1.20 29-Jun-2006  lukem branches: 1.20.10;
Support MAKEVERBOSE
 1.19 29-Jun-2006  lukem Rename LDFLAGS to LINKFLAGS, as the former is for CC not LD.
 1.18 27-Dec-2005  he branches: 1.18.4; 1.18.8; 1.18.16;
Make this build again by using ${S}/../common/lib/libc/Makefile.inc,
after the libc/libkern consolidation.
 1.17 11-Dec-2005  christos merge ktrace-lwp.
 1.16 21-Mar-2004  itohy branches: 1.16.16;
Add notice on "relocation truncated to fit: R_68K_16" errors of ld.
Cleanup consistency check.
 1.15 30-Oct-2003  he Add -I${S} for <lib/libsa/stand.h> inclusion, and add
include of ../Makefile.booters for -ffreestanding.
 1.14 26-Oct-2003  lukem Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
 1.13 09-Apr-2003  itohy branches: 1.13.2;
Support UFS2 format for FFS.
 1.12 02-Feb-2003  isaki Use 32bit daddr_t.
 1.11 17-Mar-2002  minoura LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
 1.10 12-Dec-2001  lukem branches: 1.10.2;
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
 1.9 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.8 05-Dec-2001  minoura Correct LINKS to install sdboot_ufs properly.
 1.7 24-Nov-2001  minoura Emit the binaries directly from the loader.
 1.6 15-Oct-2001  minoura branches: 1.6.4;
Use newvers_stand.sh to record the version.
 1.5 01-Oct-2001  minoura Install as xxboot_*, and create links as fdboot_* and sdboot_*.
 1.4 28-Sep-2001  minoura Install as `boot_ufs'.
 1.3 27-Sep-2001  minoura Make these compile with the old (a.out) toolchain.
 1.2 27-Sep-2001  minoura Add some missing definitions.
 1.1 27-Sep-2001  minoura Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.6.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.6.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.6.4.1 15-Oct-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:28:45 +0000
 1.10.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.2.1 12-Dec-2001  thorpej file Makefile was added on branch kqueue on 2002-01-10 19:50:27 +0000
 1.13.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1 03-Aug-2004  skrll Sync with HEAD
 1.16.16.3 03-Sep-2007  yamt sync with head.
 1.16.16.2 30-Dec-2006  yamt sync with head.
 1.16.16.1 21-Jun-2006  yamt sync with head.
 1.18.16.1 13-Jul-2006  gdamore Merge from HEAD.
 1.18.8.1 11-Aug-2006  yamt sync with head
 1.18.4.1 09-Sep-2006  rpaulo sync with head
 1.20.10.1 12-Mar-2007  rmind Sync with HEAD.
 1.21.50.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.21.44.2 11-Aug-2010  yamt sync with head.
 1.21.44.1 04-May-2009  yamt sync with head.
 1.21.40.1 17-Jan-2009  mjf Sync with HEAD.
 1.23.16.1 05-Mar-2011  rmind sync with head
 1.23.14.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.23.4.1 17-Mar-2012  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1731):
sys/arch/x68k/stand/boot_ufs/Makefile: revision 1.26 via patch
sys/arch/x68k/stand/boot/version: revision 1.4 via patch
sys/arch/x68k/stand/libsa/Makefile: revision 1.27 via patch
sys/arch/x68k/stand/Makefile.booters: revision 1.7 via patch
sys/arch/x68k/stand/boot_ustar/Makefile: revision 1.19 via patch
Fix "Error occurs, please reset" boot problem on
X68030 + 060turbo in 060 mode, found on NetBSD booth
at OSC 2011 Hiroshima:
- use -D__daddr_t=int32_t for all bootloader files
to avoid 64 bit ops in FFS
- explicitly specify -m68020-60 to avoid 64 bit mulsl/mulul
instructions which need to be handled by 060SP emulation
but not available in 060turbo IPL ROM
(LFS still has uint64_t members even with 32bit daddr_t)
The problem was investigated (at least 1.6.2 bootloaders worked)
by Yasushi Oshima at OSC booth, and fixes have been confirmed
by Y.Sugahara on his 060turbo. Thanks everyone!
Should also be pulled up to netbsd-5.
Bump version to denote 060turbo boot fix.
 1.24.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.24.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.26.12.2 03-Dec-2017  jdolecek update from HEAD
 1.26.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.26.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.28.2.1 28-Aug-2013  rmind sync with head
 1.29.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.29.10.1 26-Apr-2017  pgoyette Sync with HEAD
 1.29.6.1 28-Aug-2017  skrll Sync with HEAD
 1.30.20.2 25-Jan-2020  ad Sync with head.
 1.30.20.1 17-Jan-2020  ad Sync with head.
 1.30.14.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.38.4.1 15-May-2023  martin Pull up following revision(s) (requested by chs in ticket #166):

sys/arch/x68k/stand/boot_ufs/Makefile: revision 1.39

Add udivdi3/umoddi3 (and ashldi3) that were required by recent UFS change.

This increases xxboot_ufs from about 4.5KB to 5.5KB (The upper limit is 8KB).

Thanks tsutsui@ for advices.
 1.19 28-Jan-2020  isaki Revert placing .bss right after .data, and make .bss fixed at 0x5000.
.bss placed right after .data was overwritten when first 1KB loads full
.text+.data.
 1.18 28-Jan-2020  isaki Use __bss_start rather than edata to point the beginning of .bss.
Currently the .bss is placed right after .data. In that case, edata
points to the beginning of .bss so that there is no visible changes at
least currently.
 1.17 18-Jan-2020  isaki Change primary bootloader's load address from 0x0f0000 to 0x003000.
- Moving addresses closer eliminates bunch of this linker errors:
in function `entry0':
relocation truncated to fit: R_68K_16 against `edata'+ffffffffffff8000
:
- By this change, harmful -noinhibit-exec option can also be removed.
Finally, we can break the builds when assemble error occurs!
- Load address of secondary is 0x6000, so that this change limits
text+data+bss 12KB or less. Current actual size is 5~7KB.
I think it should be fine.
- cd9660 can have up to 30KB text+data in its bootarea. Even in this
case, this change limits text+data+bss 12KB or less (currently, it's
about 6KB). However, I take breaking the builds on errors rather than
future size limitation.
There is no user visible changes or interface changes.
 1.16 18-Jan-2020  isaki Typo in comment. s/availble/available/
 1.15 18-Jan-2020  isaki Add comment and figure of address map.
 1.14 18-Jan-2020  isaki Initialize the screen in all primary bootloaders.
- Some IPL (or boot selector) don't do it, but current secondary bootloader
expects the screen to be initialized to display logo.
To keep messages (like version signature) displayed by primary bootloader,
this initialization should be done early in all primary bootloaders.
- For boot_ustar.S, relocates some registers to save bootinfo (%d0).
- Bumps version.

Confirmed on X68030+060turbo and my X68030. This problem was found on
X68030+060turbo at NetBSD booth in OSC 2011 Hiroshima (8+ years ago).
 1.13 16-Jan-2020  isaki Use .org directive to fix disklabel location instead of hand calculation.
If the code size before disklabel is less, zero is filled automatically.
If the code size before disklabel is exceeded, assembler stops with error.
Note that this changes a padding word in the current output binary from
a NOP instruction to zero but there are no functional changes.
 1.12 14-Jan-2020  isaki Clean up.
- B_KEYINP is no longer called from C.
- B_COLOR is no longer used.
 1.11 13-Jan-2020  isaki Typo in comment. s/LABELLOFFSET/LABELOFFSET/
 1.10 01-Nov-2012  isaki branches: 1.10.38; 1.10.44;
Fix typo in comment. s/d1/d0/
 1.9 21-Feb-2011  itohy branches: 1.9.4; 1.9.10; 1.9.14;
Cleanup my copyright notice.
 1.8 04-Mar-2007  christos branches: 1.8.66; 1.8.72; 1.8.74;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.7 11-Dec-2005  christos branches: 1.7.26;
merge ktrace-lwp.
 1.6 04-Dec-2003  keihan branches: 1.6.16;
netbsd.org -> NetBSD.org

All "netbsd.org" is now gone from src/sys/arch.
 1.5 09-Jun-2002  isaki branches: 1.5.6;
Divided 406 bytes disklabel area into 'nop' and 404 bytes area.
 1.4 24-Nov-2001  minoura branches: 1.4.2; 1.4.10;
boot_ufs can now used as the disk primary boot.
 1.3 28-Sep-2001  minoura branches: 1.3.4;
Update authors' mail addresses.
 1.2 27-Sep-2001  minoura Make these compile with the old (a.out) toolchain.
 1.1 27-Sep-2001  minoura Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.3.4.3 20-Jun-2002  nathanw Catch up to -current.
 1.3.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.3.4.1 28-Sep-2001  nathanw file boot.S was added on branch nathanw_sa on 2002-01-08 00:28:45 +0000
 1.4.10.1 15-Jul-2002  gehenna catch up with -current.
 1.4.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.1 24-Nov-2001  thorpej file boot.S was added on branch kqueue on 2002-01-10 19:50:28 +0000
 1.5.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.1 03-Sep-2007  yamt sync with head.
 1.7.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.8.74.1 05-Mar-2011  bouyer Sync with HEAD
 1.8.72.1 06-Jun-2011  jruoho Sync with HEAD.
 1.8.66.1 05-Mar-2011  rmind sync with head
 1.9.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.9.10.1 24-Nov-2012  jdc Pull up revisions:
src/sys/arch/x68k/stand/boot_ufs/boot.S revision 1.10
src/sys/arch/x68k/stand/boot/dp8390.c revision 1.2
src/sys/arch/x68k/stand/boot/dp8390.h revision 1.2
src/sys/arch/x68k/stand/boot/if_ne.c revision 1.2
src/sys/arch/x68k/stand/boot/ne.c revision 1.2
src/sys/arch/x68k/stand/libsa/clock.c revision 1.2
src/sys/arch/x68k/stand/netboot/Makefile revision 1.2
src/sys/arch/x68k/stand/netboot/boot.c revision 1.2
src/sys/arch/x68k/stand/netboot/conf.c revision 1.2
src/sys/arch/x68k/stand/bootlogo/MANIFEST delete
src/sys/arch/x68k/stand/bootlogo/netbsd.xpm delete
src/sys/arch/x68k/stand/bootlogo/setbootimg.c delete
src/sys/arch/x68k/stand/bootlogo/xpm2bootimg.c delete
src/sys/arch/x68k/stand/xxboot/boot.S revisions 1.2,1.3
src/sys/arch/x68k/stand/xxboot/bootmain.c revisions 1.2,1.3,1.4
src/sys/arch/x68k/stand/xxboot/xx.c revision 1.2
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile revisions 1.2,1.3,1.4
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile revisions 1.2,1.3,1.4
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile revisions 1.2,1.3,1.4
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile revisions 1.2,1.3,1.4
src/sys/arch/x68k/stand/xxboot/version revision 1.2
src/sys/arch/x68k/stand/xxboot/cdboot_cd9660/Makefile revision 1.2
src/sys/arch/x68k/stand/libsa/sdcd.c revision 1.14
(requested by tsutsui in ticket #707).

Fix typo in comment. s/d1/d0/

Remove my local RCS IDs.

Remove x68k/stand/bootlogo/ directory.
It was a tool before the bootloader becomes multi-stage (>10 years ago),
and it does not work anymore today.

Pull fixes in comments from x68k/stand/boot_ufs/boot.S rev 1.9 and 1.10.

Use a correct function name in .globl decl.

- fix comments
- use proper uintNN_t types
- use ANSI function decls
- remove unnecessary function decl
- remove __P()
- misc KNF and cosmetics

- use declarations in <lib/libsa/stand.h>
- remove __P() and some KNF
- remove extern variable decl
- use uintNN_t type

Set *file for FS_OPS() pathname properly in devopen().
Now bootxx_ffsv1 (and other bootxx ufs variants) work properly.

XXX: cd9660_open() in sys/lib/libsa/cd9660.c seems to open a file in
the first entry of root directory if specified path is empty.
Not sure if it's intentional behavoir.

Appease warning "nbmake: ${TOUCHPROG} expands to empty string".

Fix previous; no need to echo dummy command.

Make xxboot for ufs variants actually functional:
- set bootdev properly even on SCSI HD and floppy boot
per SDBOOT/FDBOOT/CDBOOT defines in each Makefile
- always print xxboot name and version
- use IOCS PRINT calls instead of printf to avoid size overflow in DEBUG case
- wrap debug stuff with #ifdef XXBOOT_DEBUG
- bump version to denote changes
Mostly taken from old boot_ufs.

XXX: xxboot_lfs[12] are untested.

Make sure to initialize partition offset in cdopen(),
i.e. fix an uninitialized auto variable which happened
to be zero on XM6i emulator.

Now cdboot also works on real X68030.
 1.9.4.1 16-Jan-2013  yamt sync with (a bit old) head
 1.10.44.3 29-Feb-2020  ad Sync with head.
 1.10.44.2 25-Jan-2020  ad Sync with head.
 1.10.44.1 17-Jan-2020  ad Sync with head.
 1.10.38.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6 14-Jan-2020  isaki Clean up.
- B_KEYINP is no longer called from C.
- B_COLOR is no longer used.
 1.5 14-Mar-2009  dsl branches: 1.5.64; 1.5.70;
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 24-Dec-2007  perry branches: 1.4.10; 1.4.18; 1.4.24;
Remove __attribute__((__noreturn__)) from things already marked __dead
Found by the department of redundancy department.
 1.3 04-Aug-2006  mhitch branches: 1.3.34; 1.3.44; 1.3.48;
gcc4 fix: gcc4 more strict on checking signed/unsigned.
 1.2 17-Mar-2002  minoura branches: 1.2.28; 1.2.42; 1.2.46;
LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
 1.1 27-Sep-2001  minoura branches: 1.1.4; 1.1.6;
Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.1.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.1 27-Sep-2001  thorpej file boot_ufs.h was added on branch kqueue on 2002-01-10 19:50:28 +0000
 1.1.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.1 27-Sep-2001  nathanw file boot_ufs.h was added on branch nathanw_sa on 2002-04-01 07:43:43 +0000
 1.2.46.1 11-Aug-2006  yamt sync with head
 1.2.42.1 09-Sep-2006  rpaulo sync with head
 1.2.28.2 21-Jan-2008  yamt sync with head
 1.2.28.1 30-Dec-2006  yamt sync with head.
 1.3.48.1 02-Jan-2008  bouyer Sync with HEAD
 1.3.44.1 26-Dec-2007  ad Sync with head.
 1.3.34.1 09-Jan-2008  matt sync with HEAD
 1.4.24.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4.18.1 28-Apr-2009  skrll Sync with HEAD.
 1.4.10.1 04-May-2009  yamt sync with head.
 1.5.70.1 17-Jan-2020  ad Sync with head.
 1.5.64.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.8 28-Jan-2020  isaki Revert placing .bss right after .data, and make .bss fixed at 0x5000.
.bss placed right after .data was overwritten when first 1KB loads full
.text+.data.
 1.7 18-Jan-2020  isaki Check whether the text+data+bss doesn't reach 0x6000 where secondary
bootloader should be.
 1.6 18-Jan-2020  isaki Make .bss follows .data to detect size restriction easier.
Previously, if text+data exceeds the restricted size, it will conflict
with manually fixed .bss area and ldscript makes it an error.
By this change, ASSERT() can detect it.
 1.5 18-Jan-2020  isaki Use ASSERT() in ldscript to check first_kbyte (etc) restrictions,
rather than complicated shell expressions in Makefile.
 1.4 18-Jan-2020  isaki Remove commented out ALIGN() operation.
It looks unnecessary and has never been used.
 1.3 18-Jan-2020  isaki Pass address constants from Makefile to ldscript.
 1.2 24-Nov-2001  minoura branches: 1.2.2; 1.2.208; 1.2.214;
Emit the binaries directly from the loader.
 1.1 27-Sep-2001  minoura branches: 1.1.4;
Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.1.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.4.1 27-Sep-2001  nathanw file boot_ufs.ldscript was added on branch nathanw_sa on 2002-01-08 00:28:45 +0000
 1.2.214.2 29-Feb-2020  ad Sync with head.
 1.2.214.1 25-Jan-2020  ad Sync with head.
 1.2.208.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1 24-Nov-2001  thorpej file boot_ufs.ldscript was added on branch kqueue on 2002-01-10 19:50:28 +0000
 1.14 14-Jun-2019  isaki Add missing newline.
 1.13 17-Jul-2010  isaki branches: 1.13.60;
Add a missing newline in BOOT_DEBUG mode.
 1.12 18-Mar-2009  cegger branches: 1.12.2; 1.12.4;
Ansify function definitions w/o arguments. Generated with sed.
 1.11 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.10 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.9 18-Dec-2008  isaki branches: 1.9.2;
Sync with other m68k ports.
- Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE.
- Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
 1.8 11-Dec-2005  christos branches: 1.8.74; 1.8.78; 1.8.86;
merge ktrace-lwp.
 1.7 25-Aug-2005  he Make these first-stage boot loaders use a locally-defined ino32_t
instead of introducing 64-bit operations in these space-constrained
pieces of code with the recent change to ino_t. This is patterned
slightly after recent changes to libsa's ufs.c.

Approved by christos.
 1.6 30-Oct-2003  he branches: 1.6.16;
Add include of <lib/libsa/stand.h> for memcpy() and memset() prototypes.
 1.5 09-Apr-2003  itohy branches: 1.5.2;
Support UFS2 format for FFS.
 1.4 24-Nov-2001  minoura branches: 1.4.2;
boot_ufs can now used as the disk primary boot.
 1.3 15-Oct-2001  minoura branches: 1.3.4;
Use newvers_stand.sh to record the version.
 1.2 15-Oct-2001  minoura Prepare to set WARNS=2.
 1.1 27-Sep-2001  minoura Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.3.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.3.4.1 15-Oct-2001  nathanw file bootmain.c was added on branch nathanw_sa on 2002-01-08 00:28:45 +0000
 1.4.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.1 24-Nov-2001  thorpej file bootmain.c was added on branch kqueue on 2002-01-10 19:50:29 +0000
 1.5.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.1 21-Jun-2006  yamt sync with head.
 1.8.86.2 28-Apr-2009  skrll Sync with HEAD.
 1.8.86.1 19-Jan-2009  skrll Sync with HEAD.
 1.8.78.2 11-Aug-2010  yamt sync with head.
 1.8.78.1 04-May-2009  yamt sync with head.
 1.8.74.1 17-Jan-2009  mjf Sync with HEAD.
 1.9.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.12.4.1 05-Mar-2011  rmind sync with head
 1.12.2.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.13.60.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.15 22-Jan-2013  dholland Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
 1.14 21-Feb-2011  itohy branches: 1.14.4; 1.14.14;
Cleanup my copyright notice.
 1.13 18-Mar-2009  cegger branches: 1.13.4; 1.13.6; 1.13.8;
Ansify function definitions w/o arguments. Generated with sed.
 1.12 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.11 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.10 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.9 12-Jan-2009  tsutsui branches: 1.9.2;
- WARNSfy
- make sure machine and ${MACHIN_ARCH} symlinks are always created
- several tweaks to allow build without installed DESTDIR
 1.8 04-Mar-2007  christos branches: 1.8.40; 1.8.44; 1.8.52;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.7 11-Dec-2005  christos branches: 1.7.26;
merge ktrace-lwp.
 1.6 25-Aug-2005  he Make these first-stage boot loaders use a locally-defined ino32_t
instead of introducing 64-bit operations in these space-constrained
pieces of code with the recent change to ino_t. This is patterned
slightly after recent changes to libsa's ufs.c.

Approved by christos.
 1.5 04-Dec-2003  keihan branches: 1.5.16;
netbsd.org -> NetBSD.org

All "netbsd.org" is now gone from src/sys/arch.
 1.4 09-Apr-2003  itohy branches: 1.4.2;
Support UFS2 format for FFS.
 1.3 24-Jan-2003  fvdl Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
 1.2 17-Mar-2002  minoura LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
 1.1 27-Sep-2001  minoura branches: 1.1.4; 1.1.6;
Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.1.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.1 27-Sep-2001  thorpej file readufs.c was added on branch kqueue on 2002-01-10 19:50:29 +0000
 1.1.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.1 27-Sep-2001  nathanw file readufs.c was added on branch nathanw_sa on 2002-04-01 07:43:43 +0000
 1.4.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.5.16.2 03-Sep-2007  yamt sync with head.
 1.5.16.1 21-Jun-2006  yamt sync with head.
 1.7.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.8.52.2 28-Apr-2009  skrll Sync with HEAD.
 1.8.52.1 19-Jan-2009  skrll Sync with HEAD.
 1.8.44.1 04-May-2009  yamt sync with head.
 1.8.40.1 17-Jan-2009  mjf Sync with HEAD.
 1.9.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.13.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.13.4.1 05-Mar-2011  rmind sync with head
 1.14.14.1 25-Feb-2013  tls resync with head
 1.14.4.1 23-Jan-2013  yamt sync with head
 1.13 21-Aug-2015  christos fix build (dholland)
 1.12 18-Jun-2013  christos branches: 1.12.10;
Prefix most of the cpp macros with lfs_ and LFS_ to avoid conflicts with ffs.
This was done so that boot blocks that want to compile both FFS and LFS in
the same file work.
 1.11 15-Jun-2013  christos adjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs split
 1.10 21-Feb-2011  itohy branches: 1.10.4; 1.10.14;
Cleanup my copyright notice.
 1.9 14-Mar-2009  dsl branches: 1.9.4; 1.9.6; 1.9.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.8 11-Dec-2005  christos branches: 1.8.78; 1.8.86; 1.8.92;
merge ktrace-lwp.
 1.7 25-Aug-2005  he Make these first-stage boot loaders use a locally-defined ino32_t
instead of introducing 64-bit operations in these space-constrained
pieces of code with the recent change to ino_t. This is patterned
slightly after recent changes to libsa's ufs.c.

Approved by christos.
 1.6 04-Dec-2003  keihan branches: 1.6.16;
netbsd.org -> NetBSD.org

All "netbsd.org" is now gone from src/sys/arch.
 1.5 22-Oct-2003  itohy Fix in debug code (no functional changes).
 1.4 09-Apr-2003  itohy branches: 1.4.2;
Support UFS2 format for FFS.
 1.3 24-Jan-2003  fvdl Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
 1.2 17-Mar-2002  minoura LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
 1.1 27-Sep-2001  minoura branches: 1.1.4; 1.1.6;
Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.1.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.1 27-Sep-2001  thorpej file readufs.h was added on branch kqueue on 2002-01-10 19:50:29 +0000
 1.1.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.1 27-Sep-2001  nathanw file readufs.h was added on branch nathanw_sa on 2002-04-01 07:43:44 +0000
 1.4.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.1 21-Jun-2006  yamt sync with head.
 1.8.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.8.78.1 04-May-2009  yamt 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.10.14.2 03-Dec-2017  jdolecek update from HEAD
 1.10.14.1 23-Jun-2013  tls resync from head
 1.10.4.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.12.10.1 22-Sep-2015  skrll Sync with HEAD
 1.15 17-Nov-2022  chs Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems
from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended
attributes in the process).
 1.14 23-Jun-2013  dholland fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)
 1.13 21-Feb-2011  itohy branches: 1.13.4; 1.13.14;
Cleanup my copyright notice.
 1.12 18-Mar-2009  cegger branches: 1.12.4; 1.12.6; 1.12.8;
Ansify function definitions w/o arguments. Generated with sed.
 1.11 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.10 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.9 11-Dec-2005  christos branches: 1.9.78; 1.9.86; 1.9.92;
merge ktrace-lwp.
 1.8 25-Aug-2005  he Make these first-stage boot loaders use a locally-defined ino32_t
instead of introducing 64-bit operations in these space-constrained
pieces of code with the recent change to ino_t. This is patterned
slightly after recent changes to libsa's ufs.c.

Approved by christos.
 1.7 27-Mar-2004  dsl branches: 1.7.16;
Rework previous to avoid checking FS_FLAGS_UPDATED for ffsv2
 1.6 21-Mar-2004  dsl A better fix for PR kern/24809, old filesystems should work ok now!
 1.5 20-Mar-2004  dsl When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809
 1.4 04-Dec-2003  keihan netbsd.org -> NetBSD.org

All "netbsd.org" is now gone from src/sys/arch.
 1.3 09-Apr-2003  itohy branches: 1.3.2;
Support UFS2 format for FFS.
 1.2 17-Mar-2002  minoura LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
 1.1 27-Sep-2001  minoura branches: 1.1.4; 1.1.6;
Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.1.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.1 27-Sep-2001  thorpej file readufs_ffs.c was added on branch kqueue on 2002-01-10 19:50:29 +0000
 1.1.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.1 27-Sep-2001  nathanw file readufs_ffs.c was added on branch nathanw_sa on 2002-04-01 07:43:44 +0000
 1.3.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.7.16.1 21-Jun-2006  yamt sync with head.
 1.9.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.9.78.1 04-May-2009  yamt sync with head.
 1.12.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.12.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.12.4.1 05-Mar-2011  rmind sync with head
 1.13.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.4.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.18 07-Jan-2024  isaki TAB/space/indent cleanup.
 1.17 21-Aug-2015  christos fix build (dholland)
 1.16 28-Jul-2015  christos fix build
 1.15 09-Dec-2013  wiz branches: 1.15.6;
Fix typo ("then" instead of "than")
 1.14 18-Jun-2013  christos branches: 1.14.2;
Prefix most of the cpp macros with lfs_ and LFS_ to avoid conflicts with ffs.
This was done so that boot blocks that want to compile both FFS and LFS in
the same file work.
 1.13 15-Jun-2013  christos adjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs split
 1.12 21-Feb-2011  itohy branches: 1.12.4; 1.12.14;
Cleanup my copyright notice.
 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 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.9 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.8 11-Dec-2005  christos branches: 1.8.78; 1.8.86; 1.8.92;
merge ktrace-lwp.
 1.7 25-Aug-2005  he Make these first-stage boot loaders use a locally-defined ino32_t
instead of introducing 64-bit operations in these space-constrained
pieces of code with the recent change to ino_t. This is patterned
slightly after recent changes to libsa's ufs.c.

Approved by christos.
 1.6 04-Dec-2003  keihan branches: 1.6.16;
netbsd.org -> NetBSD.org

All "netbsd.org" is now gone from src/sys/arch.
 1.5 22-Oct-2003  itohy Fix in debug code (no functional changes).
 1.4 09-Apr-2003  itohy branches: 1.4.2;
Support UFS2 format for FFS.
 1.3 24-Jan-2003  fvdl Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
 1.2 17-Mar-2002  minoura LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
 1.1 27-Sep-2001  minoura branches: 1.1.4; 1.1.6;
Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.1.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.1 27-Sep-2001  thorpej file readufs_lfs.c was added on branch kqueue on 2002-01-10 19:50:29 +0000
 1.1.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.1 27-Sep-2001  nathanw file readufs_lfs.c was added on branch nathanw_sa on 2002-04-01 07:43:44 +0000
 1.4.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.1 21-Jun-2006  yamt sync with head.
 1.8.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.8.78.1 04-May-2009  yamt sync with head.
 1.11.8.1 05-Mar-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.12.14.3 03-Dec-2017  jdolecek update from HEAD
 1.12.14.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.14.1 23-Jun-2013  tls resync from head
 1.12.4.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.14.2.1 18-May-2014  rmind sync with head
 1.15.6.1 22-Sep-2015  skrll Sync with HEAD
 1.4 18-Jan-2020  isaki Initialize the screen in all primary bootloaders.
- Some IPL (or boot selector) don't do it, but current secondary bootloader
expects the screen to be initialized to display logo.
To keep messages (like version signature) displayed by primary bootloader,
this initialization should be done early in all primary bootloaders.
- For boot_ustar.S, relocates some registers to save bootinfo (%d0).
- Bumps version.

Confirmed on X68030+060turbo and my X68030. This problem was found on
X68030+060turbo at NetBSD booth in OSC 2011 Hiroshima (8+ years ago).
 1.3 12-Jan-2020  isaki Fix broken RCS NetBSD tag.
 1.2 17-Mar-2002  minoura branches: 1.2.204; 1.2.210;
LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
 1.1 15-Oct-2001  minoura branches: 1.1.4; 1.1.6;
Use newvers_stand.sh to record the version.
 1.1.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.1 15-Oct-2001  thorpej file version was added on branch kqueue on 2002-01-10 19:50:30 +0000
 1.1.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.1 15-Oct-2001  nathanw file version was added on branch nathanw_sa on 2002-04-01 07:43:44 +0000
 1.2.210.2 25-Jan-2020  ad Sync with head.
 1.2.210.1 17-Jan-2020  ad Sync with head.
 1.2.204.1 08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed