Andrew R. Reiter
66c862bc1b
- 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
Mark Murray
f5d9a10b94
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
Andrew Gallatin
ac278dcfc0
add inlines for bswap*.
...
smaller versions of the byteswap routines were obtained from NetBSD
2002-02-28 18:21:51 +00:00
Andrew Gallatin
030cb46918
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
Mark Murray
6df66172e3
Adjust the includes a bit.
...
Requested by: bde
2002-02-28 17:41:42 +00:00
Hajimu UMEMOTO
b7d6d9526c
- 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
Hajimu UMEMOTO
c3cf07a14a
- 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 Rice
677bcc872c
cpu_switch now works, for kthreads at least.
2002-02-28 12:06:49 +00:00
Benno Rice
0e1338662a
Various cleanups.
2002-02-28 12:00:24 +00:00
Benno Rice
b8160b5af4
- 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 Rice
ac6ba8bd4a
- Modify pmap_activate so it only marks the pmap as active.
...
- Add a pmap_deactivate function.
2002-02-28 11:55:44 +00:00
Ian Dowse
167b8d0334
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
Yoshihiro Takahashi
28a90658c4
Add -D_KERNEL to CFLAGS for ntohl().
2002-02-28 10:08:23 +00:00
Mike Barcroft
0497c9b478
Remove the now unused NTOHL() family of macros.
2002-02-28 09:59:00 +00:00
Mike Barcroft
27aba6a42a
Change two occurrences of HTONS() to use htons().
2002-02-28 09:56:31 +00:00
Benno Rice
3301d20ad9
GC an unused variable in cpu_fork().
2002-02-28 08:48:58 +00:00
Mark Murray
6764eb8e7b
Warning fix. (Very basic - add the right include so that rdtsc() gets
...
a prototype).
2002-02-28 08:37:18 +00:00
Andrew R. Reiter
216ae18217
- 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
Andrew R. Reiter
d330a9760f
- 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
Andrew R. Reiter
279efddedd
- Style(9) makeover.
...
Reviewed by: chris, mike
2002-02-28 08:01:49 +00:00
Mike Silbersack
f4e18c9afd
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
Bosko Milekic
71acb2477f
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 Rice
4eed0cf1be
Make fork work, at least for kthreads. Switching still has some issues.
2002-02-28 03:24:07 +00:00
Peter Wemm
183439a14a
Quiet bogus gcc warning
2002-02-28 03:15:53 +00:00
Benno Rice
b7ac845009
- 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 Wemm
9d69d7b867
Tag istallion.c with nowerror (third party)
2002-02-28 03:14:37 +00:00
Peter Wemm
4945f5ec47
Fix warning (const lost in assignment), harmless in this case.
2002-02-28 03:13:47 +00:00
Peter Wemm
f24d9c32a0
Fix warnings (prototype for nonexisting static function)
2002-02-28 03:12:00 +00:00
Benno Rice
3c854532b0
- 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 Wemm
85a745c15e
Fix warnings.. bootpc_init() and related.
2002-02-28 03:07:35 +00:00
Benno Rice
9a7fefa51e
Add a missing (.
2002-02-28 03:04:33 +00:00
Peter Wemm
1dec39afe0
Fix warnings
2002-02-28 03:02:20 +00:00
Peter Wemm
d5362546cf
Fix warnings
2002-02-28 02:56:29 +00:00
Benno Rice
88afb2a31b
Implement the following functions:
...
- pmap_remove
- pmap_kremove
- pmap_qremove
2002-02-28 02:54:16 +00:00
Benno Rice
54eb8bbc14
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
Peter Wemm
71e166afe3
Fix another boatload of warnings (missing include) and a cosmetic
...
-Wuninitialized warning.
2002-02-28 00:14:04 +00:00
Peter Wemm
777b9faaa4
Fix warnings.
2002-02-28 00:09:17 +00:00
Peter Wemm
e51c24920f
Fix debug printf formats
2002-02-28 00:06:59 +00:00
Peter Wemm
d62e201b7b
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 Wemm
98d0a7f844
Fix warnings (comment out unused tables that are taking space in the
...
kernel)
2002-02-27 23:57:18 +00:00
Peter Wemm
654694bf54
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 Wemm
e542f1d7b7
Fix warnings
2002-02-27 23:53:02 +00:00
Peter Wemm
f7afd87572
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
Peter Wemm
10d3660bd2
Repair some warnings. These are accessing idle portions of shared memory
...
buffers.
2002-02-27 23:43:19 +00:00
Warner Losh
e84e28dee1
Remove support for FreeBSD 2.x from this driver.
2002-02-27 23:34:02 +00:00
Peter Wemm
b4925b6514
Fix warning (unused variable)
...
Submitted by: LINT, -Werror
2002-02-27 23:32:45 +00:00
Peter Wemm
c538dbe04d
Mark a few more broken pci drivers as nowerror.
2002-02-27 23:30:33 +00:00
Peter Wemm
cd23fe0f58
Fix warning (passing wrong arg to arp_ifinit())
...
Submitted by: LINT, -Werror
2002-02-27 23:28:57 +00:00
Peter Wemm
da0d93cfc3
Mark stallion.c as nowerror (known broken, this is a #warning)
2002-02-27 23:23:54 +00:00
Peter Wemm
6aea67779a
Fix format warning.
...
Submitted by: LINT, -Werror
2002-02-27 23:21:46 +00:00