Commit Graph

16 Commits

Author SHA1 Message Date
soren 95f3c9498d MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV are deprecated. 2000-05-05 03:18:25 +00:00
thorpej f51470a514 Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED.  These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case).  Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
soren 99e6adf31e Adapt to cpu_intr() change. 2000-04-28 15:55:51 +00:00
soda c56a43535d remove following symbols which became unnecessary in recent cpu_intr() change:
mips_hardware_intr
	MIPS3_INTERNAL_TIMER_INTERRUPT
	mips3_intr_cycle_count
	mips3_timer_delta
2000-04-15 22:05:51 +00:00
soda 1c5551f260 splsoftnet() should block softclock() too. 2000-04-03 11:44:19 +00:00
soren 278498c05f Some cleanups. 2000-03-31 14:51:49 +00:00
soren 80e6d43253 Add asm.h like other ports. 2000-03-30 21:33:30 +00:00
soren 573160e03b Revert previous. 2000-03-24 23:06:03 +00:00
soren c535ede30b Move sysctl definitions from arch/mips to arch/foo. 2000-03-24 21:30:58 +00:00
soren b2386045f0 Protect against multiple inclusion. 2000-03-24 20:16:27 +00:00
soren 793382b291 Revert to the same scheme as the other MBR-using ports. 2000-03-22 20:38:05 +00:00
soren 826e64bd17 Add math.h. 2000-03-21 02:48:17 +00:00
soren 7db0d53d01 Add math.h. 2000-03-21 02:30:42 +00:00
soren 28fba2d433 Blocking soft interrupts can be useful.. 2000-03-21 02:27:50 +00:00
soren d71e4cbde1 Use correct MACHINE_ARCH. 2000-03-20 12:26:11 +00:00
soren 4c547143d4 NetBSD/cobalt. Work-in-progress. 2000-03-19 23:07:43 +00:00