History log of /src/usr.sbin/installboot/arch/sparc64.c |
Revision | | Date | Author | Comments |
1.19 |
| 07-May-2019 |
thorpej | Use designated initializers for struct ib_mach.
|
1.18 |
| 14-Jan-2010 |
tsutsui | branches: 1.18.46; Remove if defined(__RCSID) around __RCSID() macro. #include "nbtool_config.h" is enough for tools.
|
1.17 |
| 29-May-2008 |
mrg | remove clause #3 from my license where there are no other copyright holders involved.
|
1.16 |
| 28-Apr-2008 |
martin | branches: 1.16.2; Remove clause 3 and 4 from TNF licenses
|
1.15 |
| 18-Feb-2006 |
dsl | branches: 1.15.18; Move the MD definitions into the MD files, leaving machines.c with just a list of the supported machines.
|
1.14 |
| 20-Jun-2004 |
jmc | Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
|
1.13 |
| 15-May-2002 |
lukem | branches: 1.13.4; - 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.12 |
| 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.11 |
| 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.10 |
| 30-Apr-2002 |
lukem | display sector start & count in decimal rather than hex
|
1.9 |
| 22-Apr-2002 |
lukem | formatting consistency frobs
|
1.8 |
| 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.7 |
| 17-Apr-2002 |
fredette | Small fix to a warning message that was displaying the wrong filename.
|
1.6 |
| 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.5 |
| 11-Apr-2002 |
lukem | - add no_parseopt(), no_setboot() and no_clearboot() methods for back-ends to use when they don't support a particular method - don't automatically generate machines.c anymore - add entries for i386 (temporarily unsupported) and shark (permanently unsupported)
|
1.4 |
| 04-Apr-2002 |
mrg | be sure to pad the bootblock.
|
1.3 |
| 04-Apr-2002 |
mrg | clean up a bit, use fewer magic numbers.
|
1.2 |
| 04-Apr-2002 |
mrg | LP64isms. also, be sure to use <string.h> if we use memset or memcpy.
|
1.1 |
| 04-Apr-2002 |
lukem | Add sparc64 back-end, contributed by Matthew Green.
|
1.13.4.1 |
| 22-Jun-2004 |
tron | Pull up revision 1.14 (requested by jmc in ticket #527): Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944
|
1.15.18.2 |
| 04-Jun-2008 |
yamt | sync with head
|
1.15.18.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.16.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.18.46.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|