xtraeme
f5d88c37cb
Fix up some comments, from Yojiro UO in private email.
2008-01-09 14:32:36 +00:00
xtraeme
63cd4d7992
Add gcscpcib(4).
2008-01-09 14:28:54 +00:00
xtraeme
810aa8579e
Add gcscpcib(4): a driver for the AMD CS5535 and CS5536 Companion Device
...
that acts as PCI-ISA bridge and supports a Timecounter, Watchdog Timer
and GPIO.
Adapted by Yojiro UO and minor tweaks by me from OpenBSD. Tested on
CS5535 and CS5536. This closes PR kern/37577.
2008-01-09 14:23:46 +00:00
tsutsui
81ce14a30e
Fix botch on MI todr(9) migration of algor on September 2006:
...
- year0 should be 1980, not 80
- put a newline after MI mc146818_attach()
- call todr_attach(9)
2008-01-09 14:16:35 +00:00
he
7d83a06dfc
Declare nbpg if we're building for sparc, and initialize to the
...
smallest sparc pagesize. This should deal with the IOCPARM_MAX
build problem, which occurs on sparc because various models have
different page size, so it's run-time determined instead.
pooka says that rump doesn't use ioctl(), so the value is apparently
of no consequence.
2008-01-09 13:59:43 +00:00
ad
e6599f15b0
Fix headers.
2008-01-09 13:52:33 +00:00
gson
28302167c1
Remove unused variables
2008-01-09 13:24:57 +00:00
simonb
d8de5b102b
Remove support for NetBSD/pc532.
2008-01-09 11:25:58 +00:00
yamt
1d97c261e0
remove now unused variable.
2008-01-09 11:13:16 +00:00
elad
4b3ae01c7d
Refactor part of the sys_revoke() code so that it can be used in the
...
compat code. Allows for the removal of two redundant kauth(9) calls.
okay christos@.
2008-01-09 08:18:12 +00:00
elad
7e7e1a0aef
Kill two KAUTH_GENERIC_ISSUSER requests and replace them with something
...
more meaningful.
2008-01-09 08:15:53 +00:00
simonb
2a6f9ca0a9
Remove some old sh5 references.
2008-01-09 07:55:18 +00:00
mrg
58b3d9db6c
extend the grossness that is pegasospci_indirect_attach_hook() a little
...
further and enable the vr(4) located at pci 0 dev 13 fn 0.
now my vr(4) works from disk boot.
2008-01-09 07:35:29 +00:00
simonb
a191b55bff
Bump uvmexp.intrs when we get a clock or statclock interrupt.
2008-01-09 06:50:36 +00:00
lukem
e4952757b6
Convert to raise_default_signal(3).
2008-01-09 05:48:58 +00:00
yamt
d9a61c14e9
fix SPINLOCK_BACKOFF_HOOK.
2008-01-09 00:23:18 +00:00
tnn
0214c0c459
improve usage()
2008-01-09 00:01:33 +00:00
yamt
343d0e5699
kill unused PMF_USER_RELOAD.
2008-01-08 22:24:09 +00:00
yamt
b7ce913912
pmap_map_ptes: fix a access-after-free bug.
...
add a reference on ci->ci_pmap before acquiring locks, so that it won't
disappear while we are blocking on the locks.
2008-01-08 22:22:30 +00:00
elad
9798c4cd61
In svr4_32_sys_systeminfo(), remove two redundant kauth(9) calls for
...
SVR4_SI_SET_HOSTNAME and SVR4_SI_SET_SRPC_DOMAIN, as permission is already
checked by old_sysctl().
okay christos@.
2008-01-08 22:13:07 +00:00
elad
2395a8f2d2
In linux_sys_sysmips(), remove redundant kauth(9) call for LINUX_SETNAME
...
as the permission check is done by old_sysctl().
okay christos@.
2008-01-08 22:09:48 +00:00
elad
3d902dfb3e
Make compat_43_sys_sethostid() use old_sysctl(), allowing for the removal
...
of a kauth(9) call.
okay christos@.
2008-01-08 22:08:45 +00:00
elad
145b26e5d2
In svr4_sys_sysarch(), remove redundant kauth(9) call. Permission is
...
checked by old_sysctl().
okay christos@.
2008-01-08 22:07:29 +00:00
martin
ececdb7913
When passing char (or unsigned char) arguments as int, assign them to a
...
temporary char (resp. unsigned char) before comparing, to force truncation
to the proper domain. This makes the coresponding regression tests succeed.
2008-01-08 21:57:06 +00:00
martin
8e4891367e
cpu_intr_p() for sparc, from Andrew Doran.
2008-01-08 21:32:10 +00:00
christos
b2351ba0df
pacify lint with casts.
2008-01-08 20:56:22 +00:00
christos
c6409540ef
add missing static decls.
2008-01-08 20:56:08 +00:00
christos
6c924f05f9
cast -1 to unsigned int.
2008-01-08 20:55:58 +00:00
christos
72f5cf0283
no semis after weak alias.
2008-01-08 20:55:25 +00:00
joerg
34dc4c6501
Switch Xen to generic TODR. Tested by Manuel Bouyer.
2008-01-08 20:37:34 +00:00
seanb
fb884caea6
Shutdown sloop socket for read as it's never read on to
...
prevent mbufs from queueing in its recv buf.
PR:21459
2008-01-08 20:03:09 +00:00
bouyer
98b295d02d
uobj->vmobjlock is a mutex these days.
2008-01-08 19:26:44 +00:00
bouyer
1ad062e684
Allocating up to 8k on stack isn't a good idea ...
2008-01-08 19:26:10 +00:00
dsl
7d4e4f0e9a
The test for the 0xaa55 at the end of an extended partition pbr has always
...
been incorrect (and checked the end of the mbr - which always suceeds).
Rather than fixing the text, just delete it (saving 8 bytes from mbr_ext).
2008-01-08 18:31:56 +00:00
dyoung
50b7998db1
After rtw_attach() is called, the hardware has been powered down,
...
so don't fiddle with the Function Event Registers.
2008-01-08 18:26:09 +00:00
joerg
732cd3c8a0
Convert Atari to generic TODR and timecounter.
2008-01-08 18:04:15 +00:00
joerg
30cd7dc199
assym.h dependency.
2008-01-08 17:46:31 +00:00
tsutsui
03b0d74e1e
Set proper mask values for ipl_sr_bits[] and
...
use C99 initializer to avoid confusion.
Tested on gxemul.
2008-01-08 16:15:04 +00:00
joerg
808b08ff6f
Short-cut interrupt processing if device has been suspended.
...
uvm_fault reported by xtraeme.
2008-01-08 15:50:35 +00:00
reed
e25157a1c9
Sort a command. It was was renamed in 1.113 but not resorted.
...
(I noticed when reading man page but didn't quickly find what I was
looking for.)
Also add a missing period.
2008-01-08 15:28:31 +00:00
joerg
58facc2685
Remove __HAVE_TIMECOUNTER conditionals.
2008-01-08 14:46:28 +00:00
simonb
c4bf54683c
Add timecounter support for sbmips machines and Broadcom SiByte CPUs.
...
Based on patch from joerg@, with tweaks by me to work with sbmips
non-use of the CP0 count/compare registers for clock interrupts.
2008-01-08 14:38:47 +00:00
dogcow
585198d4ab
I'm not positive that the mips_ipl_si_to_sr assignments are correct - but
...
at least the thing compiles now.
2008-01-08 14:28:35 +00:00
dogcow
da6c04f088
explicitly include <sys/device.h>
2008-01-08 14:26:58 +00:00
joerg
a280711321
Mask is unsigned, add missing u.
2008-01-08 13:52:00 +00:00
joerg
18a5a8d13d
Finish conversion of ppc and evbppc to timecounter.
...
Tested by simonb@ on WALNUT.
2008-01-08 13:47:49 +00:00
dogcow
ca9c510ab2
explicitly include simplelock.h
2008-01-08 13:28:22 +00:00
dogcow
b24bad5798
add include for incomplete struct blah blah blah
2008-01-08 13:26:26 +00:00
yamt
42f654a26b
change the layout in u-area and reduce UPAGES.
2008-01-08 13:15:01 +00:00
yamt
74e0872eca
simplify locking and remove vm_map_upgrade/downgrade.
...
this fixes a deadlock due to read-lock recursion of map->lock.
2008-01-08 13:09:55 +00:00