simonb
50b389d4a6
Bootblock installer - based heavily on the alpha installboot but with
...
some significant differences:
* Because the pmax bootblocks don't have a fixed load address, we
need to keep the first stage blocks in /usr/mdec with some sort
of executable format that includes load and transfer address.
Since ELF is native, /usr/mdec/bootxx_* are in ELF format and
installboot (in loadbootstrap.c) needs knowledge of the ELF format.
* Support for installing the first stage at an arbitiary position.
-a adds the first stage to end of the "disk" (only on works on
regular files) and -i <block> puts the first stage at ISO
filesystem block number <block> for use in multi-arch boot
CDs (see installboot(8) for more details and an example).
* No checksum support. This should really be done in some sort of
MI way rather than duplicating code between ports' installboot.c
1999-11-28 00:32:29 +00:00
simonb
b96c403e14
New alpha-style first stage bootblock Makefiles.
1999-11-27 23:59:15 +00:00
simonb
b013ce2a48
Updated for new Makefile.booters and stand/ layout.
1999-11-27 23:57:42 +00:00
simonb
6fb34407ab
Update for new alpha-style bootblocks - a good deal of this is based on
...
the alpha stand/Makefile.bootprogs and stand/Makefile.bootxx.
1999-11-27 23:55:23 +00:00
eeh
c7f61c6f0e
Apparently sys/sysctl.h includes vm/vm_map.h which makes use of vaddr_t,
1999-11-27 20:05:45 +00:00
hannken
2a59794a70
Fix typo introduced in rev. 1.55.
...
It caused IP6 packets to be sent as AF_UNSPEC instead of AF_INET6.
1999-11-27 18:45:08 +00:00
minoura
bf013a4539
Remove ether+ driver. Requested by msaitoh.
1999-11-27 15:57:17 +00:00
mrg
2c11d38827
add some missing #ifdef SUN4M to the MP-handling code.
1999-11-27 14:54:53 +00:00
takemura
b006c3cae6
Fix frame buffer type for NEC MC-R520 and -R520A.
...
Add a menu item for IBM WorkPad z50.
1999-11-27 13:17:44 +00:00
mrg
9a6c8313f7
minor cosmetic merges; long way to go here.
1999-11-27 12:14:26 +00:00
mrg
264af07cff
merge sparc64 types.h; these files are now identical.
1999-11-27 11:33:39 +00:00
mrg
d7e14b468a
more sparc64 merging; these files are (basically) identical.
1999-11-27 11:20:41 +00:00
mrg
faa527dcc9
merge sparc64 limits.h; these files are now identical. this includes
...
a `fix' for when s?size_t was changed from int to long but the
definitions of S?SIZE_MAX were left as U?INT_MAX. these are now
U?LONG_MAX.
1999-11-27 11:14:40 +00:00
mrg
9d1afb7522
merge cosmetic differences from sparc port.
1999-11-27 11:06:36 +00:00
mrg
492e85822e
MNN has been standard for a Long Time.
1999-11-27 10:22:19 +00:00
mrg
aa206906a3
make this idempotent (from sparc/include/limits.h)
1999-11-27 10:13:15 +00:00
mrg
484cb25f55
s/long/int/ to make this identical the sparc64 version.
1999-11-27 10:10:02 +00:00
mrg
3c756ae10c
these files were removed years ago (exec.h was not even installed).
1999-11-27 10:04:30 +00:00
castor
df56622ada
regen
1999-11-27 09:02:22 +00:00
castor
3de779c46a
Add support for CS4235 codec as found on Intel KU440EX motherboard.
1999-11-27 09:02:13 +00:00
simonb
42b18ab82a
Clean up headers.
1999-11-27 07:07:04 +00:00
simonb
64b57a767e
Add prom_write() declaration.
1999-11-27 07:02:24 +00:00
simonb
77f2cc3a2f
Use alpha-style banner display and bootprog_* variables.
...
Look for default kernels in order of: netbsd.pmax netbsd netbsd.gz
netbsd.bak netbsd.old onetbsd gennetbsd.
1999-11-27 07:00:35 +00:00
simonb
4772d7bcd7
Check that a first-stage bootblock fits in a specified size - virtually
...
a copy of the alpha checksize.sh.
1999-11-27 06:55:04 +00:00
simonb
326cce3c7a
Add a PROM call stub for getchar.
1999-11-27 06:52:05 +00:00
simonb
92bd89485a
Remove code in sector 0 support - we don't need the space and it allows
...
for the coexistance for other port's bootblocks in sector 0.
1999-11-27 06:49:34 +00:00
simonb
1463e10159
Don't require a disklabel at the start of a disk - needed for
...
ISO 9660 f/s support.
1999-11-27 06:48:08 +00:00
simonb
31d531e54b
Header file include cleanup.
1999-11-27 06:47:24 +00:00
simonb
4001a35043
Small cleanup based on Alpha newvers.sh.
1999-11-27 06:46:56 +00:00
simonb
0246cad68c
GC register keyword.
...
Add LIBSA_SINGLE_DEVICE support.
1999-11-27 06:46:36 +00:00
simonb
8160906e08
Add lfs, cd9660, nfs and ustarfs filesystem support.
...
Remove callv variable declaration.
1999-11-27 06:45:52 +00:00
simonb
55ae392784
Add some PROM function prototypes
...
Add bootprog* variable declarations (ala alpha/stand/common.h).
1999-11-27 06:45:07 +00:00
simonb
4bb143c0ea
Move callv variable declaration here from conf.c.
1999-11-27 06:44:00 +00:00
simonb
c3c29ad5c5
Load second stage bootblocks from "boot.pmax", falling back to "boot"
...
for backwards compatibility and "boot.pma" after that for people who
make ISO filesystems with 8.3 format file names.
1999-11-27 06:34:06 +00:00
simonb
26b61c0dff
callvec.c has moved from stand/lib to stand/common.
...
XXX: The kernel proper shouldn't rely on files in stand! Will fix soon.
1999-11-27 05:35:00 +00:00
simonb
10c7b5ab91
Remove the remaining files in lib directory. The other files in
...
this directory were moved to ../common via a CVS repository copy.
1999-11-27 03:55:46 +00:00
simonb
40bbc6129e
Remove the remaining files in scsiboot directory. The other files in
...
this directory were moved to ../common via a CVS repository copy.
1999-11-27 03:54:43 +00:00
simonb
426c66b28c
Moved to common/callvec.c,v
1999-11-27 03:14:47 +00:00
simonb
42fdd5dfb7
Moved from lib/callvec.c,v
1999-11-27 03:14:46 +00:00
simonb
e2751ce295
Moved to common/printf.S,v
1999-11-27 03:12:24 +00:00
simonb
360739d57f
Moved from scsiboot/printf.S,v
1999-11-27 03:12:23 +00:00
simonb
88b44c10cb
Moved to common/clear_cache.S,v
1999-11-27 03:11:56 +00:00
simonb
ea515c3a7f
Moved from scsiboot/clear_cache.S,v
1999-11-27 03:11:55 +00:00
simonb
16ddb8bd85
Moved to common/bootxx.c,v
1999-11-27 03:11:41 +00:00
simonb
9bbac58265
Moved from scsiboot/bootxx.c,v
1999-11-27 03:11:40 +00:00
simonb
acefb84bcb
Moved to common/startprog.S,v
1999-11-27 03:10:17 +00:00
simonb
81ff761e62
Moved from lib/startprog.S,v
1999-11-27 03:10:16 +00:00
simonb
a61aff17a2
Moved to common/start.S,v
1999-11-27 03:10:07 +00:00
simonb
ffab24d77d
Moved from lib/start.S,v
1999-11-27 03:10:06 +00:00
simonb
d4e109f26d
Moved to common/rz.h,v
1999-11-27 03:09:52 +00:00