thorpej
b4dc5fb0b7
splhigh() -> splsched()
2000-08-21 02:31:59 +00:00
thorpej
9bd3060650
Remove a totally unnecessary splhigh/spl0 pair.
2000-08-21 02:29:32 +00:00
thorpej
5573e863c7
- Clean up _simple_lock_held()
...
- In simple_lock_switchcheck(), allow/enforce exactly one lock to be
held: sched_lock.
- Per e-mail to tech-smp from Bill Sommerfeld, r/w spin locks have
an interlock at splsched(), rather than splhigh().
2000-08-21 02:17:45 +00:00
sommerfeld
78e4a089b8
Don't bother reinitializing statically-inited locks
2000-08-21 02:16:30 +00:00
thorpej
f42254818f
splhigh() -> splsched()
2000-08-21 02:09:33 +00:00
thorpej
4b2bdb6565
splhigh() -> splsched().
2000-08-21 02:07:18 +00:00
thorpej
23a7f255d4
Make sure we provide splsched() as described in spl(9).
2000-08-21 02:06:31 +00:00
thorpej
2648536e0c
Add experimental code for pausing other CPUs upon a CPU's
...
entry into the debugger. While I'm here, add splsched()
as per spl(9).
2000-08-21 02:03:12 +00:00
christos
2120a34cd6
- Don't core dump when we have stale utmp entries; warn the user instead.
...
- Make this work again in single user when invoked as uptime and utmp is
not present.
2000-08-21 00:19:06 +00:00
itohy
1ef7adc1bf
fix typo
2000-08-21 00:14:29 +00:00
augustss
b3b158b922
Implement handling of the UQ_SPUR_BUT_UP quirk. Some keyboards sometimes
...
generate a key up quickly followed by a key down for the same key, so we
take care of that.
(Finally I can type again without going nuts. :)
2000-08-20 22:30:17 +00:00
pk
124d256269
Move these SBus drivers here from arch/sparc.
2000-08-20 22:27:07 +00:00
augustss
d9426e06b6
Install usbdevs.h as well.
2000-08-20 22:25:20 +00:00
scw
3cac59ee4f
Expand on how VMEbus master addressing modes are specified, to better
...
deal with dynamic address modifier generation based on the CPU's
function code pins.
Also implement VMEbus slave mode for mvme147. (Not yet 100% working.)
2000-08-20 21:51:31 +00:00
thorpej
a86d1f4891
Add a lock around the scheduler, and use it as necessary, including
...
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it). Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.
Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.
2000-08-20 21:50:06 +00:00
pk
f83d14e14b
Move declaration up, before it is used.
2000-08-20 20:01:45 +00:00
pk
5a308cf392
Split & move cgthree sbus attachment from arch/sparc.
2000-08-20 19:59:46 +00:00
pk
124ea6d974
<machine/fbio.h> -> <dev/sun/fbio.h>
2000-08-20 19:58:53 +00:00
pk
e8ed83e13f
Split & move cgthree from arch/sparc.
2000-08-20 19:58:19 +00:00
itojun
5e05458699
crypto-* is no longer there.
...
refer usr.bin/compile_et.
remove reference to make_cmds (add it if i'm wrong about this)
2000-08-20 19:51:24 +00:00
itojun
97c5ff842d
NetBSD has setusercontext() since Feb 2000.
...
detect it by "1.4Q or more recent" (are there better ways? - it is
not about kernel API...)
2000-08-20 19:37:45 +00:00
tv
b3e56e61e9
Add some compatibility vectors to allow objdump'ing and objcopy'ing of
...
formats used by COMPAT_ emulations.
2000-08-20 18:01:51 +00:00
tv
0ed3ab1dff
Add vaxnetbsd_vec.
2000-08-20 17:58:17 +00:00
scw
3f2adcb2b0
Checkpoint of code to add VMEbus slave support using vme_dmamap* and
...
vme_dmamem*.
This is still a work in progress, but seems to DTRT on mvme167 so far.
TODO:
. Get VMEbus slave mode going on mvme147. This should be easy.
. Fix up the A16 slave mappings.
. Bounce buffer support. (Messy, but pretty much a `must have'.)
. Figure out how to deal with `location monitor' interrupts
within the framework. (Useful for Busnet, among other things.)
. It would be nice to make use of the VMEchip2's DMA facilities...
2000-08-20 17:07:41 +00:00
thorpej
a6b7f5a17d
Use RF_WAIT_COND() to avoid locking errors.
2000-08-20 16:51:03 +00:00
thorpej
d06cb9ab29
RF_COND_WAIT(): use ltsleep().
...
RF_SIGNAL_COND(): use wakeup_one().
2000-08-20 16:15:31 +00:00
augustss
5329aaea38
Remove __P().
2000-08-20 15:57:02 +00:00
mrg
dbcf44d379
fix a few things; expand a few as well.
2000-08-20 15:43:43 +00:00
bjh21
567f2768d1
Implement the easy ptrace requests and turn off the difficult ones.
2000-08-20 15:16:49 +00:00
mrg
e144281c4e
move ofwboot & bootblk here; add a Makefile to build ofwboot.net
2000-08-20 14:58:36 +00:00
mrg
85737336b4
add/merge sparc64 support.
2000-08-20 14:57:16 +00:00
mrg
9bea0e1a52
fix ultrasparc support.
2000-08-20 14:56:28 +00:00
mrg
b74059e5cf
move everything to arch/sparc/stand; leave the Makefile behind.
2000-08-20 14:53:19 +00:00
mrg
651a58c846
add SOFTDEP
2000-08-20 14:51:56 +00:00
mrg
4c835d91f6
add ramdisk support
2000-08-20 14:48:32 +00:00
mrg
cc8bba3950
add "make release" support
2000-08-20 14:46:03 +00:00
mrg
885498ebaa
fix sparc64 support.
2000-08-20 14:43:19 +00:00
pk
7857ad0b81
Move cgsix and bwtwo Sbus attach code here from arch/sparc.
2000-08-20 14:33:25 +00:00
pk
1eeffbaac6
De-P__
2000-08-20 14:30:13 +00:00
pk
6e36f80602
Move cgsix, bwtwo and BT DAC support here from arch/sparc.
2000-08-20 14:28:49 +00:00
pk
4ec48d799f
fbio.h moded to sys/dev/sun.
...
Retain symlink from /usr/include/machine.
2000-08-20 14:02:59 +00:00
pk
02c262b278
Move fbio.h and fbvar.h here.
2000-08-20 14:00:43 +00:00
eeh
7becceeb4b
Add COMPAT_NETBSD32 support.
2000-08-20 13:44:14 +00:00
bjh21
ba6517aa9c
Adjust register spacing to take A0 into account. This should make supporting
...
8-bit uses of the 8005 (such as, I suspect, 8-bit Ether3 cards) easier.
2000-08-20 13:43:23 +00:00
bjh21
ef49e5cd42
Exclude cpu_Debugger if DDB is not defined.
2000-08-20 13:41:44 +00:00
pk
b369b979ae
Remove duplicate `flags' from printf format string.
2000-08-20 11:51:52 +00:00
assar
38f9bead65
fix bad mdoc markup. closed PR/10854
2000-08-20 10:36:40 +00:00
bjh21
3e6dc8178c
Ensure that uvmexp.freemin is above the kernel reserved-page count.
...
When it wasn't (which could happen on a 4Mb machine with 32kb pages),
uvm_pagealloc_strat could refuse to allocate user memory, while the pagedaemon
didn't think it was worth freeing any more, resulting in the system seizing up.
2000-08-20 10:24:14 +00:00
toddpw
eb6225f8f4
Enhance script. Add -all option and improve intelligence about which files to
...
sum (and whether to do sums at all!). Describe script in comments at the top.
2000-08-20 08:29:59 +00:00
tsubai
31ec486214
Correct asm parameter to avoid gcc uninitialized warning.
2000-08-20 07:48:45 +00:00