Commit Graph

112865 Commits

Author SHA1 Message Date
kristerw 07936511f0 The C language does not permit statements of the form
(X ? Y : Z) = 0;
even though gcc handles this by a stupid extension.

Transform these to correct C.

Approved by fvdl.
2003-05-15 20:25:31 +00:00
wiz 70c40c00ed regen (-lms,-mms,+icp on i386). 2003-05-15 19:17:43 +00:00
wiz 76907a433e Fix typo in comment. 2003-05-15 19:16:37 +00:00
nathanw a06836c083 Remove an unnecessary test in pthread_getspecific(). 2003-05-15 19:13:24 +00:00
wiz 2b0b925316 Add /dev/mouse-qms0 and /dev/qms0. 2003-05-15 19:11:28 +00:00
wiz 17abf3da10 Add /dev/lms0 and /dev/mms0. 2003-05-15 19:10:00 +00:00
wiz 5b143c1fff No point in a qms device if there is no qms driver. 2003-05-15 19:05:28 +00:00
wiz b0b2ab2055 Not much point in creating a device node for a driver that doesn't exist
(qms in this case).
2003-05-15 19:01:38 +00:00
wiz 717b2b1474 Remove i386/busmouse(4); it's not supported on i386 any more. 2003-05-15 18:53:34 +00:00
wiz 8381108e2a Don't install machine/mouse.h on i386 and prep; there are no users for
the old busmouse interface any longer, we use wsmouse now.
2003-05-15 18:51:18 +00:00
fvdl a47c14adcc Fix reversed arguments to bus_space_unmap. 2003-05-15 18:04:08 +00:00
dsl adb2f69a2f Avoid building the xxx.mk file (etc) multiple times in a parralel build.
Change name of target build from xxx.mk from 'all' to xxx.crunched to avoid
picking up baggage from bsd.own.mk and bsd.prog.mk.
Fixes toolchain/21563 (with new crunchgen binary)
2003-05-15 17:52:32 +00:00
dsl cd7432d0cb Add an extra target to the xxx.mk file that is equivalent to 'all', but which
doesn't pick up baggage from bsd.own.mk and bsd.prog.mk.
This stops parallel makes exploding because they try to build ${PROG} to soon.
Fixes toolchain/21563 (with change to src/distrib/common/Makefile.crunch).
Upped version of crunchgen to 0.3
2003-05-15 17:49:46 +00:00
jmc 84b2ae9f5b Typo police 2003-05-15 16:46:55 +00:00
fvdl c9c95208a9 Postpone the ioapic_ih assignment a bit, since the pin number may have
been corrected in a workaround in the meantime.
2003-05-15 16:32:50 +00:00
itojun da3884cbf4 latest copyright notice (more loose). noted by wiz 2003-05-15 15:02:52 +00:00
itojun 9cf18f13b5 rt->rt_ifp may not always be available. masanori kanaoka via kame 2003-05-15 14:57:58 +00:00
itojun d25769c013 assume presense of getifaddrs(3). 2003-05-15 14:50:02 +00:00
itojun 5818b97495 assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
itojun 68452c0c92 assume presense of getifaddrs(3). 2003-05-15 14:44:57 +00:00
itojun e24f1908e1 byebye savestr. with savestr() we can't free(). 2003-05-15 14:34:39 +00:00
yamt 19bdd5d1e5 acquire vmobjlock when touch pg->flags. 2003-05-15 14:34:06 +00:00
itojun dec326ca84 64bit issue; reported by Havard Eidnes and Juergen Hannken-Illjes, sync w/
openssh master tree
2003-05-15 14:10:24 +00:00
fvdl 8ec5ed33f8 Adjust ramdisksize downwards to match kernels. 2003-05-15 14:02:37 +00:00
fvdl db7d3c35bc Decrease the ramdisk size a bit to allow for more options to be added
to the kernel, and still have it fit in 2.88M.
2003-05-15 14:02:00 +00:00
itojun 99c5869d56 add strl{cpy,cat} to libkern. code from lib/libc/string (originally from openbsd). 2003-05-15 13:50:35 +00:00
itojun a5d8a0a4f6 check version before computing checksum. checksum is more expensive operation. 2003-05-15 13:46:15 +00:00
fvdl 74793a8cdd Try a little harder to find PCI buses in the MPACPI code, in a (probably
futile) attempt to get quirky ACPI implementations going.

Work around a problem with quirky MP tables for ioapic interrupt routing.
2003-05-15 13:30:31 +00:00
wiz 6454d66c69 Fix typo. 2003-05-15 13:28:58 +00:00
dsl a9fc176e82 Don't close any script files if vfork is set.
If a fork() is done later in order to feed a 'here' document into a pipe
then it is possible that one end of the pipe might get closed.
2003-05-15 13:26:45 +00:00
atatat b5329c1d85 (1) Don't print the message buffer (via ddb's dmesg command) if the
message buffer has not yet been set up, mimicking code from the top of
the sysctl routine for retrieving the message buffer.

(2) Add a /l modifier to the trace command.  This makes it print the
backtrace using printf() instead of db_printf(), which has the nice
side-effect of also putting it into the message buffer.  A kernel with
ddb in it but disabled (ie, ddb.onpanic set to zero) will print a
backtrace (which ends up in the message buffer) before dumping (or
not, depending on the value of kern.dump_on_panic) and rebooting, but
if ddb is not disabled, the backtrace is not printed, and there's no
way to get it to display a backtrace such that you can retrieve it
after the dump.  The backtrace printed by gdb is sometimes a little
different.

(3) Documentation for the above.
2003-05-15 13:18:18 +00:00
wiz 804526377b Remove device nodes for obsolete olms and omms drivers.
Except for i386, the driver never existed for that port anyway...
2003-05-15 13:18:05 +00:00
wiz ee6d7b94d4 Remove last traces of obsolete olms and omms drivers.
Ok'd by drochner and fvdl.
2003-05-15 13:13:21 +00:00
dsl d9380c052a Print rval[1] if non-zero and present in the trace entry.
To get both fd numbers for pipe().
2003-05-15 12:57:54 +00:00
dsl 88b103687c ktrace rval[1] - in order to get both fd numbers for pipe() 2003-05-15 12:56:16 +00:00
wiz 3b82314399 Point to IPC tutorials in /usr/share/doc/psd, update names, and add authors.
Bump date.
Suggested by kleink.
2003-05-15 10:18:42 +00:00
kleink affdf0b300 Change conformance reference to 1003.1-2001; the reference to 1003.1g is
retained in HISTORY.  Spotted by Thomas Klausner.
2003-05-15 10:16:36 +00:00
wiz ccc85581a5 Point to IPC tutorials in /usr/share/doc/psd, update names, and add authors.
Bump date.
Suggested by kleink.
2003-05-15 10:13:53 +00:00
dsl 49e6852272 Fix problems with parallel makes. 2003-05-15 10:13:36 +00:00
dsl 6285ef062c Use echo instead of cat to add prologue to builtins.[ch]
Under some circumstances the headers got overwritten.
2003-05-15 10:11:01 +00:00
wiz 14cddbf770 Point to IPC tutorials in /usr/share/doc/psd, update names, and add authors.
Bump date.
Suggested by kleink.
2003-05-15 09:52:08 +00:00
dsl 341c4563e3 Incorrect sector number passed to boot1 in floppy (no mbr) case 2003-05-15 08:50:53 +00:00
dsl 259e7b9bcc Fix typo in previous,
Delete some unused variables
2003-05-15 08:09:51 +00:00
grant c41120b47b gcc 3.3 2003-05-15 07:42:29 +00:00
wiz abefb9582b There are no olms or omms drivers for amd64. 2003-05-15 07:33:51 +00:00
wiz ff96d1c6d3 Remove opms(4). Addresses PR 21578 by Felix Geller. 2003-05-15 06:14:14 +00:00
wiz 318b76a793 setup -> set up. 2003-05-15 06:01:02 +00:00
lukem 6409af4cfe use find_file_in_dirlist() (instead of private version) when searching
for the ssh moduli file
2003-05-15 05:25:24 +00:00
fvdl e3b6ff6748 Add #if NACPI around acpi attach args. 2003-05-15 02:20:51 +00:00
fair 28dbdce5de nroff cleanups prior to answering a problem report. 2003-05-15 02:03:45 +00:00