Commit Graph

30604 Commits

Author SHA1 Message Date
tanimura
af34f116bc Fix lock leakage and late unlock.
Submitted by:	bde
2002-03-02 12:42:24 +00:00
bde
3dccea70af Deverbosified previous 2 commits (removed the rotted list of reasons why
<sys/systm.h> is included instead of adding to it).

Approved by:	previous committer
2002-03-02 11:14:13 +00:00
bde
6c8918fd14 Fixed a printf format error. 2002-03-02 10:54:33 +00:00
brooks
0fa4aee42b Make 128-bit WEP (aka 104-bit WEP) work with Prism based cards.
Submitted by:	Thomas Skibo <skibo@pacbell.net>
MFC after:	3 days
2002-03-02 00:06:23 +00:00
mjacob
e4e00ab288 Make it compile again. 2002-03-01 23:15:45 +00:00
mjacob
61bd368590 Fix mcpcia.c so it compiles again. 2002-03-01 23:10:19 +00:00
orion
7cc2d2db68 Add support for VT8233. 2002-03-01 20:30:13 +00:00
jake
f682fc3b87 We don't need KTR_COMPILE in assym.s, its already in opt_global.h. Add
assyms for more ktr trace classes.
2002-03-01 16:22:06 +00:00
jake
4c11a624cf Use a better trace class for ktr traces in the tlb fault handlers, which are
rather loud.
2002-03-01 16:17:50 +00:00
ume
530c747424 missing splx
Obtained from:	KAME
MFC after:	1 week
2002-03-01 13:13:17 +00:00
ume
308fbb2d3e (when new sa is preferred than old sa)
even if we fail to send pfkey message, remove the old sa.

Obtained from:	KAME
MFC after:	1 week
2002-03-01 12:17:21 +00:00
obrien
4bb1d8f6b3 Fix syntax error, where this was not compile tested after style(9)'ing. 2002-03-01 07:05:45 +00:00
jake
7d70ce2abc Catch up to change in tte format.
Forgetten by:	jake
Submitted by:	tmm
2002-03-01 06:17:28 +00:00
obrien
e35171c095 Use vnode_if.awk rather than vnode_if.pl 2002-03-01 01:21:29 +00:00
obrien
f8dff6a952 Return vnode_if back to its AWK roots.
It became a Perl script in rev 1.20.  This removes one more dependence
on perl for the kernel build.
2002-03-01 01:20:23 +00:00
arr
ed36876e15 - Move a comment from being on the same line as a #ifdef to the line
following it.  This should have gone in the previous commit, but
  misviewed Bruce's patch.

Requested by: bde
2002-02-28 21:52:08 +00:00
markm
875d7f4ce6 Make it a bit clearer where this file is to be used and where it
should not be. (Comments only)

Inspired by:	bde
2002-02-28 18:26:30 +00:00
gallatin
acb15d327f add inlines for bswap*.
smaller versions of the byteswap routines were obtained from NetBSD
2002-02-28 18:21:51 +00:00
gallatin
3af87f82d6 recover from namespace collision caused by un-static'ing pci_alloc_resource()
in rev  1.187 of sys/dev/pci/pci.c
2002-02-28 18:18:41 +00:00
markm
1de506bf4e Adjust the includes a bit.
Requested by:	bde
2002-02-28 17:41:42 +00:00
ume
3d5b174433 - Set inc_isipv6 in tcp6_usr_connect().
- When making a pcb from a sync cache, do not forget to copy inc_isipv6.

Obtained from:	KAME
MFC After:	1 week
2002-02-28 17:11:10 +00:00
ume
7bf004382f - In nd6_rtrequest(), ignored a route when it is created by cloning and
is not a neighbor.  see comments for the detailed reason.

- Rejected the process of nd6_rtrequest() when the request is RESOLVE and
the interface does not need neighbor caches.

Obtained from:	KAME
MFC After:	1 week
2002-02-28 17:05:46 +00:00
benno
e2a5a67db8 cpu_switch now works, for kthreads at least. 2002-02-28 12:06:49 +00:00
benno
9ed9d1965d Various cleanups. 2002-02-28 12:00:24 +00:00
benno
63f5bcde8c - Prevent the decrementer interrupt handler from nesting.
- Catch some more cases of PSL_EE and PSL_RI getting out of sync.
2002-02-28 11:57:47 +00:00
benno
2f6cdd2140 - Modify pmap_activate so it only marks the pmap as active.
- Add a pmap_deactivate function.
2002-02-28 11:55:44 +00:00
iedowse
5c807e00f8 In sosend(), enforce the socket buffer limits regardless of whether
the data was supplied as a uio or an mbuf. Previously the limit was
ignored for mbuf data, and NFS could run the kernel out of mbufs
when an ipfw rule blocked retransmissions.
2002-02-28 11:22:40 +00:00
nyan
dce4f706b7 Add -D_KERNEL to CFLAGS for ntohl(). 2002-02-28 10:08:23 +00:00
mike
26dc4f0f7a Remove the now unused NTOHL() family of macros. 2002-02-28 09:59:00 +00:00
mike
97c4e8d684 Change two occurrences of HTONS() to use htons(). 2002-02-28 09:56:31 +00:00
benno
77973ba896 GC an unused variable in cpu_fork(). 2002-02-28 08:48:58 +00:00
markm
14fe516fbe Warning fix. (Very basic - add the right include so that rdtsc() gets
a prototype).
2002-02-28 08:37:18 +00:00
arr
0aaddb66e9 - Fix panic() message and a couple style nits that snuck in from the
recent diagnostics commit (rev. 1.84).
2002-02-28 08:28:14 +00:00
arr
8cb475ee0d - trap -> trap() in panic() string.
- Translate the message into some sort of understandable english.
- Fix a couple near-by style nits.

Submitted by: bde
2002-02-28 08:13:55 +00:00
arr
6e4c469d2f - Style(9) makeover.
Reviewed by: chris, mike
2002-02-28 08:01:49 +00:00
silby
c58cf9d742 Fix a minor swap leak.
Previously, the UPAGES/KSTACK area of processes/threads would leak memory
at the time that a previously swapped process was terminated.  Lukcily, the
leak was only 12K/proc, so it was unlikely to be a major problem unless you
had an undersized swap partition.

Submitted by:	dillon
Reviewed by:	silby
MFC after:	1 week
2002-02-28 07:41:12 +00:00
bmilekic
a3cf10660c Make MPLOCKED work again in asm files and stringify it explicitly
where necessary.

Reviewed by: jake
2002-02-28 06:17:05 +00:00
benno
a0268a0622 Make fork work, at least for kthreads. Switching still has some issues. 2002-02-28 03:24:07 +00:00
peter
778f777d9d Quiet bogus gcc warning 2002-02-28 03:15:53 +00:00
benno
6c392f40ba - Rearrange the sequence of events in powerpc_init() somewhat.
- Catch another instance of PSL_EE being cleared without PSL_RI.
2002-02-28 03:15:49 +00:00
peter
e738ecea20 Tag istallion.c with nowerror (third party) 2002-02-28 03:14:37 +00:00
peter
6f849e9fc8 Fix warning (const lost in assignment), harmless in this case. 2002-02-28 03:13:47 +00:00
peter
a7a7b48006 Fix warnings (prototype for nonexisting static function) 2002-02-28 03:12:00 +00:00
benno
bd730b6871 - When enabling/disabling interrupts, set/clear both PSL_EE and PSL_RI, not
just PSL_EE.
- Make cpu_critical_enter/exit independant of save_intr/restore_intr.
2002-02-28 03:07:48 +00:00
peter
0535cd31ee Fix warnings.. bootpc_init() and related. 2002-02-28 03:07:35 +00:00
benno
821d20af41 Add a missing (. 2002-02-28 03:04:33 +00:00
peter
e7c4fc9f9f Fix warnings 2002-02-28 03:02:20 +00:00
peter
e8f88d4909 Fix warnings 2002-02-28 02:56:29 +00:00
benno
7c729fe961 Implement the following functions:
- pmap_remove
	- pmap_kremove
	- pmap_qremove
2002-02-28 02:54:16 +00:00
benno
9ca8c0b6f6 Remove most of the usage of critical_enter/exit.
I put these in to match the use of spl*() in the NetBSD code I was basing this
on, but it appears to cause problems.

I'm doing this in a separate commit so as to be able to refer back if locking
becomes an issue at a later stage.
2002-02-28 02:45:10 +00:00