jmcneill
14d05a98eb
add dtv_math module
2011-08-09 01:42:57 +00:00
jmcneill
fb95eabd74
modify the dtv device api so hardware drivers can be loaded independently
...
of the dtv module
2011-08-09 01:42:24 +00:00
kiyohara
a27a5ab73d
Fix build failed. mouse.h and pccons.h already removed.
2011-08-09 00:39:35 +00:00
jakllsch
88e3a4403f
COMPAT_16 code only exists on amd64 in the presence of COMPAT_NETBSD32.
2011-08-08 23:44:06 +00:00
jmcneill
438817447a
Fix typo that prevented installmodules from working with -U
2011-08-08 23:18:36 +00:00
jmcneill
b415fa375b
add an installmodules=<dir> command to build.sh
2011-08-08 22:15:42 +00:00
wiz
941368522d
Sort sections. Remove trailing whitespace. Sort errors.
...
New sentence, new line.
2011-08-08 19:50:17 +00:00
dyoung
f77a583767
Miscellaneous mbuf changes:
...
1 Add some protection against double-freeing mbufs in DIAGNOSTIC kernels.
2 Add a m_defrag() that's derived from
sys/dev/pci/if_vge.c:vge_m_defrag(). This one copies the packet
header.
3 Constify m_tag_find().
2011-08-08 19:10:33 +00:00
jmcneill
1f2ef40a47
remove dtv (available as a module)
2011-08-08 18:57:58 +00:00
matt
1f8ad1f9be
#include <sys/sched.h> since it's a dependency
2011-08-08 17:53:29 +00:00
matt
47fac2314b
Global inlines are not allowed.
2011-08-08 17:45:13 +00:00
jakllsch
7fd1d1d1ed
We have PUFFS, we need putter.
2011-08-08 17:02:31 +00:00
jmcneill
beb12362eb
revert previous
2011-08-08 17:00:23 +00:00
jakllsch
217a815cc9
Add P1003_1B_SEMAPHORE to match i386.
2011-08-08 16:27:46 +00:00
jakllsch
83432af331
Finish reverting modularization of i386 GENERIC.
2011-08-08 16:27:07 +00:00
jakllsch
0fb9ea60f8
Finish reverting premature modularization of amd64 kernels.
2011-08-08 16:13:42 +00:00
dholland
ce8c87ef91
nfs_namei() should not return a non-null path buffer except on success,
...
even though the callers are apparently prepared to cope.
Fixes last tidyup part of PR 44625.
2011-08-08 16:04:07 +00:00
jakllsch
c5bd226919
inline -> static inline
...
For successful gcc 4.5 builds.
2011-08-08 14:49:06 +00:00
manu
c817bc5d19
regen
2011-08-08 12:17:27 +00:00
manu
9db30be448
First stage of support for Extended API set 2. Most of the think is
...
unimplemented, except enough of linkat(2) to hardlink to a symlink.
Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_C063 since
some software (e.g.: xcvs in our own tree) will assume they can use openat(2)
when AT_FDCWD is defined. _INCOMPLETE_XOPEN_C063 will go away once support
will be completed.
2011-08-08 12:08:52 +00:00
uch
f2404aeb3c
Remove suspicious warning message.
2011-08-08 11:42:30 +00:00
jmcneill
e08b9dc98f
The absence of USE_PLATFORM_CLOCK does not imply that the PM Timer is
...
unreliable; in fact, the PM Timer has to be reliable by definition! Remove
the incorrect warning message that was added in r1.19
2011-08-08 11:27:44 +00:00
jmcneill
698af758ce
If the USE_PLATFORM_CLOCK flag is set in the FADT, it indicates that OSPM
...
should use a platform provided timer (either HPET or the PM timer). A
platform may set this flag if internal processor clock(s) cannot provide
consistent monotonically non-decreasing counters. Set TSC quality to -100
if this flag is set.
2011-08-08 11:18:34 +00:00
enami
a154f93a37
Bounds process's stack size with max_stack_size so that 32bit
...
binary works regardless of stack size limit setting.
2011-08-08 06:30:43 +00:00
rmind
e71c0035e7
- Add an argument to kcpuset_create() for zeroing.
...
- Add kcpuset_atomic_set(), kcpuset_atomic_clear() and kcpuset_merge().
2011-08-07 21:38:32 +00:00
rmind
501dd321fb
Remove LW_AFFINITY flag and fix some bugs affinity mask handling.
2011-08-07 21:13:05 +00:00
alnsn
5deb799841
New linux syscalls: fadvise64() and fadvise64_64().
2011-08-07 20:44:32 +00:00
jakllsch
7b43667cb9
Another instance of REG_OFFSET that needs to be consistent with the rest.
2011-08-07 20:14:42 +00:00
jakllsch
87cbce368d
Appease _LP64 build with GCC 4.5.
2011-08-07 20:05:08 +00:00
jakllsch
1d4d51395d
Appease _LP64 build with GCC 4.5.
2011-08-07 19:46:22 +00:00
jakllsch
c45b9d7c61
Make uhci_find_prev_qh() always 'static inline', just 'inline" leads to trouble.
2011-08-07 18:58:52 +00:00
bouyer
0eab8d73aa
Guard against spurious xbdback_backend_changed() calls which would result
...
in the block device being opened twice. Fixes port-xen/45158,
although the underlying cause (multiple open of the same device not
properly handled any more) is not fixed.
2011-08-07 17:39:34 +00:00
bouyer
d6cda51db2
Add a comment explaing why a flush workqueue is handled differently from
...
read/write workqueue requests.
2011-08-07 17:15:40 +00:00
bouyer
48ed379bb7
Several fixes to the continuation engine:
...
- make sure to enter the continuation loop at splbio(), and add some
KASSERT() for this.
- When a flush operation is enqueued to the workqueue, make sure the
continuation loop can't be restarted by a previous workqueue
completion or an event. We can't restart it at this point because
the flush even is still recorded as the current I/O.
For this add a xbdback_co_cache_doflush_wait() which acts as a noop;
the workqueue callback will restart the loop once the flush is complete.
Should fix "kernel diagnostic assertion xbd_io->xio_mapped == 0" panics
reported by Jeff Rizzo on port-xen@.
2011-08-07 17:10:35 +00:00
kiyohara
e24714e44d
Cleanup spin loop for 2nd cpu.
2011-08-07 15:44:59 +00:00
kiyohara
36f9c97e41
Try to attach 2nd CPU. But not support options MULTIPROCESSOR yet.
2011-08-07 15:31:35 +00:00
kiyohara
10e6e5f9c5
Cleanup headers and variables.
2011-08-07 15:22:19 +00:00
kiyohara
a04d56d41e
Not allow interrupt hear.
2011-08-07 15:16:35 +00:00
kiyohara
f3244f97ee
Use BEBOX_REG for mapped to BAT instead of bebox_mb_reg.
2011-08-07 15:04:45 +00:00
kiyohara
be078a8d7f
Set BeBox Mainboard Registers space to BAT register.
2011-08-07 14:47:05 +00:00
jakllsch
ff30235729
Try to ensure no SSE instructions are generated for kernel code,
...
as is already done on amd64.
2011-08-07 14:39:15 +00:00
kiyohara
905a4ee388
Remove obsoleted headers.
2011-08-07 14:36:35 +00:00
rmind
a0ffc02ab8
Rename slightly misleading KTHREAD_JOINABLE to KTHREAD_MUSTJOIN.
2011-08-07 14:03:15 +00:00
jakllsch
bdc89f19e1
Trailing whitespace, what trailing whitespace?
2011-08-07 14:00:08 +00:00
rmind
acd100f2ac
Convert ppp_list_lock to mutex(9).
2011-08-07 13:51:37 +00:00
jmcneill
438d436d20
PR# kern/30398: panic in ohci_softintr
...
If the host controller has a TD that the driver doesn't know about, ignore it
instead of calling panic. Patch from Karl Janmar.
2011-08-07 13:45:46 +00:00
rmind
1293cee4bd
Replace some wakeup_one(9) uses with mutex(9) or plain wakeup(9).
2011-08-07 13:39:23 +00:00
rmind
52b220e91d
Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel.
...
Suitable for use during the early boot. MD and other implementations
should be replaced with this interface.
Discussed on: tech-kern@
2011-08-07 13:33:01 +00:00
jmcneill
f398b121d3
add the -t option that modifies -l behaviour to recursively scan for
...
child devices and print them in tree format:
$ drvctl -lt usb0
uhub0
uhub6
uhidev0
ukbd0
wskbd1
uhidev1
ums0
wsmouse1
uhid0
ubt0
2011-08-07 13:00:35 +00:00
rmind
83fa217ed7
Fix .Xr to membar_ops(3), not membar(9). Spotted by wiz@.
2011-08-07 12:29:24 +00:00