Commit Graph

12 Commits

Author SHA1 Message Date
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
matt
80798140ed Switch NetBSD/vax to the CAS model of mutexes. Fix the locking primitives
in lock_stubs.S so they actually function correctly.
2008-02-22 03:16:01 +00:00
yamt
aebd6aa5c9 add comments 2007-11-21 11:15:50 +00:00
yamt
38d5e34116 make kmutex_t and krwlock_t smaller by killing lock id.
ok'ed by Andrew Doran.
2007-11-21 10:19:06 +00:00
matt
d0ef60fca0 Fix boolean inversion and missing definition. 2007-04-06 17:48:06 +00:00
matt
b3cd0abcf6 Shrink VAX kmutex from 12 bytes to 8. Fix various LOCKDEBUG/DIAGNOSTIC
problems.
2007-03-12 02:22:43 +00:00
thorpej
9bb23baed6 Fix the INSV instruction in MUTEX_ACQUIRE(). From Hans Rosenfeld. 2007-03-09 21:35:33 +00:00
matt
12f3fecf74 Return rv, not 1, in MUTEX_ACQUIRE (spotted by mhitch) 2007-02-19 03:06:46 +00:00
ad
4baed28eee MUTEX_NO_SPIN_ACTIVE_P() needs to be a macro, otherwise we end up in
circular dependency hell.
2007-02-19 00:31:21 +00:00
matt
f7d7a7a06a Add an implementation for krwlock_t. Initialize ci_mtx_count to 1 (biased).
Fix a few buglets in the kmutex_t implementation.
2007-02-17 05:34:07 +00:00
ad
26c2c3986f MUTEX_SET_WAITERS(): return zero if the mutex has become unheld. 2007-02-16 02:48:47 +00:00
matt
53af1aa78b Partially adapt the VAX port to the newlock2 changes. These are untested
but they do at least compile.
2007-02-16 01:33:49 +00:00