206244 Commits

Author SHA1 Message Date
christos
d9fa914332 add proc_compare prototype. 2011-10-21 02:07:07 +00:00
christos
b51eeccc62 Add proc_compare 2011-10-21 02:05:36 +00:00
christos
c9db7e91c5 Don't use = to assing SRCS, but += so that we can remove snprintb.c,
which was added elsewhere.
2011-10-21 01:37:59 +00:00
christos
2bfe4d4dcb simplify. 2011-10-21 00:41:34 +00:00
macallan
736de382c2 include opt_voyager.h 2011-10-20 22:04:10 +00:00
jmcneill
d99f77faf2 mark vm_reg members as volatile instead of building this with -O0 2011-10-20 20:13:54 +00:00
njoly
0ab97f9b6a New testcase that check for close-on-exec flag on pipe2 syscall. 2011-10-20 18:20:30 +00:00
njoly
1e6fc1abb1 Do call fd_set_exclose() on both file descriptors, to set the
close-on-exec flag.
2011-10-20 18:18:21 +00:00
jruoho
696ee57527 Add the relevant datasheets to SEE ALSO. 2011-10-20 13:54:38 +00:00
jruoho
e23dd3f620 Remove code that is commented out and out-of-sync with x86. If Xen needs to
use cpu_resume(), cpu_suspend(), or cpu_shutdown() in the future, it is
better to expose these from x86 rather than duplicate code.
2011-10-20 13:21:11 +00:00
njoly
c7188eceb8 Use .In macro. 2011-10-20 12:14:12 +00:00
wiz
9ec9f2859c Use Aq instead of \*[Lt]...\*[Gt] 2011-10-20 10:36:42 +00:00
jruoho
1e1471bd00 Xref mstohz(9) and tvtohz(9) with each other. 2011-10-20 09:31:00 +00:00
jruoho
77e84d0e62 Initialize P-states to P0 (i.e. the highest frequency). 2011-10-20 06:57:23 +00:00
jruoho
5d9e77ad94 Do not use xcall(9) in cpufreq_register(9), as it requires kthreads to be
running and may impose hacks like config_interrupts(9) in the backend.
2011-10-20 06:48:24 +00:00
yamt
c7b8df0b85 revert a debug printf slipped in with subr_vmem.c rev.1.64.
pointed out by Nicolas Joly.
2011-10-20 03:05:14 +00:00
jmcneill
d16a4bed75 define ABS_VALUATOR_AXES and NO_MOUSE_MODULE 2011-10-19 23:07:34 +00:00
dyoung
91e31ba9fe Don't print the silly header, "Properties for device `xxx0':", before
the device properties if the -n option was given.
2011-10-19 22:13:46 +00:00
dyoung
3dbb17c433 Use if_flags_set() and if_mcast_op(). 2011-10-19 22:07:09 +00:00
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