ad
fbb58ada61
Merge most x86 changes from the vmlocking branch, except the threaded soft
...
interrupt stuff. This is mostly comprised of changes to the pmap modules to
work on multiprocessor systems without kernel_lock, and changes to speed up
tlb shootdowns.
2007-08-29 23:38:01 +00:00
dyoung
1751c5101f
Constify: LLADDR() -> CLLADDR().
2007-08-29 22:53:35 +00:00
dyoung
f59a11881a
Constify: LLADDR() -> CLLADDR().
2007-08-29 22:33:42 +00:00
dyoung
cdffb92c2f
Add interrupt stack "red zones". Reserve and unmap the virtual
...
pages immediately above and below the x86 interrupt stack so that
both an overgrown interrupt stack and other faults produce a page
fault trap. Condition this on the historical option NOREDZONE,
for now.
2007-08-29 22:21:51 +00:00
dyoung
ecfdd24019
Use __arraycount().
2007-08-29 22:14:00 +00:00
jmmv
8583ef1822
Pack all global video-related variables into a structure for clarity.
...
A comment said that they weren't in a struct for speed reasons but...
this should not affect performance because these variables are mostly
used to set other variables (hence they are read few times).
2007-08-29 16:09:31 +00:00
jmmv
9220353379
Move the definition of multiple video-related variables into a new
...
header file (machine/video.h) so that we can kill all the "manual"
externs spread around the code (which were inconsistent among them).
2007-08-29 13:02:41 +00:00
xtraeme
ef90294f8c
Attach to the ICH9 LPC Interface Bridges. The datasheet doesn't mention
...
any difference in the TCO part (compared to ICH[678]).
2007-08-29 12:54:05 +00:00
jmmv
2b47cc7981
Split the global videosize variable into videowidth and videoheight:
...
makes the code clearer and avoids multiple parts of it having to know
how videosize was encoded.
2007-08-29 12:39:31 +00:00
martin
b2d2477c73
Remove unused stuff
2007-08-29 11:34:14 +00:00
pooka
e268264882
u_short -> unsigned short
2007-08-29 10:32:01 +00:00
xtraeme
a71f5a7e9b
Add cdce(4).
2007-08-29 09:44:56 +00:00
cube
2eca33e853
Fix ipv4 multicast that could sometimes send packets with the wrong
...
Ethernet multicast address.
Reported by jmcneill@, fix discussed with dyoung@, _very_ light testing by
myself, some more money for my dealer of anxiolytics after reading
ip_output()'s twisted code maze.
2007-08-28 23:45:39 +00:00
pooka
6ae9cab127
In quotactl, move vrele() to after the VFS call: protects the
...
mountpoint from being wiped under us better.
from David Holland
2007-08-28 09:28:10 +00:00
msaitoh
7c88b47eff
add I82566
2007-08-28 01:11:50 +00:00
msaitoh
7e58a97ba9
regen
2007-08-28 01:11:25 +00:00
msaitoh
a27bb988f0
add Intel I82566
2007-08-28 01:11:05 +00:00
msaitoh
86b9b947e1
add ICH9
...
need more work?
2007-08-28 01:10:34 +00:00
msaitoh
1f24e62283
regen
2007-08-28 01:09:28 +00:00
msaitoh
2ef753ba17
add ICH9's Ethers
2007-08-28 01:09:01 +00:00
macallan
699639e68b
add hardware cursor support
2007-08-28 00:21:43 +00:00
macallan
c86f607779
fix typo
2007-08-28 00:21:04 +00:00
nakayama
506b14959f
Make ath(4) work again on sparc64 (and other big-endian machines).
2007-08-28 00:12:46 +00:00
pooka
396d174477
allow to set ffs options with command-line -o
...
XXX: can't mix puffs and ffs options in one -o foo,bar
2007-08-27 23:15:26 +00:00
dsl
c232133678
ktrace socket control structures (ie msghdr, address etc) using ktrkuser().
2007-08-27 20:09:44 +00:00
macallan
28ba522d98
add lots of register definitions from the IBM561 datasheet
2007-08-27 19:46:45 +00:00
xtraeme
7479c7d76e
Use rw_destroy() in the detach function. Spotted by rmind@.
2007-08-27 17:49:54 +00:00
dsl
22c0ab6d47
Only ktrace the part of the buffer actually read/written.
2007-08-27 16:23:16 +00:00
xtraeme
87186fcca6
Use rwlock(9) rather than lockmgr(9).
2007-08-27 15:57:13 +00:00
dyoung
b4ed197c2d
LLADDR -> CLLADDR.
2007-08-27 14:59:11 +00:00
dyoung
d93512cce5
Remove dead code.
2007-08-27 14:57:47 +00:00
dyoung
c3db559a5f
Constify: use CLLADDR() instead of LLADDR() wherever possible.
2007-08-27 14:48:54 +00:00
xtraeme
8f56f00890
Fix typo in rev 1.26: alldev -> alldevs.
2007-08-27 14:41:03 +00:00
xtraeme
c463a1309e
Fix the $NetBSD$ tag in __KERNEL_RCSID().
2007-08-27 14:39:19 +00:00
dyoung
c778648a34
Use TAILQ_FOREACH().
2007-08-27 14:35:09 +00:00
dsl
31c3c56394
Fix inverted test in ktrpoint(), NAMI traces weren't being generated.
...
Also inline the 'ktrace_on' part of the test.
2007-08-27 13:33:45 +00:00
xtraeme
862b664446
Apply some KNF.
2007-08-27 12:07:39 +00:00
xtraeme
5d1b643f3f
Attach to the ICH9 SMBus device too.
2007-08-27 09:09:22 +00:00
dyoung
b4124ae5bd
Constify.
2007-08-27 07:33:17 +00:00
xtraeme
079789d3c9
Add missing __KERNEL_RCSID().
2007-08-27 06:18:55 +00:00
xtraeme
70c59631a7
Cosmetic: "device %d-bit timer" -> "device: %d-bit timer".
2007-08-27 06:17:28 +00:00
xtraeme
31ee4220f6
Add missing __KERNEL_RCSID().
2007-08-27 06:01:10 +00:00
dyoung
64bfe92e2b
Cosmetic: 0 -> NULL. Remove unnecessary cast.
2007-08-27 05:39:44 +00:00
macallan
639b5a68a6
let userland mmap() the GLint framebuffer and make it visible when switching
...
to WSDISPLAYIO_MODE_MAPPED - so X with wsfb can run in 24bit colour
2007-08-27 02:03:15 +00:00
macallan
6a9b8ff83c
add type for Fujitsu AG-10e
2007-08-27 02:01:23 +00:00
dyoung
7caec74f02
Reorganize and extract arplookup1() for code-sharing. Share
...
null_sdl. Introduce arp_setgate() for initializing a link-layer
nexthop, and use it to fulfill RTM_SETGATE requests.
2007-08-27 01:13:09 +00:00
dyoung
ae7a571b06
Add a new routing message type, RTM_SETGATE. We can use an
...
RTM_SETGATE message to ask the link layer to fill in the link-layer
nexthop before we try to detect a duplicate route in a multipath-capable
kernel.
2007-08-27 00:34:01 +00:00
uwe
77cf5cb29c
Move child_return() and startlwp() to be in the same file with
...
cpu_lwp_fork() that is used to call them.
2007-08-27 00:22:20 +00:00
pooka
59a7b3704a
define FFS
2007-08-26 23:53:24 +00:00
pooka
dbce9b9f2c
few panicky functions
2007-08-26 23:51:08 +00:00