History log of /netbsd-src/usr.sbin/installboot/arch/alpha.c (Results 1 – 22 of 22)
Revision Date Author Comments
# e5c09b19 07-May-2019 thorpej <thorpej@NetBSD.org>

Use designated initializers for struct ib_mach.


# 7a3dc95e 14-Aug-2011 christos <christos@NetBSD.org>

fix various gcc-4.5 warnings


# 359ac4c5 26-Oct-2009 tsutsui <tsutsui@NetBSD.org>

A checksum value in alpha boot block is stored in little endian,
so use le64toh() to print it on the host tool.
While here, use consistent (unsignd long long) casts on printing it.


# 2b2f4703 05-Apr-2009 lukem <lukem@NetBSD.org>

fix sign-compare issues


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 1ec8e10f 18-Mar-2006 dsl <dsl@NetBSD.org>

Coverty 7449: Change 'return (0)' to 'goto done' so we free(bootstrapbuf)
before exiting with error.


# cce659e2 18-Feb-2006 dsl <dsl@NetBSD.org>

Move the MD definitions into the MD files, leaving machines.c with just
a list of the supported machines.


# 171d6532 27-Oct-2003 lukem <lukem@NetBSD.org>

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/com

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).

show more ...


# ed45ba76 15-Apr-2003 dsl <dsl@NetBSD.org>

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

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)

show more ...


# eda9e509 20-Jul-2002 grant <grant@NetBSD.org>

sweep of errx/warnx, remove unnecessary trailing \n


# 5d837662 31-May-2002 matt <matt@NetBSD.org>

Use to htobe16, not htons


# 932b7524 15-May-2002 lukem <lukem@NetBSD.org>

- 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

- 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"

show more ...


# 1279ab0c 14-May-2002 lukem <lukem@NetBSD.org>

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)


# 1bdd92ee 14-May-2002 lukem <lukem@NetBSD.org>

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 stag

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, ...

show more ...


# d9e55fca 30-Apr-2002 lukem <lukem@NetBSD.org>

display sector start & count in decimal rather than hex


# 4887cf34 25-Apr-2002 tv <tv@NetBSD.org>

HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when HAVE_CONFIG_H,
rather than creating more stubs.


# 8eb8919e 19-Apr-2002 lukem <lukem@NetBSD.org>

- 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 / ...)
-

- 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"

show more ...


# d2804426 12-Apr-2002 lukem <lukem@NetBSD.org>

- 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
- renam

- 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

show more ...


# aa5396b0 11-Apr-2002 lukem <lukem@NetBSD.org>

check size of reading bootblock against the correct size...


# 5b7f1cce 04-Apr-2002 mrg <mrg@NetBSD.org>

LP64isms. also, be sure to use <string.h> if we use memset or memcpy.


# 9f1d1d93 04-Apr-2002 lukem <lukem@NetBSD.org>

don't pull in <dev/sun/disklabel.h> just for SUN_DKMAGIC; instead,
provide local copy of that #define.


# 06d7c45c 03-Apr-2002 lukem <lukem@NetBSD.org>

Add support for alpha, based on {vax,pmax}.c and
sys/arch/alpha/stand/installboot.
XXX: not fully tested yet.