History log of /src/usr.sbin/installboot/arch/vax.c |
Revision | | Date | Author | Comments |
1.20 |
| 24-Jan-2022 |
andvar | s/begining/beginning/ in comments and messages.
|
1.19 |
| 07-May-2019 |
thorpej | Use designated initializers for struct ib_mach.
|
1.18 |
| 13-Nov-2014 |
christos | branches: 1.18.16; Use VAX_LABELOFFSET here; It needs to be the machine-specific one. Thanks to gcc-4.8 for discovering the bug and to Atari for having a LABELOFFSET of 516 > 512 :-) XXX: Perhaps we should put all those constants in <sys/bootblock.h> instead of spreading them around.
|
1.17 |
| 16-Jun-2013 |
martin | branches: 1.17.6; In the tool build <nbinclude/vax/disklabel.h> is enough.
|
1.16 |
| 03-May-2013 |
matt | Make this build with the disk label change.
|
1.15 |
| 04-Apr-2013 |
martin | Provide an empty __CTASSERT() for toolbuilds
|
1.14 |
| 04-Apr-2013 |
martin | Fix installboot for VAX, as discussed on port-vax. Problem pointed out by Jonny Billquist, thanks to Marl Pizzolato for patiently explaining the various ways of booting a vax to me. Now VAX 780 can boot directly from VMB.EXE again.
|
1.13 |
| 05-Apr-2009 |
lukem | branches: 1.13.6; 1.13.8; 1.13.12; fix sign-compare issues
|
1.12 |
| 28-Apr-2008 |
martin | branches: 1.12.6; 1.12.8; Remove clause 3 and 4 from TNF licenses
|
1.11 |
| 18-Feb-2006 |
dsl | branches: 1.11.18; Move the MD definitions into the MD files, leaving machines.c with just a list of the supported machines.
|
1.10 |
| 27-Oct-2003 |
lukem | Overhaul how `build.sh tools' are used:
* Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
|
1.9 |
| 15-Apr-2003 |
dsl | Change the way -o options are parsed, now done in MI code with a check after all the options have been processed that they are supported my the specific system. Add i386 MD options (console, password, speed and timeout) (Approved by christos and lukem)
|
1.8 |
| 15-May-2002 |
lukem | - add fsstat (fstat(2) on fsfd) and s1stat (fstat(2) on s1fd) in ib_params, and use instead of replicating the effort in various locations - if filesystem is not a regular file, use sync(2) instead of fsync(2) after the bootstrap has been written - move <sys/stat.h> and <stdint.h> into "installboot.h"
|
1.7 |
| 14-May-2002 |
lukem | pull in <sys/bootblock.h> in "installboot.h" instead of in arch/*.c (and remove <dev/dec/dec_boot.h>, since <sys/bootblock.h> has that stuff now)
|
1.6 |
| 14-May-2002 |
lukem | user visible stuff: - add `-B s2bno', to provide the starting block for the secondary bootstrap. intended for use on platforms where the blocks of the stage2 bootstrap are hardcoded into the stage1 bootstrap (currently: sparc, sun2) - don't support `-b s1bno' for sparc or sun2, since the primary is always at a fixed location on the disk. - if `filesystem' is a regular file, use fsync(2) instead of sync(2)
code changes: - add hardcode_stage2(), which uses -B s2bno and the size of the provided secondary bootstrap (as an actual file, not as part of the `filesystem' argument) to provide a sequential list of blocks from s2bno, each block being the appropriate file system size (from params->fstype->blocksize) - add blocksize and needswap run-time parameters to ib_fs - in *_match(), set params->fstype->blocksize to the underlying block size (8KB for raw), and params->fstype->needswap as appropriate - rename IB_STARTBLOCK to IB_STAGE1START, and add IB_STAGE2START - use hardcode_stage2() to implement raw_findstage2() and IB_STAGE2BLOCK support for ffs_findstage2() - improve some comments, add some prototypes, ...
|
1.5 |
| 30-Apr-2002 |
lukem | display sector start & count in decimal rather than hex
|
1.4 |
| 25-Apr-2002 |
tv | HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when HAVE_CONFIG_H, rather than creating more stubs.
|
1.3 |
| 19-Apr-2002 |
lukem | - Add code from Matt Fredette <fredette@theory.lcs.mit.edu> to implement fstype checking, and back-end "ffs" support. - Consistently use at least uint32_t for blocknumbers (vs. int / long / ...) - Consistently use uintXX_t instead of u_intXX_t. - Move various duplicated prototypes into "installboot.h"
|
1.2 |
| 12-Apr-2002 |
lukem | - support optional secondary bootstrap arg for install (unused by existing backends, but future ones need it) - use "bootstrap" instead of "boot block" in various messages where appropriate - rename some members of ib_params
|
1.1 |
| 03-Apr-2002 |
lukem | Migrate MD files to arch/ subdir. Suggested by Hubert Feyrer.
|
1.11.18.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.12.8.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.12.6.3 |
| 17-Jun-2013 |
msaitoh | Fix compile error (requested by martin in ticket #1856): usr.sbin/installboot/arch/vax.c rev. 1.17
In the tool build <nbinclude/vax/disklabel.h> is enough.
|
1.12.6.2 |
| 14-Jun-2013 |
msaitoh | Pull up following revision(s) (requested by martin in ticket #1856): sys/sys/bootblock.h rev. 1.55 usr.sbin/installboot/arch/vax.c rev. 1.16 Adapt to new vax primary bootstrap layout. Don't include host's disklabel.h.
|
1.12.6.1 |
| 12-Jun-2013 |
msaitoh | Pull up following revision(s) (requested by martin in ticket #1856): sys/arch/vax/boot/xxboot/start.S: revision 1.5 sys/sys/bootblock.h: revision 1.55 sys/sys/disklabel.h: revision 1.113 usr.sbin/installboot/arch/vax.c: revision 1.14-1.15 Rearrange primary bootstrap slightly to free up all space between the disk label and the uVAX rom boot parameter block. Calculate the disklabel size (for asm code) dynamically based on MAXPARTITIONS. Adapt to new vax primary bootstrap layout. Fix installboot for VAX, as discussed on port-vax. Problem pointed out by Jonny Billquist, thanks to Marl Pizzolato for patiently explaining the various ways of booting a vax to me. Now VAX 780 can boot directly from VMB.EXE again. Provide an empty __CTASSERT() for toolbuilds
|
1.13.12.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.13.8.2 |
| 17-Jun-2013 |
msaitoh | Fix compile error (requested by martin in ticket #865): usr.sbin/installboot/arch/vax.c rev. 1.16-1.17
Don't include host's disklabel.h.
|
1.13.8.1 |
| 20-Apr-2013 |
bouyer | Pull up following revision(s) (requested by martin in ticket #865): sys/arch/vax/include/disklabel.h: revision 1.7 sys/arch/vax/boot/xxboot/start.S: revision 1.5 sys/sys/bootblock.h: revision 1.55 sys/sys/disklabel.h: revision 1.113 usr.sbin/installboot/arch/vax.c: revision 1.14 usr.sbin/installboot/arch/vax.c: revision 1.15 sys/kern/sys_generic.c: revision 1.129 Revert VAX MAXPARTITION bump to 16, adjusting it to 12 instead. Fix bootblocks and installboot for VAX 780 and other machines booting via VMB.EXE.
|
1.13.6.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.17.6.1 |
| 14-Dec-2014 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #323): usr.sbin/installboot/arch/vax.c: revision 1.18 Use VAX_LABELOFFSET here; It needs to be the machine-specific one. Thanks to gcc-4.8 for discovering the bug and to Atari for having a LABELOFFSET of 516 > 512 :-) XXX: Perhaps we should put all those constants in <sys/bootblock.h> instead of spreading them around.
|
1.18.16.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|