Commit Graph

156392 Commits

Author SHA1 Message Date
cube
7d2c1778e5 Bump to 4.99.12 because of struct emul change. 2007-02-19 15:11:15 +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
rumble
9457102640 Fix the caveat description for Challenge S's DMA limitations. 2007-02-19 14:55:56 +00:00
cube
0ff7d99ddb Make netbsd32_{get,set}ucontext and associated functions
{get,set}ucontext32 look like their native counterparts again after
newlock2 merge.  This avoids entering sigprocmask1 without the proc mutex
held...
2007-02-19 14:39:43 +00:00
briggs
d66d113907 Don't treat -m evbarm like the other arm-based platforms. Set
MACHINE_ARCH only if it's not already set.  This prevents
	build.sh -m evbarm-eb
from ending up with MACHINE_ARCH=arm instead of =armeb (since MACHINE is
stripped of the -eb suffix just above).
2007-02-19 14:20:11 +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
vanhu
3c99a9f776 Removed a debug printf.... 2007-02-19 13:08:47 +00:00
xtraeme
c661f78440 AcpiOsDelete{Lock,Semaphore}: don't forget to destroy the mutex,
otherwise mutex_init might be called multiple times.

Discussed with Andrew hours ago.
2007-02-19 12:29:24 +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
cube
329aa49851 Don't try cleaning what is now a source file. [hi hubertf!] 2007-02-19 11:15:47 +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
dyoung
531d50c86a Initialize protocol switch with structure initializers. 2007-02-19 07:28:58 +00:00
ad
3a91cc8a3b Back out previous for now. There isn't currently an easy way to set up
shared state before these get attached or used.

From xtraeme@.
2007-02-19 06:08:37 +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
rumble
334307e192 Extract mac addresses on Phobos G100 boards. 2007-02-19 04:35:21 +00:00
rumble
121cbf17f1 Remove an unused variable so that this compiles again. 2007-02-19 03:55:26 +00:00
rpaulo
af9eac2eeb bsd-family-tree and hostapd need your love. If you are willing to become
responsible for them, they will respect you like they respected me.
2007-02-19 03:18:04 +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
7df3c36a6c uvm_kick_scheduler(): do nothing until the swap subsystem is initialized. 2007-02-19 01:35:19 +00:00
ad
cee712ad2f Make this build. 2007-02-19 01:19:16 +00:00
xtraeme
fe10a8bc01 Forgot to initialize the mutex. 2007-02-19 00:56:05 +00:00
xtraeme
9ece13126c Replace ACPI_INTERRUPT_LIST_{LOCK,UNLOCK} mutex_{enter,exit} 2007-02-19 00:41:48 +00:00
rmind
451524a463 Mention sdiff(1) replacement. 2007-02-19 00:38:46 +00:00
xtraeme
0bb6833f55 Replace SYSMON_ENVSYS_{LOCK,UNLOCK} with mutex_{enter,exit}. 2007-02-19 00:36:12 +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
xtraeme
bf63a83084 * sysmon_wdog_mtx needs to run at IPL_SOFTCLOCK.
* replace SYSMON_WDOG_{LOCK,UNLOCK} macros with mutex_{enter,exit}

reminded by ad@.
2007-02-19 00:25:30 +00:00
pooka
76aba343c2 When checking for file validity under pid/, do proper proc->lwp
lookup (fsvo proper) instead of fiddling directly with the lwp
list.
2007-02-19 00:08:18 +00:00
xtraeme
8ef949e8d4 * Provide same description in cv_init as we had before.
* Use cv_timedwait.

Thanks to Andrew for information.
2007-02-19 00:01:23 +00:00
xtraeme
58398d7565 * Replace simple_locks and exclusive locks with adaptive mutexes.
* Replace ltsleep/wakeup pairs with condition variables
  (cv_init/cv_wait/cv_broadcast).

Reviewed by ad@.
2007-02-18 23:41:07 +00:00
xtraeme
a50e1fb3a5 Replace simple_locks with mutexes, reviewed by ad@. 2007-02-18 23:40:07 +00:00
xtraeme
039f493e4b Replace a simple_lock with a mutex, reviewed by ad@. 2007-02-18 23:39:20 +00:00
xtraeme
406b5ff314 * Replace simple_locks and exclusive locks with adaptive mutexes.
* Replace ltsleep/wakeup pairs with condition variables
  (cv_init/cv_wait/cv_broadcast).

Reviewed by ad@.
2007-02-18 23:38:11 +00:00
xtraeme
840604a1a8 Replace simple_locks with mutexes, reviewed by ad@. 2007-02-18 23:34:55 +00:00
xtraeme
b821d47d37 There's no need to use a simple_lock here, ok ad@. 2007-02-18 23:32:52 +00:00
pooka
3780ec4943 * don't allow reads beyond at offset = EOF, all fuse file systems can't
handle it
* initialize refuse root node properly
* some misc cleanup
2007-02-18 23:30:45 +00:00
matt
44109561cb Convert to structure initializers. Use __arraycount 2007-02-18 23:16:59 +00:00
matt
54df2d7161 Convert atalksw to structure initializers. 2007-02-18 23:06:11 +00:00
ad
d3e0294550 Eliminate 2 unnecessary loads. 2007-02-18 23:02:32 +00:00
matt
58aa85753d Initialize routeswitch with structure initializers. 2007-02-18 22:46:32 +00:00
rmind
07f5c15ae5 Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
lists seems to be compatible.
2007-02-18 22:44:44 +00:00