Home | History | Annotate | Download | only in boot
History log of /src/sys/arch/luna68k/stand/boot/machdep.c
RevisionDateAuthorComments
 1.9  25-Sep-2024  rin luna68k/boot: Silence GCC12 -Warray-bounds for regdump()

Dereference to `(int *)(&rp) - 1` (SR in H/W exception frame) is
blamed by GCC12 and later. Just silence as done for m68k/regdump.c.

Finally fix luna68k build.
 1.8  27-Oct-2019  martin Back out previous - fixed differently by rin already.
 1.7  27-Oct-2019  martin Define _KERNEL while including reg.h: we need the (now protected) register
names.
 1.6  06-Apr-2019  thorpej Overhaul the API used to fetch and store individual memory cells in
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms. The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.
 1.5  14-Feb-2015  tsutsui branches: 1.5.18;
Explicitly denote static functions.
 1.4  14-Feb-2015  tsutsui Misc KNF and cosmetics.
 1.3  16-Apr-2014  tsutsui branches: 1.3.4;
Appease gcc 4.8 -Wunused-but-set-variable warnings.
 1.2  11-Jan-2014  tsutsui branches: 1.2.2;
Misc KNF and cosmetics.
 1.1  05-Jan-2013  tsutsui branches: 1.1.2; 1.1.4; 1.1.6;
First cut at NetBSD/luna68k native bootloader.

Based on 4.4BSD-Lite2/luna68k "Stinger" loader revision "Phase-31"
http://svnweb.freebsd.org/csrg/sys/luna68k/stand/
and MI libsa glue stuff are taken from hp300 etc.

Tested on LUNA-I and old DK315C SCSI disk drive.

LUNA's monitor PROM can load only an a.out binary in 4.3BSD FFS partition
(i.e. created by "newfs -O 0") on disks with OMRON's UniOS disklabel,
but now we can load an ELF kernel in root partition via this bootloader.
(See luna68k/disksubr.c for details of UniOS label)

TODO:
- LUNA-II support (check 68040 to adjust cpuspeed for DELAY())
- secondary SCSI support for LUNA-II
- netboot via le(4) (should be trivial)
- support boot options on bootloader prompt
- bootinfo (passing info about booted device and kernel symbols)
- support "press return to boot now, any other key for boot menu" method
like x86 bootloader (needs cnscan() like functions)
- tapeboot (anyone wants it?)
 1.1.6.4  03-Dec-2017  jdolecek update from HEAD
 1.1.6.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.2  25-Feb-2013  tls resync with head
 1.1.6.1  05-Jan-2013  tls file machdep.c was added on branch tls-maxphys on 2013-02-25 00:28:49 +0000
 1.1.4.1  18-May-2014  rmind sync with head
 1.1.2.3  22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.2.2  23-Jan-2013  yamt sync with head
 1.1.2.1  05-Jan-2013  yamt file machdep.c was added on branch yamt-pagecache on 2013-01-23 00:05:54 +0000
 1.2.2.1  10-Aug-2014  tls Rebase.
 1.3.4.1  06-Apr-2015  skrll Sync with HEAD
 1.5.18.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed