Commit Graph

44424 Commits

Author SHA1 Message Date
ad
d43ea32af9 - Add /a modifier to trace that allows a specific LWP to be selected.
- When doing trace/t, always note which pid/lid combination is being traced.
2007-02-20 01:02:02 +00:00
skrll
9a649e55a4 Check the right register for the mtx_waiters value. 2007-02-20 00:28:53 +00:00
xtraeme
3bd86dc17d ANSI, KNF, use __arraycount. 2007-02-20 00:09:57 +00:00
matt
499d835e35 Add KERNEL_BASE 2007-02-20 00:05:14 +00:00
he
ec0a47ad92 Remove declaration of now-unused local variable. 2007-02-19 23:48:40 +00:00
ad
272e8a5484 Always call sched_lock_idle()/sched_unlock_idle(). 2007-02-19 23:46:43 +00:00
ad
fadd0e59e3 Update for locking changes. 2007-02-19 23:44:26 +00:00
he
7772633798 Since drain_writebuf() is #defined in <arm/cpufunc.h>, we need to
include it here.
2007-02-19 23:35:49 +00:00
simonb
374aec7877 Fix checks for 64-bit MIPS (MIPS64 _doesn't_ mean 64-bit MIPS(!)). 2007-02-19 22:04:07 +00:00
matt
af22d52131 Don't do softinit_init from irq_init. 2007-02-19 21:46:32 +00:00
matt
74b259d1ca Make softintr_names const. 2007-02-19 21:45:23 +00:00
matt
f2151241de Move softintr_init from irq_init to cpu_configure. 2007-02-19 21:38:37 +00:00
xtraeme
44f8e8f4d4 Add options SYSCALL_{STATS,TIMES,TIMES_HASCOUNTER}. 2007-02-19 20:43:57 +00:00
rumble
2c7e45820a Support the sq(4) interface on the Challenge S's IOPLUS mezzanine. This
requires us to configure the IOPLUS to use the appropriate DMA channel,
depending on what other expansion cards may be installed. Further, we need
to do a bit more configuration of the sq(4) DMA engine, which apparently
was formerly being configured properly by the PROM. Use the same values,
which appear to work fine.

Also, extend the gio_arb_config interface as needed.

NB: We're currently setting the IOPLUS board to long burst, but it may be
better to use realtime. This will require some experimentation.
2007-02-19 20:14:30 +00:00
chs
1806872d10 in pmap_extract(), check for the PTE being valid in addition to
the PTP being valid when deciding if a user mapping exists.
2007-02-19 18:43:40 +00:00
skrll
bb27762b37 Call mutex_wakeup if there are waiters instead of mutex_vector_exit. 2007-02-19 18:09:55 +00:00
skrll
9d95242f6c Remove some redundant '.import's 2007-02-19 17:06:32 +00:00
he
ebb5f3bcdf Fix a typo, spotted by martin (I stared myself blind on that one...). 2007-02-19 15:54:00 +00:00
cube
632ece3eaf Introduce a new member to struct emul, e_startlwp, to be used by
sys__lwp_create.  It allows using the said syscall under COMPAT_NETBSD32.

The libpthread regression tests now pass on amd64 and sparc64.
2007-02-19 15:10:02 +00:00
skrll
197cd56e11 Remove the requirement for $trap_tmp_save to be 2048 aligned. It's not
it for the sake of 4 instructions.
2007-02-19 13:23:11 +00:00
skrll
654d0ffbd9 Whitespace. 2007-02-19 13:19:20 +00:00
skrll
bf42c1ff86 s/SPACE_CURPROC/SPACE_CURLWP/ to reflect what it actually does. 2007-02-19 12:26:39 +00:00
skrll
c854076faf Correct a comment 2007-02-19 11:46:10 +00:00
skrll
4eb25368ed Wrap the call to sched_idle_unlock with the start/end stack calling
convention saving the "standard" set of registers for cpu_switch.

Re-visit this on yamt-idlelwp
2007-02-19 10:12:14 +00:00
dyoung
4f62f7609b Create tags for alchemy, atheros, bonito. 2007-02-19 08:19:14 +00:00
briggs
de053ba2ef GUMSTIX and INSTALL both want to include pseudo-device md, so undefine it
in between for now.  Why does GUMSTIX need md?
2007-02-19 05:36:13 +00:00
rumble
ba3f4cc332 Update a comment: G100 has now been tested. 2007-02-19 04:48:37 +00:00
rumble
acd87b911b regen. 2007-02-19 04:47:06 +00:00
rumble
4468ccf7ad PHOBOS_G100 is 100Mbit only - don't lie. Also, make it clear that
SETENG_GFE is 10/100.
2007-02-19 04:46:33 +00:00
matt
12f3fecf74 Return rv, not 1, in MUTEX_ACQUIRE (spotted by mhitch) 2007-02-19 03:06:46 +00:00
matt
2256888afe L_USERRET -> LW_USERRET 2007-02-19 03:06:16 +00:00
mrg
a9ddc54905 remove a redundant variable from spl0(). 2007-02-19 02:57:40 +00:00
briggs
370a7a67ca Convert evbarm to __HAVE_GENERIC_TODR. 2007-02-19 02:08:12 +00:00
briggs
fc7b39db52 Get DOMAIN_CLIENT directly from arm/arm32/pte.h instead of from genassym
to avoid redefinition when both assymh and pte.h are included (as in
INTEGRATOR's intmmu.S, which uses more macros from pte.h).
2007-02-19 01:59:23 +00:00
ad
4baed28eee MUTEX_NO_SPIN_ACTIVE_P() needs to be a macro, otherwise we end up in
circular dependency hell.
2007-02-19 00:31:21 +00:00
ad
d3e0294550 Eliminate 2 unnecessary loads. 2007-02-18 23:02:32 +00:00
ad
e434239e70 Export __SIMPLELOCK_LOCKED, __SIMPLELOCK_UNLOCKED. 2007-02-18 21:32:48 +00:00
macallan
3b01cf7c93 "unsmoke crack"
from mrg and ad
2007-02-18 21:14:52 +00:00
ad
7cfa6abfaf More signals/locking changes. 2007-02-18 21:10:32 +00:00
ad
be01a71411 + mb_memory() 2007-02-18 21:07:40 +00:00
matt
c77b6c330d Add IPL_SOFT 2007-02-18 21:04:21 +00:00
matt
7a2b6251f2 Adapt to newlock2 2007-02-18 21:04:01 +00:00
matt
ac1041d913 Move declaration of spl_smasks. make spl_smasks and soft_interrupts static. 2007-02-18 21:03:22 +00:00
matt
c47c836ecb Equate mb_write and mb_read to drain_writebuf (from cpu.h) 2007-02-18 21:01:50 +00:00
ad
063adfba9b Sync signal delivery routines with i386. sendsig_reset() was not being
called, and so delivered signals were not being masked.

From cube@, with minor mods by me.
2007-02-18 20:22:25 +00:00
briggs
069c9702dd Adapt to newlock2. 2007-02-18 20:05:20 +00:00
briggs
04a29fca2b Adapt to newlock2. 2007-02-18 19:59:25 +00:00
martin
1c144699b5 Make use of another call delay slot, pointed out by uwe. 2007-02-18 19:09:36 +00:00
martin
420d0debfd Make use of a call delay slot and avoid a bogus EMPTY.
Spotted by Juergen Hannken-Illjes, with input from Andrew Doran and
Valeriy E. Ushakov.
2007-02-18 18:30:06 +00:00
martin
7bb9e12996 Whitespace cosmetics 2007-02-18 18:25:40 +00:00