Commit Graph

65803 Commits

Author SHA1 Message Date
thorpej fcc7898856 Change tsleep() to ltsleep(), which takes an interlock argument. The
interlock is released once the scheduler is locked, so that a race
between a sleeper and an awakener is prevented in a multiprocessor
environment.  Provide a tsleep() macro that provides the old API.
2000-06-08 05:50:37 +00:00
mhitch afce867d15 Fix loadfpregs(): the register used to access the floating point registers
was not getting loaded, and the floating point registers were being loaded
from the proc structure rather than the FP registers in the pcb.
2000-06-08 04:47:13 +00:00
mycroft 2eaf9707e2 Rearrange slightly to get rid of unneeded conditionals (and make this
*slightly* less painful to trace through, though not much).
2000-06-08 03:51:56 +00:00
mycroft dfad196789 Rework to not use the `files' crap. It requires far too much klugery to
actually get the semantics right.  As a bonus, the info directory is not
reordered when using UPDATE any more, if files are not actually reinstalled.
2000-06-08 03:30:58 +00:00
jhawk f9b0e0c4eb gdb script for backtracing an i386 kernel stack.
Useful when "where" in gdb fails to cross trap()s,
e.g. port-i386/10313
2000-06-08 03:15:40 +00:00
thorpej 81afcb3940 And more ANSI'ification! 2000-06-08 03:10:06 +00:00
mycroft 78e7ae14b9 The previous commit was *definitely* wrong. It indicates an out of date
make(1).
2000-06-08 03:05:17 +00:00
thorpej 966b3da402 ANSI'ify. 2000-06-08 02:53:47 +00:00
enami 4dc07f088a Pass the size of struct kinfo_proc2 instead of kinfo_proc to kvm_getproc2
so that w(1) displays what commands are running as before.
2000-06-08 02:37:28 +00:00
thorpej 8355a216eb Add the `rnd' driver. 2000-06-08 02:20:50 +00:00
thorpej 0bf91362b9 Add cpu_counter() for rnd(4), using the rpcc insn. 2000-06-08 02:19:20 +00:00
itojun 9537caed22 add 1.13 -> 1.14 again (obsolete IPv6 headers). it would be better
if we can smoothly upgrade from 1.4[A-Z] to 1.5 (like Comdex snapshot).
2000-06-08 01:24:38 +00:00
simonb 292b668867 Fix back-to-front assignment in tname() which meant that the column
width would never autosize past the header ("TT") width.  Problem
noticed by Geoff Wing.
2000-06-08 00:51:10 +00:00
hubertf 2b57637552 ftp(1)'s "ls" now lists files/dirs plus attributes (much like "dir" did
before). Use "nlist" to still get filenames only.
Needed to expand wildcards.
2000-06-08 00:26:48 +00:00
explorer e32bc6b6c4 Use
const char *yyname[] = {...};
	const char *yyrule[] = {...};
rather than
	char *yyname[] = {...};
	char *yyrule[] = {...};

to prevent warnings about
	initialization discards `const' from pointer target type
when the output of yacc is compiled with a picky warning level.
2000-06-07 23:54:17 +00:00
augustss 73053385f4 Note that sysid 0 marks a partition as unused. 2000-06-07 22:40:59 +00:00
marc 064ca03436 prevent unecessary rebuilds of ${IMAGE} 2000-06-07 22:15:31 +00:00
fvdl eaee8c445a Set the error code sanely in a few cases.
When connecting to a version 2 portmapper, don't use the "udp" nettype,
since that includes udp on ipv6, but just use the "udp" netconfig entry
directly.
2000-06-07 21:46:01 +00:00
thorpej 5dd5a4e083 Remove restore(8). It doens't belong on install media, and if we
want to provide that functionality, we can do it some other way.
2000-06-07 21:13:12 +00:00
thorpej 9e01451f4c test is a shell built-in; don't need a separate binary. 2000-06-07 21:00:03 +00:00
thorpej 2304ada2b0 Need /etc/netconfig. 2000-06-07 20:43:11 +00:00
scw 295ed77595 The OPTi controller supports a 32-bit dataport after all.
Also detect when the chip is sitting on a 25MHz PCIbus and
set the timing registers accordingly.
2000-06-07 20:42:52 +00:00
thorpej 765e8772d7 Need /etc/netconfig. 2000-06-07 20:42:19 +00:00
thorpej ceff2dc6bc Need /etc/netconfig. 2000-06-07 20:32:06 +00:00
matt 8e734e6188 Make the release notes, etc. 2000-06-07 20:29:00 +00:00
thorpej b871a87cc8 Need /etc/netconfig. 2000-06-07 20:23:19 +00:00
matt a83202e259 Add netconfig 2000-06-07 20:08:12 +00:00
thorpej 464b4e3de0 Need /etc/netconfig. 2000-06-07 19:54:50 +00:00
ad 887d4555cd Regen. 2000-06-07 19:53:17 +00:00
ad 4837200a8c Add vendor/device ID for 3ware Escalade IDE RAID controller. 2000-06-07 19:52:07 +00:00
nathanw 44145e574e Fix incorrect uses of indicate/indicates/indicated for each other. 2000-06-07 19:47:57 +00:00
thorpej eef8b653bc Need /etc/netconfig. 2000-06-07 19:42:23 +00:00
thorpej afb5621bab Add another `cylinder' to the ramdisk. 2000-06-07 19:41:47 +00:00
matt a0cdedfb34 add netconfig 2000-06-07 19:38:00 +00:00
matt 2dde4ce0c9 Slight stylistic changes. Add KAME checksum routine. 2000-06-07 19:31:33 +00:00
thorpej 733a6e059b Increase the miniroot size to 3072 (to match INSTALL and INSTALL_TINY).
This is needed due to TI-RPC being larger.
2000-06-07 19:29:45 +00:00
thorpej c57ef7446d check_pager() was using an uninitialized variable; fix it. 2000-06-07 18:52:31 +00:00
fvdl 737db7ee0a The two unchanged interfaces (svc_create and clnt_create) resulted
in sockets bound to reserved ports in the old code. Since old binaries
will still expect this, always try to bind to a reserved port in
clnt_cli_create and svc_tli_create, unless we're already bound.
2000-06-07 18:27:39 +00:00
tsubai 4c15219d3b * Access hardware directly in zscn* instead of calling OF.
* Clean up.
2000-06-07 17:37:07 +00:00
matt 84ad7d0a8d More lossage. You need to make the directory each catalog will go into. 2000-06-07 17:28:52 +00:00
thorpej 0b01d83083 Revert rev. 1.30. 2000-06-07 16:37:24 +00:00
matt ce4415cde0 Don't know if this is a side effect of the recent makes changes but
set FILESDIR_${F} for info files.
2000-06-07 16:29:11 +00:00
tron f92ae923f9 Make "src/regress/sys/kern/extent" build again. 2000-06-07 16:25:15 +00:00
tsutsui 3f94f56142 Adapt struct scsipi_adapter changes. 2000-06-07 14:40:20 +00:00
bouyer 227ed98327 Implement file locking in lockd. All the stuff is done in userland, using
fhopen() and flock(). This means that if you kill lockd, all locks will
be relased (but you're supposed to kill statd at the same time, so
remote hosts will know it and re-establish the lock).
Tested against solaris 2.7 and linux 2.2.14 clients.
Shared lock are not handled efficiently, they're serialised in lockd when they
could be granted.
2000-06-07 14:34:40 +00:00
bouyer 1116e111be - remove NLM4_NULL proc, rpcgen will do one for us (which works better :)
- add a procedure NLM_SM_NOTIFY (in version 0), used by statd to send
  notifications to lockd.
2000-06-07 14:30:15 +00:00
leo 30bae800ae Mark 'n' explicitely as output of the 'mulul' instruction. 2000-06-07 14:26:11 +00:00
jwise 7e7d991f01 Remove one of mine that really wasn't very good, and add:
NetBSD: abandon all hype, oh ye who enter here.
2000-06-07 14:04:45 +00:00
lukem d70c2ff830 fix the function prototypes in the generated header file (the second
arg should have been a pointer); without this you'd get a complaint
about a mismatch between the prototype in the header file and the
function declaration in foo_xdr.c.

fix by Vltteri Vuorikoski@datafellows.com <altteri.Vuorikoski@datafellows.com>
in [bin/6788], with some cosmetic mods by me.
2000-06-07 13:53:07 +00:00
thorpej 85063167c9 Correct SIMPLELOCK_INITIALIZER for the LOCKDEBUG case. 2000-06-07 13:50:40 +00:00