is
d2cd47b6b2
no gvpbus on DRACO
1999-07-28 05:55:19 +00:00
christos
223cc34183
make the vme stuff compile again; I am not sure this is correct as I don't
...
have the hardware to test, but it has been broken for 3+ weeks now. Hi
Mr. Drochner!
1999-07-28 05:45:50 +00:00
thorpej
eced87ad87
Fix a locking error: When allocating a PV page for the kernel pmap,
...
the pmap would be locked, and we would deadlock when mapping the
newly allocate PV page.
1999-07-28 05:37:54 +00:00
mellon
a976011fcf
- Correct the definition of the COUNT macro so that it takes the same
...
number of arguments when compiled without DIAGNOSTIC as with.
1999-07-28 01:59:46 +00:00
mellon
6d03d79b64
- compat_aout requires compat_13_machdep.c for definition of sigreturn.
1999-07-28 01:57:05 +00:00
thorpej
9d4524778d
Slight adjustment to last; move pmap_kenter_pa() to where the other
...
pmap_k* functions are.
1999-07-28 01:17:01 +00:00
thorpej
31fa5c6f78
Don't inline pmap_kenter_pa(). It doesn't buy us much to do so, and
...
it's nice to have it show up in stack traces.
1999-07-28 01:07:52 +00:00
thorpej
6ec1ededf1
Make a slight rearrangement in how <machine/lock.h> is included.
1999-07-27 23:45:13 +00:00
thorpej
cc668e410f
Define apporpriate an value for SIMPLELOCK_LOCKED, based on the
...
semantics of ldstub.
1999-07-27 22:22:33 +00:00
thorpej
0b1b32b6ff
Make sure the kprintf_slock is initialized, and use the low-level atomic
...
locking primitive directly to lock it, since those will never attempt
to call printf() to display debugging information (and thus deadlock
on recursion into the kprintf_slock).
1999-07-27 21:50:37 +00:00
thorpej
c1ee8f0a8c
Prepend `cpu_' to the machine-dependent atomic locking primitivies.
1999-07-27 21:45:39 +00:00
thorpej
d17dfae658
1.4I - simplelock changed
1999-07-27 21:33:57 +00:00
thorpej
cd992b17df
In _pool_put(), call simple_lock_freecheck() if we're LOCKDEBUG before
...
we put the item on the free list.
1999-07-27 21:31:17 +00:00
thorpej
6390046137
Improve the LOCKDEBUG code:
...
- Now compatible with MULTIPROCESSOR (requires other changes not yet
committed, but which will be later today).
- In addition to tracking simple locks, track exclusive spin locks.
- Count spin locks like we do sleep locks (in the cpu_info for this
CPU).
- Lock debug lists are now TAILQs, so as to make the locking order
more obvious when dumping the list.
Also, some suggestions from Bill Sommerfeld:
- SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED constants, which may be
defined in <machine/lock.h> (default to 1 and 0, respectively). This
makes it easier to support architectures which use test-and-clear
rather than test-and-set.
- Add __attribute__((__aligned__)) to the `lock_data' member of the
simplelock structure. This makes it easier to support architectures
which can only perform atomic operations on very-well-aligned memory
locations. NOTE: This changes the size of struct simplelock, and
will cause a version bump.
1999-07-27 21:29:15 +00:00
castor
0a1820a4e7
regen
1999-07-27 17:55:00 +00:00
castor
424a28aa79
Add vendor ID for Geocast
1999-07-27 17:52:59 +00:00
explorer
ed3b6d5791
Fix a problem where tcp_slowtimo was called twice, once for ipv4 tcp and
...
once for ipv6. This patch makes the ipv6 case pass NULLs in for fast
and slow timeouts iff defined(INET) and passes in the right function
if !defined(INET).
Reveiwed by itojun@iijlab.net .
1999-07-27 06:23:57 +00:00
cgd
a0af6a8443
fix msdosfs export problems which occur on LP64 systems, which were
...
discovered while investigating PR#8037.
1999-07-27 05:39:10 +00:00
cgd
c1a83a09b0
fix LP64 problems which were the cause of PR#8037.
1999-07-27 05:38:02 +00:00
thorpej
d6c9ec0a2e
Make this "should work" on big endian systems.
1999-07-27 00:55:34 +00:00
thorpej
b73b84643f
Add support for the SMC 83c175. Also, print out the chip rev when
...
we attach.
1999-07-27 00:37:34 +00:00
thorpej
f48807a678
Regen.
1999-07-27 00:24:06 +00:00
thorpej
b5dc3f5708
Add product ID for the SMC 83c175 Fast Ethernet chip. This is a cousin
...
of the SMC 83c170 which also supports CardBus.
1999-07-27 00:23:47 +00:00
augustss
43dd17675c
Make it compile with -current. I hope I got it right.
1999-07-26 23:26:14 +00:00
thorpej
c0e24db820
Use wakeup_one() for waking up sleep lock sleepers.
1999-07-26 23:02:53 +00:00
thorpej
1bd7bb28ea
Implement wakeup_one(), which wakes up the highest priority process
...
first in line for the specified identifier. For use in places where
you don't want a Thundering Herd.
While here, add an optimization to wakeup() suggested by Ross Harvey.
1999-07-26 23:00:58 +00:00
explorer
8fa3d8be55
make the JVC 2626 match more than one version, since all seem to be
...
returning errors on the LUN probe.
1999-07-26 22:43:13 +00:00
wrstuden
f3b3a1b98d
If we get into pcclose() without a defined tty, just exit rather than
...
dereferencing a null pointer.
1999-07-26 19:31:54 +00:00
wrstuden
eeefc02aec
Add VLAYER to tests which will cause VOP_REVOKE to be called in sys_revoke().
1999-07-26 19:20:09 +00:00
jdolecek
89c23c0bb0
ntfs_getattr(): do not use dev2udev() on NetBSD
...
ntfs_readdir(): remove some junk accidentaly left in when merging the changes
1999-07-26 14:40:34 +00:00
jdolecek
4d71da4939
ntfs_mount(): there is no bdevsw() under NetBSD - to check if passed
...
block device is valid, just check if it's major is less than nblkdev
ntfs_mountfs(): dev2udev() not needed under NetBSD
1999-07-26 14:35:19 +00:00
jdolecek
afae7d7f3b
resolve conflicts
1999-07-26 14:02:30 +00:00
cgd
f886376518
be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
...
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
enami
18a17d4777
Don't use the result of inet_ntoa after calling the another inet_ntoa,
...
since they share the same static storage.
1999-07-26 02:16:35 +00:00
cgd
16db153ba2
fix MSDOSFS_DEBUG printf arg type
1999-07-26 00:14:27 +00:00
ad
724365fa3e
Change the way fb devices are configured and attached:
...
- 'struct fbsoftc' created, which points to a 'struct fbinfo'
- 'struct fbinfo' for each device is allocated with fballoc()
This means:
- Console device doesn't get different 'struct fbinfo' at attach
- Console device doesn't get initialized twice
- Color rcons now works
- The current Xserver MUST BE REBUILT.
1999-07-25 22:50:28 +00:00
thorpej
fc04cf9982
Add calls to lock the proclist as appropriate.
1999-07-25 18:33:47 +00:00
thorpej
e70f375122
Lock the proclist as appropriate.
1999-07-25 18:05:31 +00:00
ad
e6216650d8
Use unsigned integer to hold font bits in putchar(). [This looks like the
...
source of glyph corruption].
1999-07-25 17:36:40 +00:00
darrenr
8b165c84f7
don't log an error for ktrace if it's EPIPE - an error that should be
...
expected with fktrace/ktruss (i.e the error is `noise').
1999-07-25 13:59:08 +00:00
rh
cfa2c0bd79
Remove superfluous NULL argument from proclist_lock_read() call.
1999-07-25 08:55:46 +00:00
thorpej
2fd5daf2d1
1.4H -- struct lock changed.
1999-07-25 06:39:53 +00:00
thorpej
ea8fb3e04a
Turn the proclist lock into a read/write spinlock. Update proclist locking
...
calls to reflect this. Also, block statclock rather than softclock during
in the proclist locking functions, to address a problem reported on
current-users by Sean Doran.
1999-07-25 06:30:33 +00:00
thorpej
50f9f26fe1
Add a spin lock mode to the lock manager. Provides a read/write
...
spin lock facility. Some code and ideas from Ross Harvey.
1999-07-25 06:24:22 +00:00
tron
d5442d74c5
Fix NULL pointer access. Patch supplied by Dave Huang in PR kern/8055.
1999-07-24 15:10:02 +00:00
augustss
4047458551
More DIAGNOSTIC messages.
1999-07-24 01:40:19 +00:00
explorer
4cbf118032
add a SHARK.v6, so the shark specific kernel can get v6, too
1999-07-23 22:45:23 +00:00
itojun
42c5caafe7
do not include unnecessary include files.
1999-07-23 15:21:17 +00:00
thorpej
014078a731
Garbage collect.
1999-07-22 23:31:07 +00:00
thorpej
2860ae9b30
Add proclist locking where appropriate (forgot to commit this file previously).
1999-07-22 23:00:27 +00:00