History log of /src/usr.sbin/installboot/arch/pmax.c |
Revision | | Date | Author | Comments |
1.16 |
| 07-May-2019 |
thorpej | Use designated initializers for struct ib_mach.
|
1.15 |
| 21-Oct-2013 |
christos | branches: 1.15.26; XXX: gcc initialize a variable
|
1.14 |
| 05-Apr-2009 |
lukem | branches: 1.14.6; 1.14.12; fix sign-compare issues
|
1.13 |
| 28-Apr-2008 |
martin | branches: 1.13.8; Remove clause 3 and 4 from TNF licenses
|
1.12 |
| 18-Feb-2006 |
dsl | branches: 1.12.18; Move the MD definitions into the MD files, leaving machines.c with just a list of the supported machines.
|
1.11 |
| 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.10 |
| 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.9 |
| 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.8 |
| 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.7 |
| 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.6 |
| 30-Apr-2002 |
lukem | display sector start & count in decimal rather than hex
|
1.5 |
| 25-Apr-2002 |
tv | HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when HAVE_CONFIG_H, rather than creating more stubs.
|
1.4 |
| 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.3 |
| 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.2 |
| 09-Apr-2002 |
thorpej | Need <string.h> for memcmp().
|
1.1 |
| 03-Apr-2002 |
lukem | Migrate MD files to arch/ subdir. Suggested by Hubert Feyrer.
|
1.12.18.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.13.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.14.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.14.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.15.26.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|