Commit Graph

61576 Commits

Author SHA1 Message Date
cg
c233f2daba tidy up/simplify dsp_clone() 2001-06-27 19:51:02 +00:00
ume
3abcb6040a clarify problem with inbound AH.
spdadd A B -P in ipsec esp/tunnel/C-D/use ah/tunnel/C-D/require;
does not work due to 1-bit validation bit we are using with inbound
policy checking.

Submitted by:	itojun
Obtained from:	KAME
MFC after:	1 week
2001-06-27 19:41:20 +00:00
ume
6c95672334 refresh default router list on nd6_purge(), only if we are an
autoconfigured host.

Obtained from:	KAME
2001-06-27 17:56:17 +00:00
nik
456c123190 Various changes to the messages so that they are now appropriate for both
CD and DVD releases of FreeBSD.
2001-06-27 17:48:43 +00:00
jhb
a5db0cb683 Catch up to mbuf allocator changes from last September so this compiles
again.
2001-06-27 14:57:17 +00:00
jhb
6822406e6b Make this compile again. Broken since June 1. 2001-06-27 14:46:44 +00:00
ru
61d088ba8d Fixed the brain-o in rev. 1.10: the logic check was reversed.
Reported by:	Bernd Fuerwitt <bf@fuerwitt.de>
2001-06-27 14:11:25 +00:00
benno
6cb2bc37f1 Forced commit after problems with previous commit.
Enable decrementer exceptions and set up a timecounter.

With this commit I can now (with KTR enabled) see the system attempting to
schedule clock swi's.
2001-06-27 12:35:12 +00:00
benno
a9c335b97c Code for dealing with external interrupts.
Obtained from:	NetBSD
2001-06-27 12:33:51 +00:00
benno
09d749b5a2 Forced commit due to mishap in the previous commit.
Add in an implementation of pmap_new_proc.
2001-06-27 12:24:21 +00:00
benno
3a9f4fdc93 Forced commit due to commit mishap.
Change the name of the entry point symbol from 'start' to '__start' to be in
sync with the ldscript.
2001-06-27 12:23:40 +00:00
benno
87e9f9315f Fix comment breakage. 2001-06-27 12:20:48 +00:00
benno
7197be699f And he does it again...
This commit was meant to be to add inline functions for manipulation of
various privileged registers and to convert some functions to using them.

As it is, it's my second forced commit of the evening.
2001-06-27 12:19:07 +00:00
benno
a304a71cd2 Fix the atomic_*_32 operations. These were written before I had the ability
to test them properly and before I had a working knowledge of GCC asm
constraints.
2001-06-27 12:17:23 +00:00
benno
c92b4bbf4f Bracket this file in the usual #ifndef/#define/#endif stuff to prevent
multiple inclusion.
2001-06-27 12:15:58 +00:00
benno
d07d921cce Garbage collect some debug code. 2001-06-27 12:15:12 +00:00
benno
e6a9c36e12 Oops, this was meant to be done in a later commit but I goofed.
This commit was meant to add entries for extintr.c (used partially by the
new clock/timecounter which is coming in a later commit) and entries for
bits of DDB source, which is also coming soon.
2001-06-27 12:14:22 +00:00
benno
3c1cfd0376 Add -msoft-float to COPTS to stop GCC attempting to be "smart" and using
floating point registers for various optimisation tweaks.
2001-06-27 12:10:25 +00:00
jasone
22f14eaadf Fix a race condition in pthread_join(). All of the following must occur
atomically:

1) Search _thread_list for the thread to join.
2) Search _dead_list for the thread to join.
3) Set the running thread as the joiner.

While we're at it, fix a race in the case where multiple threads try to
join on the same thread.  POSIX says that the behavior of multiple joiners
is undefined, but the fix is cheap as a result of the other fix.
2001-06-27 11:41:15 +00:00
jhb
97220dbd1e - Add trylock variants of shared and exclusive locks.
- The sx assertions don't actually need the internal sx mutex lock, so
  don't bother doing so.
- Add a new assertion SX_ASSERT_LOCKED() that asserts that either a
  shared or exclusive lock should be held.  This assertion should be used
  instead of SX_ASSERT_SLOCKED() in almost all cases.
- Adjust some KASSERT()'s to include file and line information.
- Use the new witness_assert() function in the WITNESS case for sx slock
  asserts to verify that the current thread actually owns a slock.
2001-06-27 06:39:37 +00:00
jhb
e58c0d25fb - Add a new witness_assert() to perform arbitrary locking assertions.
- Clean up the KTR tracepoints to be slighlty more consistent and useful
- Fix a bug in WITNESS where we would recurse indefinitely and blow the
  stack when acquiring Giant after sleeping with a sleepable lock held.

Reported by:	tanimura (3)
2001-06-27 06:27:29 +00:00
jhb
f4029cf62b - Always use the proc lock of the task leader to protect the peers list of
processes.
- Don't construct fake call args and then call kill().  psignal is not
  anymore complicated and is quicker and not prone to locking problems.
  Calling psignal() avoids having to do a pfind() since we already have a
  proc pointer and also allows us to keep the task leader locked while we
  kill all the peer processes so the list is kept coherent.
- When a kthread exits, do a wakeup() on its proc pointers.  This can be
  used by kernel modules that have kthreads and want to ensure they have
  safely exited before completely the MOD_UNLOAD event.

Connectivity provided by:	Usenix wireless
2001-06-27 06:15:44 +00:00
gshapiro
b2bba7ca2a Typo fix: requires -> reacquires
Submitted by:	Murray S. Kucherawy <msk@sendmail.com>
MFC after:	3 days
2001-06-27 06:01:17 +00:00
dd
4cbc233a90 Correct path to wtmp.
PR:		28433
Submitted by:	Joseph Mallett <jmallett@xMach.org>
2001-06-27 06:00:26 +00:00
itojun
7370eae674 openbsd 2.9 (2001/6/1) 2001-06-27 04:41:58 +00:00
chris
ff751ec930 Remove an extra word "fo" in the sentence "there is no process whose
process ID equals fo pid".

PR:		28436
Submitted by:	Gregory Bond <gnb@itga.com.au>
2001-06-27 04:21:28 +00:00
mikeh
71ab6ae0a0 Sync manpage and usage. Also fix bug that would always interpret a -c as a
process clear.

PR:	bin/15456
MFC after:	2 weeks
2001-06-27 02:52:57 +00:00
gshapiro
1e4d37f7c2 Typo fix (modifes -> modifies) 2001-06-27 01:48:02 +00:00
dan
4858a56150 stpo --> stop (typo). 2001-06-26 23:19:45 +00:00
dd
2bbaae6092 Staticize, constize, de-registerize; don't shadow global definitions;
set WARNS=2.

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-26 22:22:19 +00:00
joerg
6b7be17eed Now that we've got it, use FDOPT_NOERRLOG for fdformat and fdwrite to
avoid blasting the syslog with error messages from bad floppies.  Both
tools have their own error reporting anyway (which could easily be
cluttered by the syslog output on your terminal).
2001-06-26 22:19:32 +00:00
joerg
243ae6f45d Implement the -I option that uses the FD_READID ioctl in order to read
sector ID fields from a floppy, and display them.
2001-06-26 22:17:21 +00:00
joerg
9a7af27f8e Implement a new ioctl command for floppies: FD_READID
Reads one sector ID field from a given track.  Useful for analyzing
floppies.
2001-06-26 22:16:30 +00:00
dd
e9ec4f9449 Add appropriate includes and prototypes; staticize; set WARNS=2. Also
minor Makefile nits.

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-26 22:11:13 +00:00
joerg
ee8f997358 Some more cosmetics: kill another couple of K&R function definitions
that survived from old days, fix style of return type in fdcpio(),
kill old Emacs hints that are no longer working that way anyway.
2001-06-26 22:07:25 +00:00
cg
773e160778 add a tunable/sysctl, hw.snd.autovchans. if this is set to a value n where
n > 0, n vchans will be assigned to any devices that subsequently register
with a single playback channel.
2001-06-26 21:54:55 +00:00
imp
aa831c7a7b Use tabs where tabs are supposed to go! 2001-06-26 20:50:34 +00:00
imp
80d44e2f3e Add dell wireless card
Submitted by: keichi
2001-06-26 20:44:27 +00:00
schweikh
9e705f87d9 Increase column widths when using -i (they are now wide enough to
hold a 64bit or 32bit ~0 value, i.e. 20 and 10; this anticipates
soon-to-be machines with Exahertz rtc interrupt frequencies. :-)

PR:		bin/16206
Submitted by:	John Capo <jc@irbs.com>
MFC after:	1 week
2001-06-26 18:49:10 +00:00
obrien
cf97142871 Style fix. 2001-06-26 18:32:20 +00:00
obrien
dbf5ef1b18 Add the IA-64 unwind handling (needed for readelf). 2001-06-26 18:29:47 +00:00
obrien
43933a2760 This commit was generated by cvs2svn to compensate for changes in r78844,
which included commits to RCS files with non-trunk default branches.
2001-06-26 18:26:26 +00:00
obrien
e4de9fb2c0 Import of GNU Binutils version 2.11.2. 2001-06-26 18:26:26 +00:00
dan
d59d71ad4f Add support for linksys instant wireless.
Approved by: imp
2001-06-26 18:22:12 +00:00
obrien
5e25d45ce5 Upgrade to Binutils 2.11.2. 2001-06-26 18:20:46 +00:00
obrien
19e2ac85ba Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.11.2.
2001-06-26 17:57:37 +00:00
obrien
d43a7bbb99 We use the stock (2.11.2) version of this now. 2001-06-26 17:56:02 +00:00
obrien
a65699192d Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11.2. 2001-06-26 17:54:12 +00:00
obrien
d824a7ac21 We use the stock (2.11.2) version of this file now. 2001-06-26 17:53:08 +00:00
obrien
b51a00f355 Use the stock (2.11.2) version of this now. 2001-06-26 17:51:35 +00:00