OpenGrok
Cross Reference: disklabel.c
xref
: /
src
/
sys
/
arch
/
luna68k
/
stand
/
boot
/
disklabel.c
Home
|
History
|
Annotate
|
Download
|
only in
boot
History log of
/src/sys/arch/luna68k/stand/boot/disklabel.c
Revision
Date
Author
Comments
1.10
14-Feb-2015
tsutsui
Explicitly denote static functions.
1.9
14-Feb-2015
tsutsui
Don't use cnputc() directly in an application layer.
1.8
14-Feb-2015
tsutsui
Misc KNF and cosmetics.
1.7
14-Feb-2015
tsutsui
Use proper signedness and exact-width interger types.
1.6
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.5
24-Mar-2014
martin
branches: 1.5.6;
PR port-luna68k/48677: fix some typos.
From shinnashi takeshi.
1.4
11-Jan-2014
tsutsui
Misc KNF and cosmetics.
1.3
22-Jan-2013
tsutsui
branches: 1.3.2; 1.3.4; 1.3.6;
Whitespace cleanup.
1.2
10-Jan-2013
tsutsui
Make "disklabel" command print correct disklabel info.
- use exact-width interger types to define on-disk format
(daddr_t could be a different size)
- use proper LABELOFFSET to locate BSD disklabel
(LABELOFFSET for luna68k is 64 as 4.4BSD-Lite2 while other
ports that use sun_disklabel use 128)
1.1
05-Jan-2013
tsutsui
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.3.6.4
03-Dec-2017
jdolecek
update from HEAD
1.3.6.3
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.3.6.2
25-Feb-2013
tls
resync with head
1.3.6.1
22-Jan-2013
tls
file disklabel.c was added on branch tls-maxphys on 2013-02-25 00:28:48 +0000
1.3.4.1
18-May-2014
rmind
sync with head
1.3.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.3.2.2
23-Jan-2013
yamt
sync with head
1.3.2.1
22-Jan-2013
yamt
file disklabel.c was added on branch yamt-pagecache on 2013-01-23 00:05:53 +0000
1.5.6.1
06-Apr-2015
skrll
Sync with HEAD
Indexes created Sun Oct 19 01:09:53 GMT 2025