dyoung
d2e7867bc1
Get rid of gre's deadlock-prone, one-off ifioctl locking. The standard
...
ifioctl locking will do.
2011-10-19 21:59:38 +00:00
dyoung
ea1b432e78
Fix userland compilation: pull the ifioctl lock-related data members
...
into a struct ifnet_lock that the ifnet has a pointer to. In a
non-_KERNEL environment, don't #include <sys/percpu.h> et cetera, and
don't define the struct ifnet_lock but *do* declare it.
2011-10-19 21:29:51 +00:00
macallan
91be481066
add cpufreq support
2011-10-19 21:12:50 +00:00
jruoho
ab2f2845b8
Add few basic checks.
2011-10-19 16:19:30 +00:00
njoly
ef82a331aa
Add basic fpsetmask test to exercize setting/clearing bits.
2011-10-19 15:27:16 +00:00
njoly
a297cfac57
Fix fpsetmask(3) to be able to clear bits previously set.
2011-10-19 15:24:58 +00:00
christos
f78b488307
put back a commented out EXINIT entry.
2011-10-19 14:42:37 +00:00
dholland
3d0061d217
Re-enable EDITOR=vi because otherwise stuff breaks. (Or runs ed, which
...
is arguably equivalent to breaking.)
Per the discussion on tech-userlevel, document the settings offered.
(All of this needs quite a bit more work still.)
2011-10-19 11:27:26 +00:00
yamt
8bde152794
vmem_create: copy the 'name' string rather than just keeping a reference to it.
...
i think it's what solaris does as at least dtrace relies on this behaviour.
2011-10-19 11:12:37 +00:00
yamt
fb69e65229
make aggregate work for > 1 cpus
2011-10-19 11:03:52 +00:00
yamt
f34e2253c6
because our xcall stuff can't be used in softint, use kernel threads
...
for cleaner/deadman low-level cyclic replacement. PR/44905
2011-10-19 11:02:08 +00:00
yamt
ad773a12d3
fbt_provide_module_cb: exclude some functions known unsafe to probe
2011-10-19 10:55:50 +00:00
yamt
f4edeeff2a
comment
2011-10-19 10:53:12 +00:00
yamt
c35e5be505
don't forget to call kdtrace_thread_ctor for lwp0
2011-10-19 10:51:47 +00:00
tsutsui
a27f299c14
Cleanup ancient entries derived from 4.4BSD Lite2 merge
...
for newer useradd(8) users:
- remove all aliases
- remove annoying EXINIT setting
- comment out other environment settings
Discussed on tech-userlevel@.
2011-10-19 10:14:35 +00:00
dyoung
c9f2f11694
Don't link pci_ranges.c with x86 kernels for now, it's using a
...
pcibus_attach_args member that I haven't added, yet.
2011-10-19 05:22:25 +00:00
dyoung
e00d67c042
Create a stub implementation of pci_ranges_infer().
2011-10-19 05:01:43 +00:00
dyoung
386d3978d1
Use if_addr_init() and if_mcast_op() instead of ifp->if_ioctl().
2011-10-19 01:52:22 +00:00
dyoung
0438231d62
Use if_addr_init() instead of ifp->if_ioctl().
2011-10-19 01:50:27 +00:00
dyoung
82f65cfc5a
Use if_flags_set() and if_addr_init() instead of ifp->if_ioctl().
2011-10-19 01:49:50 +00:00
dyoung
96ddefeaea
Use if_mcast_op() and if_flags_set() instead of calling ifp->if_ioctl().
2011-10-19 01:48:30 +00:00
dyoung
9454d9b3cd
Extract subroutines ifioctl_enter() and ifioctl_exit().
2011-10-19 01:46:43 +00:00
manu
399ad65db5
Remove #ifdef DIAGNOSTIC guards around KASSERT, as the macro contains them
2011-10-19 01:39:29 +00:00
dyoung
ab5a4db2a3
Start to untangle the ifnet ioctls mess.
...
Add ifnet functions, if_mcast_op(), if_flags_set(), and if_addr_init()
for adding/deleting multicast addresses, modifying the if_flags,
and initializing local/remote addresses. Make ifpromisc() use
if_flags_set(). Protocols and network drivers should use these
instead of ifp->if_ioctl() calls. Subsequent commits will
replace ifp->if_ioctl(SIOCADDMULTI| SIOCDELMULTI| SIOCSIFDSTADDR|
SIOCINITIFADDR| SIOCSIFFLAGS) calls with calls to the new functions.
Use a mutex(9) to synchronize ifp->if_ioctl() calls originating in
userland. Also synchronize ifp->if_ioctl() calls with ifnet detachment
and reclamation.
2011-10-19 01:34:37 +00:00
reed
08dba12376
patch from from Snader_LB via IRC.
...
- mention "The following options are available:"
- improve grammar
- provide useful tip about -x
2011-10-19 00:27:40 +00:00
jmcneill
11e87ad5a9
clear fixed events and disable GPEs before re-enabling interrupts on resume
...
from S1
2011-10-18 23:47:26 +00:00
dyoung
c87be755b5
Factor device_isa_register() and device_pci_register() out of
...
device_register() and stick the new routines into isa_machdep.c and
pci_machdep.c, respectively.
2011-10-18 23:43:36 +00:00
jym
2c4b0fd95e
Move Xen specific functions out of x86 native pmap to xen_pmap.c.
...
Provide a wrapper to trigger pmap pool_cache(9) invalidations without
exposing the caches to outside world.
2011-10-18 23:43:06 +00:00
dyoung
5c3908a3bd
Use the right return types for x86_nullop() and x86_zeroop().
2011-10-18 23:41:45 +00:00
dyoung
8295eb1b98
Add an implementation of device_pci_props_register().
2011-10-18 23:30:54 +00:00
dyoung
848492afca
Define some optional routines that will help device_register() to
...
register ISA & PCI devices. Add stub implementations of the routines.
2011-10-18 23:25:20 +00:00
jmcneill
27ae6db87b
regen
2011-10-18 23:23:20 +00:00
jmcneill
f280228152
add a couple vmware product IDs
2011-10-18 23:23:07 +00:00
jym
0d68d0e3ba
Make "pmaps" (list of non-kernel pmaps) and "pmaps_lock" externally
...
visible. Required by pmap MD code that could reside in other
files, notably Xen's pmap.
2011-10-18 23:14:28 +00:00
dyoung
61b0782790
Add an #include for the genfb_softc type.
2011-10-18 23:05:17 +00:00
dyoung
1774016acd
Reduce differences from if_ath_cardbus.c.
2011-10-18 23:04:35 +00:00
jmcneill
8a119ad7e5
report guest type of "other" for i386 and "other-64" for amd64
2011-10-18 21:41:25 +00:00
jym
9bea009cb1
Disallow printing of kernel mappings if we are not root.
...
pid 0 is a special case for kill(pid, 0), and unlikely to be the
correct test there. This follows the procfs "mem" rights changes that
happened some time ago.
2011-10-18 20:54:56 +00:00
hannken
7e4dd4325b
VOP_GETATTR() needs a shared lock at least.
...
While here fix a typo (fvp -> tvp).
2011-10-18 20:20:29 +00:00
macallan
4e4e683cf3
add backlight control via sm502 PWM
2011-10-18 17:59:01 +00:00
macallan
2b76e25f6e
add functions to control gpio usage and to program PWM timers
...
also add basic interrupt support ( not used yet )
2011-10-18 17:57:40 +00:00
manu
b4362f9202
mlockall is not necessary after all, once we have fixed a kernel bug involving
...
agedaemon sleeping form memory
2011-10-18 15:47:32 +00:00
manu
bd77be0ce7
Make sure pagedaemon does not sleep for memory in puffs_vnop_sleep.
...
Add KASSERT on any sleeping memory allocation to check it cannot happen again.
2011-10-18 15:39:09 +00:00
wiz
fb15d6af36
Fix xref; comment out cpu(4) reference, does not exist.
2011-10-18 14:25:06 +00:00
jruoho
11bceb6a8a
Reduce tolerance even more.
2011-10-18 14:16:42 +00:00
jruoho
288ab9d2db
Note that manually loaded modules are not auto-unloaded.
2011-10-18 14:12:04 +00:00
reed
543e58f4b2
Add missing "Notes:" line for pdksh entry. (Noticed by Snader_LB on IRC.)
2011-10-18 12:42:19 +00:00
reed
7c8c54b731
Fix typo.
...
From Snader_LB on IRC.
2011-10-18 12:36:31 +00:00
jmcneill
86afac925a
Don't try to auto-unload modules unless they were auto-loaded.
2011-10-18 12:25:30 +00:00
jmcneill
940eb6aaed
update vmt man page with netbsd changes
2011-10-18 11:31:54 +00:00