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
mike
906748aa31
Fix vendor ID (mostly obtained from rev 1.1).
...
Make use of `static' storage-class for local functions.
Replace uses of `u_quad_t' with `uintmax_t'.
2002-02-28 11:02:49 +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
davidc
8d09402323
Note the the process group is returned locked.
2002-02-28 07:06:31 +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
imp
e793101d12
PLASTER A WARNING THAT TELLS PEOPLE THAT CURRENT HAS DEBUGGING FEATURES
...
TURNED ON.
Submitted by: rwatson
Suggest -DNO_WERROR unless you are a developer when building a kernel.
Submitted by: mike
2002-02-28 05:31:02 +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
brooks
259212131f
Some style(9) whitespace fixes and a correction to the copyright.
2002-02-28 01:03:27 +00:00
peter
dfc212c6f1
Fix another boatload of warnings (missing include) and a cosmetic
...
-Wuninitialized warning.
2002-02-28 00:14:04 +00:00
peter
d31ac9bebb
Fix warnings.
2002-02-28 00:09:17 +00:00
peter
4bb5a22561
Fix debug printf formats
2002-02-28 00:06:59 +00:00
matusita
ef2430cf70
For unbraking "make release": s/client/common/g
...
(these files are sitting in src/contrib/isc-dhcp/common, not .../client.)
Confirmed by: 5.0-CURRENT-20020228-JPSNAP at snapshots.jp.FreeBSD.org
2002-02-28 00:02:33 +00:00
peter
ffa3ceca95
Fix some unused warnings. One function is only used if
...
TWE_SHUTDOWN_NOTIFICATION is defined, the other two are never used.
2002-02-27 23:59:35 +00:00
peter
91d8b9ecd3
Fix warnings (comment out unused tables that are taking space in the
...
kernel)
2002-02-27 23:57:18 +00:00
peter
285e65540d
Tag if_ie.c, isp.c and isp_pci.c as nowerror (qualifier problems, and third
...
party code)
2002-02-27 23:55:42 +00:00
peter
452d13f651
Fix warnings
2002-02-27 23:53:02 +00:00
peter
8fc732f958
Fix warnings. The driver would be more useful with a DRIVER_MODULE()
...
entry so that it actually can do something.
2002-02-27 23:47:45 +00:00
des
78adc01edf
When searching an object that was opened with RTLD_GLOBAL, search its DAG too.
...
PR: bin/25059
Approved by: jdp
MFC after: 3 weeks
2002-02-27 23:44:50 +00:00
peter
658decccec
Repair some warnings. These are accessing idle portions of shared memory
...
buffers.
2002-02-27 23:43:19 +00:00
imp
de2fade680
Remove support for FreeBSD 2.x from this driver.
2002-02-27 23:34:02 +00:00
peter
f069912dd2
Fix warning (unused variable)
...
Submitted by: LINT, -Werror
2002-02-27 23:32:45 +00:00
peter
aa9a350872
Mark a few more broken pci drivers as nowerror.
2002-02-27 23:30:33 +00:00
peter
ef760783e5
Fix warning (passing wrong arg to arp_ifinit())
...
Submitted by: LINT, -Werror
2002-02-27 23:28:57 +00:00
peter
c064213c43
Mark stallion.c as nowerror (known broken, this is a #warning)
2002-02-27 23:23:54 +00:00
peter
d61500d1a7
Fix format warning.
...
Submitted by: LINT, -Werror
2002-02-27 23:21:46 +00:00
imp
717a71dbad
The do { } while (0) macro example was missing a space after the 'e'.
2002-02-27 23:16:34 +00:00