Commit Graph

86462 Commits

Author SHA1 Message Date
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tsutsui
1b20cebad5 Hide #include <m68k/softintr.h> inside #ifdef _KERNEL in <machine/intr.h>
to avoid exporting unnecessary files to userland.
Should fix build.sh failure, which was pointed out by isaki@.

XXX: which userland program would require contents of <machine/intr.h>?
2007-03-04 05:28:38 +00:00
uwe
526ec18492 G/c NOP_ON_4_4C_1 that used to be part of microtime.
Keep for reference but ifdef out the code to munge 4/4c nops
as there are none left.
2007-03-04 04:00:00 +00:00
isaki
321252311a Delete old prototypes. 2007-03-04 03:25:33 +00:00
uwe
2c8356ade4 Don't mix code and declarations/defintions.
Use designated initialization for strict timecounter.
Misc cosmetics.  Clean up whitespace.
2007-03-04 03:04:41 +00:00
tsutsui
52db0b4730 Add ld(4) and some RAID devices (to debug EISA stuff with mlx(4)). 2007-03-04 03:03:46 +00:00
uwe
45a792f485 Define MSIIEP_COUNTER_LIMIT 2007-03-04 03:01:07 +00:00
tsutsui
8c864d4bd5 Fix EEPP_INTMAP values, as per my ISA EtherExpress PRO/10.
(though it still has some other problem)
2007-03-04 02:59:07 +00:00
tsutsui
4007519959 Make this timecounter(9) ready. From kardel@. 2007-03-04 02:49:12 +00:00
tsutsui
4f4391e397 Move mkldscript.sh, which is used to create ldscript dynamically to
merge link_set_* sections into the text section for a.out kernels,
from sys/arch/arm/conf/ to sys/conf/ since there is no ARM specific
stuff in it and other ports would share it.
2007-03-04 02:35:49 +00:00
tsutsui
78ad5c2b07 Add MI softintr(9) support for luna68k with common m68k/softintr.c.
Compile test only.
2007-03-04 02:23:16 +00:00
tsutsui
75e46e71a6 Global ssir (similated software intnerrupt request?) is now declared
in softintr.c so remove it from locore.s.
2007-03-04 02:17:15 +00:00
tsutsui
72c70a3609 Add MI softintr(9) support for x68k with common m68k/softintr.c.
Tested by isaki@ and Yasushi Oshima.

XXX: x68k/dev/com.c should be rewritten to use MI com(4).
2007-03-04 02:08:08 +00:00
tsutsui
a3be972973 Make hp300 use common m68k/softintr.c. 2007-03-04 01:57:21 +00:00
tsutsui
b23f121559 Add common soft interrupt routines for m68k ports which use
hp300 derived simulated software interrupt with VAX REI emulation.
Just taken from hp300/hp300/softintr.c and sys/arch/hp300/include/intr.h.
2007-03-04 01:54:04 +00:00
uwe
82797f3bca bandaid for a problem exposed by newlock2
the kernel enables interrupts and then sets up clocks. If we catch a timer
interrupt in between and call hardclock() we'll explode so for now just
bail when we get one while cold
2007-03-04 01:53:44 +00:00
jmcneill
963e8dd8ad Regen. 2007-03-03 23:50:40 +00:00
jmcneill
edfe9e885a Add pcHDTV HD-5500 HDTV video capture 2007-03-03 23:49:49 +00:00
macallan
175e90b6f0 shave a nop 2007-03-03 23:42:20 +00:00
tsutsui
5c8caf9e94 Add an entry to match hwrev RTK_HWREV_8100E_SPIN2 too.
XXX: should we use PCI_REVISION() rather than hwrev
     for 8139C+ as OpenBSD does?
2007-03-03 17:23:12 +00:00
skrll
dfe7bffe46 G/C this file. *sigh* 2007-03-03 14:41:32 +00:00
skrll
bb026cb226 Remove hppa_{round,trunc}_page. 2007-03-03 14:37:54 +00:00
yamt
db7b717dea revert an unreasonable whitespace change in rev.1.8. 2007-03-03 10:55:34 +00:00
skrll
830baead4e Actually remove spinlock.h 2007-03-03 10:52:45 +00:00
itohy
d2585a8c91 Remove extra space so that symbol renaming works properly. 2007-03-03 10:08:18 +00:00
macallan
3e166b9534 found the last piece of crack, so
- now my sparcbook goes multiuser without LOCKDEBUG
- shaved a couple instructions
2007-03-03 09:21:19 +00:00
tsutsui
6d4ee08459 - move netintr() from isr.c to softintr.c and make it static
- remove redundant initialization in ipl2psl_table.
2007-03-03 07:36:11 +00:00
isaki
c57dd8f6e4 -Wconversion is too strict. 2007-03-03 07:10:30 +00:00
tsutsui
6c3a4a6a17 Remove unused autovectored ISR priorities. 2007-03-03 02:49:56 +00:00
jnemeth
7cab5bde24 add support devctl properties 2007-03-03 02:44:44 +00:00
tsutsui
d4fbe368ec Apply fix for boolean_t -> bool changes on uvm.page_idle_zero access.
Thanks Tobias Nygren for help, ok'ed by thorpej, and tested on
1000A by Aaron J. Grier and on PC164 and 3000/300 by me.
2007-03-03 02:20:44 +00:00
salo
20af5e4fd5 Don't prepend rootvnode to the path in non-NULL case for exe links.
It breaks procfs in chroot.

from <christos>, tested by me.
2007-03-03 01:18:32 +00:00
macallan
1d3e6cfad2 unsmoke some more crack ;)
mutex_enter() and mutex_exit() should now work properly
2007-03-03 00:00:30 +00:00
jnemeth
d62719e541 Deallocate resources where possible when we fail to attach.
XXX  Somebody needs to write bus_intr_disestablish().
2007-03-02 22:26:14 +00:00
ad
61a2eec6c3 _lwp_wakeup: set the cancellation pending if the LWP is not sleeping. 2007-03-02 21:06:27 +00:00
yamt
948e7684e3 make this compilable.
(p_flag -> p_sflag, P_WEXIT -> PS_WEXIT)
2007-03-02 17:42:00 +00:00
ad
398cd7c7b3 Define pcb_esp0. 2007-03-02 17:29:13 +00:00
ad
a97bdd1a7a Shuffle the descriptor slots slightly to make the layout match what
sysenter/sysexit require. As far as I can tell this will not introduce
any incompatibility.
2007-03-02 17:27:26 +00:00
ad
e0323fbcf2 pmap_reference, pmap_destroy: update the pmap reference count using
_lock_cas. This is ugly and needs to be redone when atomic ops are
available, but for now it knocks about 5% contention off the kernel
lock in one test that I have done.
2007-03-02 17:10:58 +00:00
ad
4cbc498383 sys__lwp_park: explicitly drop the kernel lock, for the benefit of compat32.
XXX The stack gap stuff is not MP or MT safe and needs to go away.
2007-03-02 16:14:37 +00:00
ad
8a9f592723 sys__lwp_park: on a !MULTIPROCESSOR kernel the LWP is already locked. 2007-03-02 16:09:53 +00:00
skd
48b7dcdc13 Fix probable typo.
LW_UNPARKED conflicted with LW_PENDSIG.

Without this I see lots of threaded apps getting stuck in parked state.
Ok'ed by Christos.
2007-03-02 15:57:06 +00:00
itohy
cdbe0f0296 kern_mutex.c:190: macro `MUTEX_RECEIVE' used without args
kern_mutex.c:199: macro `MUTEX_RECEIVE' used without args
kern_mutex.c:206: macro `MUTEX_GIVE' used without args
2007-03-02 13:14:12 +00:00
yamt
6d6b100a95 kmem_backend_alloc: fix a null dereference. 2007-03-02 12:30:53 +00:00
jnemeth
3d61218161 add support for drvctl properties 2007-03-02 09:17:00 +00:00
jnemeth
d34b8a7014 merge remaining differences from sparc driver in 2007-03-02 07:17:19 +00:00
jmcneill
7f8a6c2923 Regen. 2007-03-01 22:15:08 +00:00
jmcneill
b792a5796f Add Conexant CX2388X Audio/Video Decoder 2007-03-01 22:14:48 +00:00
martin
2fdb6bb1bd Make this compilable from userland 2007-03-01 21:38:17 +00:00
martin
dd8b45ebc6 Split the disklabel checksum function into two, so we can pass the
length separately.
Use this for foreign-endianess labels in wedge autodiscovery, and
calculate the checksum of those before we swap various fields in the
label.
2007-03-01 21:30:50 +00:00