lukem
d9e55fca47
display sector start & count in decimal rather than hex
2002-04-30 14:24:33 +00:00
lukem
fa2a19276b
consistently use sizeof(bb) instead of SUN68K_BOOT_BLOCK_MAX_SIZE
2002-04-29 13:07:41 +00:00
tv
4887cf3412
HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when HAVE_CONFIG_H,
...
rather than creating more stubs.
2002-04-25 18:11:53 +00:00
lukem
2fddf94b34
convert from "sun68k_bbinfo.h" to <dev/sun/sun_boot.h>
2002-04-24 01:35:25 +00:00
bjh21
1723b1333c
When printf'ing a size_t, cast it to unsigned long and use a %lu format.
...
This gets rid of a warning when compiling for ARM.
2002-04-22 23:24:10 +00:00
fredette
7493ba97a6
Install the compatability symlink for sun2.
...
In the sun68k handler, add some sync()s to make sure we
get a coherent picture of the filesystem. Maybe should
be in the MI filesystem code?
2002-04-22 21:11:45 +00:00
lukem
878d42b158
Add sun2 backend from Matthew Fredette.
...
(Implemented with "sun68k.c" as it should eventually support "sun3" as well.)
2002-04-22 17:17:35 +00:00
lukem
ed5fff8877
formatting consistency frobs
2002-04-22 16:03:07 +00:00
lukem
8eb8919e12
- 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"
2002-04-19 07:08:51 +00:00
fredette
4897886acb
Small fix to a warning message that was displaying the wrong filename.
2002-04-17 04:00:44 +00:00
lukem
d280442683
- 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
2002-04-12 06:50:41 +00:00
lukem
aa5396b0ec
check size of reading bootblock against the correct size...
2002-04-11 08:02:27 +00:00
lukem
38cd7942e5
- 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)
2002-04-11 07:56:13 +00:00
thorpej
2e5904a52c
Need <string.h> for memcmp().
2002-04-09 02:06:29 +00:00
mrg
4cf62149f5
be sure to pad the bootblock.
2002-04-04 15:36:44 +00:00
mrg
96adf034f8
clean up a bit, use fewer magic numbers.
2002-04-04 15:17:34 +00:00
mrg
5b7f1cce2d
LP64isms. also, be sure to use <string.h> if we use memset or memcpy.
2002-04-04 14:00:55 +00:00
lukem
67c2e40115
Add sparc64 back-end, contributed by Matthew Green.
2002-04-04 13:45:25 +00:00
lukem
9f1d1d933d
don't pull in <dev/sun/disklabel.h> just for SUN_DKMAGIC; instead,
...
provide local copy of that #define.
2002-04-04 00:32:06 +00:00
lukem
06d7c45c38
Add support for alpha, based on {vax,pmax}.c and
...
sys/arch/alpha/stand/installboot.
XXX: not fully tested yet.
2002-04-03 10:21:01 +00:00
lukem
c37fa0cedc
Migrate MD files to arch/ subdir. Suggested by Hubert Feyrer.
2002-04-03 09:09:01 +00:00