Commit Graph

97615 Commits

Author SHA1 Message Date
bjh21 e60b25c155 Adapt for recent changes to lib/libc/softfloat 2002-05-21 23:58:42 +00:00
nathanw be856ef968 When attempting to guess the filesystem type from the disklabel, don't
consider a out-of-range partition letter at the end of the special
device node to be a fatal error; just return NULL and let the caller
fall back to FFS.

This fixes the "mount -u /kern/rootdev /" done by the script installer.

XXX this is still gross, and breaks things like
"mount /my/strange/dev/path/b /mnt". Perhaps it should stat the node
and use the minor number as an index instead?
2002-05-21 23:51:19 +00:00
bjh21 936b7f4cf8 Import the 32-bit version of SoftFloat 2a and separate it and the 64-bit
version into different directories.  Which version a given port uses is
controlled by the SOFTFLOAT_BITS make variable.  This is set to 64 (which
uses the same code we had before) by default.  32-bit platforms that don't
need extended precision support might get better performance by using 32.

Set the ARM port to use the 32-bit version of SoftFloat, since this is more
than a factor of two faster than the 64-bit version.  This should get the
floating-point performance back to what it was in 1.5.
2002-05-21 23:51:04 +00:00
itojun 861f132ad1 use pidfile(3). sync w/kame 2002-05-21 23:35:18 +00:00
rafal 7a98b3fbfe Another one from Scott Taylor: add boot.elf to sgimips MD base list. 2002-05-21 23:23:48 +00:00
itojun 1b614e8939 minor sync w/kame (prototype location) 2002-05-21 23:16:39 +00:00
rafal 4a3f0ef3a4 sysinst updates for sgimips from Scott Taylor with some tweaks from me.
For now, we keep the GENERIC/GENERIC_INDY sets, but make the labels a
bit clearer as to their purposes.

XXX: Still need code to install bootloader into volhdr; need either to
integrate into MI installboot or fix up sgivol (I have changes from Scott
for sgivol, just haven't folded them in yet).
2002-05-21 21:59:03 +00:00
rafal 3ac921616c Make sure to read from stdin, not stdout. From Scott Taylor. 2002-05-21 21:53:35 +00:00
rafal 722dca8509 Turn kernels into ecoff as well by default. 2002-05-21 21:01:34 +00:00
rafal a5a7e0f25c Add RAMDISK kernels for installation. 2002-05-21 21:00:35 +00:00
rafal be1025a9ed Add glue for release stuff, extra ramdisk kernels, etc. 2002-05-21 20:56:19 +00:00
rafal 8917c72df2 Release machinery for port-sgimips; original work by Scott Taylor (sgimips
at mrynet.com), NDWO-ified by me (so all bugs are probably my fault).
2002-05-21 20:54:16 +00:00
rafal 3d46bd9251 For reference purposes (as it currently doesn't build): add miniroot build
directory; the ramdisk build also relies on the termcap entry here, so this
isn't totally useless.  All based on work by Scott Taylor (sgimips at
mrynet.com), with bugs most likely added by me.
2002-05-21 20:51:34 +00:00
matt 077fee836c Add code to distinguish between apple and sun gem cores. 2002-05-21 19:58:24 +00:00
tsutsui 8157a94d99 Define and use both HOSTTOTARGET32() and TARGET32TOHOST() properly.
(just for consistency)
2002-05-21 16:49:19 +00:00
tsutsui 88023fad08 Rename dir ramdisk-kernel/ -> instkernel/ 2002-05-21 16:33:37 +00:00
tsutsui e1e5065c28 List shortlived MD bbinfo.h. 2002-05-21 16:20:03 +00:00
tsutsui 67d9bb7946 /usr/mdec/installboot has been superseded by MI /usr/sbin/installboot. 2002-05-21 16:16:25 +00:00
tsutsui 4a46bc7dbc boot block info stuff is now in MI <sys/bootblock.h>. 2002-05-21 16:11:11 +00:00
tsutsui 6734af58f9 NEWS_BOOT_BLOCK_OFFSET is now changed to 0, so use NEWS_BOOT_BLOCK_BLOCKSIZE
to allocate buffer to read LABELSECTOR.
2002-05-21 14:59:38 +00:00
itojun 313e584cb8 correct bitmask computation. more KNF. sync w/kame 2002-05-21 14:29:52 +00:00
itojun 33413b2866 KNF. a memory leak fix. sync w/kame 2002-05-21 14:22:05 +00:00
lukem 1dfde69630 Support shell metacharacters (`*', '?', '[') in /etc/changelist lines,
including checks for "backups that exist when actual file is deleted", a la
the existing mechanism used for "/etc/ifconfig.*" ... "/etc/rc.d/*" checks.
This resolves [security/15798] from Bob Kemp <bob@allegory.demon.co.uk>.
2002-05-21 13:50:46 +00:00
christos 71fa9914d7 PR/16941: Antti Kantee: Clean up unused functions. 2002-05-21 12:51:27 +00:00
lukem a40243df30 When using backup_uses_rcs=YES in backup_file(), after checking the file
in and setting -kb, check it out again, since the initial check in
trashes any RCSIDs (because -kb wasn't set at that time).

This stops the annoying situation where you add a new file (e.g, "foo")
which contains an RCSID and you get *two* notifications of differences
in two successives runs of /etc/security; the first when the file is
initially checked in and a second when diff finds the RCSID is different
(contains "foo.conf,v 1.1" instead of "foo,v 1.66").
2002-05-21 12:31:01 +00:00
lukem 765dc83a3e add AFAIU and AIU. from <dive@endersgame.net> in [misc/15905] 2002-05-21 12:01:09 +00:00
lukem e5aacbc0a7 Add examples. Inspired by [misc/16193] from
Brian A. Seklecki <lavalamp@hurt.spiritual-machines.org>
2002-05-21 11:25:38 +00:00
lukem 9234db0acd Improve mount_mfs examples. Inspired by [misc/16193] from
Brian A. Seklecki <lavalamp@hurt.spiritual-machines.org>
2002-05-21 11:17:57 +00:00
martin 2fe85a6623 Uniformly pass a "struct isdn_l3_driver *" through layer 2, so we
do not have to search for that driver later while we already knew it
at layer 1.
2002-05-21 10:31:10 +00:00
itohy dd60955377 file(1) magic for Human68k (X680x0 DOS) binary formats 2002-05-21 07:59:16 +00:00
pooka 77f6bf6332 source ../common/upgrade, which seems to be the common practise 2002-05-21 07:12:18 +00:00
scottr 91087ff57e Don Bruder's extensive debug output provided in PR 16907 showed that
intvid didn't find the frame buffer on his PB 170 in NetBSD 1.5. This is
because the PowerBook 140/145+145B/170 entries in intvid_info[] were
entered into the table directly from the corresponding hardware tech
notes. Unfortunately, the actual frame buffer is mapped at an offset
of 32 KB from the base of the region (at least when in 32-bit mode).

Since all 4 of these systems have identical video configurations, I'm
updating the rest to match.
2002-05-21 07:05:31 +00:00
rafal 323d0df617 Add (empty) upgrade file to satisfy build. 2002-05-21 07:04:15 +00:00
manu 17f9f77621 Filling tables for device 62 (irix_usema) where it was missing 2002-05-21 06:35:08 +00:00
augustss e05075c8d4 Rename a cpc device. 2002-05-21 03:05:00 +00:00
augustss cd2c33190e Add stuff for the CPC700. 2002-05-21 03:01:02 +00:00
augustss 54bb400a18 Add a driver for the IBM CPC700 chip. This chip is a host bridge for
PowerPC and provides a PCI-host bridge, interrupt controller, two com ports,
two IIC ports, a timer, and a DRAM controller.
The driver supports PCI, interrupts and com ports.
2002-05-21 02:58:25 +00:00
augustss 1c66d18529 Make it possible to override the way register access is done.
This is needed for some really screwball attachments of the CS8900.
2002-05-21 02:47:04 +00:00
briggs e4b2e00519 We are switching to usr.sbin/installboot. 2002-05-21 01:57:33 +00:00
yamt 381fee523f open device as readonly unless -w is specified. 2002-05-21 01:39:56 +00:00
thorpej e839580821 Move kernel_lock manipulation info functions so that they will
show up in a profile.
2002-05-21 01:38:26 +00:00
simonb 61ea584c2f Widen the ID field to 7 chars; probably should be auto-sized... 2002-05-21 01:10:06 +00:00
wiz 180ed1d2e0 Add man pages for bm(4), gm(4), and mc(4). Some helpful
information provided by Michael Wolfson and various people on port-macppc.
2002-05-21 00:49:54 +00:00
lukem 6a574a38b0 I made a mistake when converting Izumi Tsutsui's back-end to the shared
bbinfo.c module;  news* boot blocks occupy all of the first 16 sectors,
with a jump instruction to skip the label at bytes 64..511.
Replace news_clearboot() and news_setboot() callbacks with common
news_copydisklable() callback, and set bbinfo_params->offset to
NEWS_BOOT_BLOCK_OFFSET (which is now 0), and ->headeroffset to 0.

(Thanks to Izumi for picking this up; the perils of working on code at 2am)
2002-05-21 00:38:08 +00:00
lukem f6995335d6 Change NEWS_BOOT_BLOCK_OFFSET from 512 to 0, since parts of bootxx do
get loaded to sector 0 (even though we have to copy the disklabel back in)
2002-05-21 00:19:17 +00:00
itojun 27f3ac7084 use .It for formatting legal section. 2002-05-20 23:48:40 +00:00
mbw fff05b1d0e sparc now uses dhcp instead of bootparams 2002-05-20 23:07:15 +00:00
itojun e534b69c1d raise RTF_HOST if destination is a host (/128). from ume 2002-05-20 23:01:32 +00:00
perseant ec0ca919be Protect v_freelist with splbio(), since HOLDRELE can be called in
interrupt context (through brelvp).  (LFS may be the only subsystem
affected by this problem.)

Tested on i386.
2002-05-20 22:50:57 +00:00
eeh 44c6c3f7d0 Add bootfs to the build list. 2002-05-20 21:50:45 +00:00