Commit Graph

69298 Commits

Author SHA1 Message Date
matt 98e5e148fa Since cpu_switch (aka Swtch) is now called at splsched() with sched_lock
locked, cpu_exit needs to do that too.  Since in the lock debug case we
have to use a CALLS which wipes out R0-R6, change the convention for Swtch
so that the proc is passed in R6 and that R6 is clobbered.  This is so
Swtch itself doesn't have to save/restore the proc pointer explicitly.
2000-08-27 00:21:46 +00:00
minoura cbac1a91d9 Add #ifdef _KERNEL ~ #endif to protect kernel variables from userland. 2000-08-26 23:23:43 +00:00
minoura 33f305090e Set fputype earlier, before proc0 initialization. 2000-08-26 23:04:44 +00:00
eeh 194bbc3c5d Don't bcopy() from luserland. 2000-08-26 20:08:22 +00:00
sommerfeld bdc30aed03 Since the spinlock count is per-cpu, we don't need atomic operations
to update it, so don't bother with <machine/atomic.h>

Flush kernel_lock_release_all() and kernel_lock_acquire_count() (which
didn't do spinlock accounting correctly), and replace them with
spinlock_release_all() and spinlock_acquire_count().
2000-08-26 19:26:43 +00:00
thorpej fe036cae9a Fix a printf format (for Alpha). 2000-08-26 17:02:16 +00:00
eeh a0f2ab32f7 Make 64-bit clean. 2000-08-26 16:02:06 +00:00
matt 5c62e0cab4 Fix the idle loop. 2000-08-26 15:13:23 +00:00
enami 3403ff66ff Pull down the changes I've just accidently commited into 1.5 branch.
Mainly, .Pa fixes.
2000-08-26 13:45:20 +00:00
itojun 152da24bd9 implement net.inet6.ip6.{anon,low}port{min,max} sysctl variable. 2000-08-26 11:03:45 +00:00
itojun 3c7320bedf document net.inet.ip.lowport{min,max} 2000-08-26 11:00:41 +00:00
itojun 26dc854c41 make sure anonport{min,max} is not negative number 2000-08-26 10:41:29 +00:00
itojun 4d40179399 add missing IPNOPRIVPORTS case 2000-08-26 10:40:03 +00:00
lukem e174c16ddc add rc.d/securelevel. noted in [install/10896] by Rafal Boni. 2000-08-26 09:17:00 +00:00
thorpej 9eed6192a2 Un-transpose some characters in an abbreviation. 2000-08-26 06:58:25 +00:00
hubertf 2be9f0470d Fix the path to netbsd-proto-IPv4only.mc in the installed
netbsd-proto.mc file. Suggested by Frederick Bruckman <fb@enteract.com>
2000-08-26 04:24:58 +00:00
sommerfeld 8d5cbaa48d Forward-declare struct cpu_info 2000-08-26 04:17:44 +00:00
sommerfeld 340951f9d1 On second thought.. pass cpu_info * to roundrobin() explicitly. 2000-08-26 04:01:16 +00:00
matt 7e0ad8b0c2 Update to reflect new processor switching conventions w/ LOCKDEBUG
and MULTIPROCESSOR
2000-08-26 03:38:46 +00:00
sommerfeld ec08310fab More MP clock/scheduler changes:
- Periodically invoke roundrobin() from hardclock() on all cpu's rather
than from a timer callout; this allows time-slicing on non-primary cpu's.
 - Make pscnt per-cpu.
 - Notice psdiv changes on each cpu, and adjust pscnt at that point.
Also, invoke setstatclockrate() from the clock interrupt when each cpu
notices the divisor change, rather than when starting/stopping the
profiling clock.
2000-08-26 03:34:36 +00:00
thorpej 0ba350214f Thinko in previous. 2000-08-26 03:33:49 +00:00
thorpej 2af5e3861c Fix a couple of typos in previous. 2000-08-26 03:32:36 +00:00
thorpej 0e04909346 Snapshot of TLB shootdown bugfixes. 2000-08-26 03:27:44 +00:00
matt fc1511e910 add a COMPAT_15 and remove TCP_COMPAT_42 2000-08-26 02:32:57 +00:00
matt 3fec8167d3 Reverse polarity on INSN_EMULATION to NO_INSN_EMULATION. Thus by default
all kernels will have instruction emulation.
2000-08-26 02:30:59 +00:00
mrg 36afbd61af use the merged sparc installboot.8 2000-08-26 02:14:34 +00:00
jhawk ce7a425d77 Revert last, softc is now updated.
I neglected to checkin the if_wivar.h update earlier, sorry.
2000-08-26 00:08:43 +00:00
jhawk a44862dea9 oops, missed this file earlier (Doh!):
Add support for "microwave oven robustness" with wiconfig -M.
2000-08-26 00:05:54 +00:00
jhawk f7ed8c99f1 Fix double ()/Pq markup error. 2000-08-25 23:56:08 +00:00
jhawk 0e36b20c67 Fix missing conditional termination (.\}) from previous. 2000-08-25 23:52:25 +00:00
jhawk 2b5deb0e20 update Dd 2000-08-25 23:51:43 +00:00
thorpej 5bd1b19b29 Don't use MALLOC() for variable-sized allocations. 2000-08-25 21:22:16 +00:00
thorpej a3fe3d3cf9 Some (popular) programs expect to be able to re-initialize `optind'
to 0 and have getopt(3)/getopt_long(3) continue to function properly.
This happens to work with GNU getopt_long(3), so mimmick the behavior.

Fixes pkg/10980 (Manuel Bouyer): rsyncd was relying on this behavior.
2000-08-25 17:05:49 +00:00
joda 4f419afab1 initialize sflag to zero; discovered on Digital UNIX, where I got
random (no pun intended) functionality
2000-08-25 16:47:17 +00:00
bjh21 7c9498f7cb Move setsoftast() and friends into cpu.h and make them into macros, so arm26
is the same as every other port (except arm32).
2000-08-25 16:43:46 +00:00
tron a97bfde931 Add new sysctl variables "net.inet.ip.lowportmin" and
"net.inet.ip.lowportmax" which can be used to the set minimum
and maximum port number assigned to sockets using
IP_PORTRANGE_LOW.
2000-08-25 13:35:05 +00:00
tsubai 308d7eb3e4 Add (experimental) awacs audio driver. Output (play) only. 2000-08-25 12:44:42 +00:00
bjh21 36f4367186 <machine/spl.h> -> <machine/intr.h> (missed this one last time) 2000-08-25 10:37:58 +00:00
haya 0e2c6c0cc1 Access on ELINK_W3_INTERNAL_CONFIG register with 32-bit mode. Remove
16-bit access code.  This register is 32-bit.  16-bit access with the
register causes data inconsistency (especially for CardBus cards).
2000-08-25 09:01:59 +00:00
pk baa6bfe332 The `fb' device is optional. 2000-08-25 08:12:49 +00:00
jeffs d3afa878a2 Fix typo in SIATXRX_SPP comment. 2000-08-25 08:03:10 +00:00
jun d3380997ca Add
./usr/X11R6/man/cat1/Xhpc.0
2000-08-25 07:58:07 +00:00
reide 63285a5cdb tyop. inerface != interface 2000-08-25 07:15:02 +00:00
jun dae36feb2d add:
./usr/share/man/cat8/hpcmips/pbsdboot.0
	./usr/share/man/man8/hpcmips/pbsdboot.8
2000-08-25 06:33:46 +00:00
enami 7652453dd5 Initialize variables which I recently changed storage class from file global
to auto.  Pointed out by Launey Thomas <ljt@alum.mit.edu>.
2000-08-25 06:25:59 +00:00
jun 211fbcbbbc add
man 8 pbsdboot.
2000-08-25 06:15:11 +00:00
toshii 3f9bbd97f5 Defined datobyte(fs, da) macro, to ensure cast to off_t.
Fixes overflows with >2GB partitions. Reviewed by <enami@netbsd.org>.
2000-08-25 05:27:49 +00:00
hubertf e80cff4760 Add "all" mode to systat to cycle between all modes,
sort of like VMS' "MONITOR ALL"-command.

Code was submitted by Jarkko Teppo <jate@uwasa.fi> in PR 10851,
cleaned up and added 'turns' handling by me.
2000-08-25 04:48:56 +00:00
matt 3351f4cf4b Need <bsd.own.mk> for OBJECT_FMT. 2000-08-25 03:51:34 +00:00
matt 54d55aa138 Fix conv=swab. Don't swab the entire input buffer every time we read
another block, just swab the block we just read.
2000-08-25 03:40:32 +00:00