Commit Graph

165636 Commits

Author SHA1 Message Date
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
joerg
05379725b5 lock_stubs.S needs assym.h. 2008-01-08 12:17:32 +00:00
joerg
71990d8d21 ANSIfy. 2008-01-08 12:05:49 +00:00
simonb
99cad24ec6 GC this file - it should have been removed during the ppcoea-renovation
merge.
2008-01-08 11:54:47 +00:00
xtraeme
5fbecc2c56 Fix date for the tprof entry. 2008-01-08 09:29:22 +00:00
he
943b531346 Remove a no-longer-used local variable. 2008-01-08 07:59:23 +00:00
matt
e1adc2881b Add IPL_SOFT* defined at IPL_NONE.
Change _ARM32_INTR_H to _ACORN32_INTR_H
2008-01-08 06:30:22 +00:00
matt
306d43c5bf Remove unused variable. 2008-01-08 06:29:39 +00:00