Commit Graph

198951 Commits

Author SHA1 Message Date
matt
a1de880e3c Define HAVE_AS_TLS until our build tools figure out how to do it. 2011-03-12 07:57:38 +00:00
matt
01061e574e Don't initialize %r2 for SDA2_BASE anymore. It's needed for TLS. 2011-03-12 07:56:36 +00:00
matt
69358e3723 Add PPC TLS support. Add -D_LIBC_SOURCE for tls.c and _lwp.c (powerpc)
so that __lwp_gettcb_fast and __lwp_settcb inlines are define.
2011-03-12 07:55:09 +00:00
matt
d972b61c0e Use __lwp_settcb if available. 2011-03-12 07:52:37 +00:00
matt
71fdb89287 Use __lwp_gettcb_fast if present. 2011-03-12 07:46:29 +00:00
matt
130f2d3d4c Add TLS support for PowerPC.
If the port has __lwp_gettcb_fast or __lwp_settcb use them instead of
__lwp_getprivate_fast or lwp_setprivate.
2011-03-12 07:43:53 +00:00
matt
290d35338f Add __lwp_gettcb_fast and __lwp_settcb helper inline functions 2011-03-12 07:38:16 +00:00
matt
3318c2324f Add TLS defines. 2011-03-12 07:29:41 +00:00
matt
aefebf00f3 Simplify cpu_lwp_setprivate. 2011-03-12 07:27:20 +00:00
yamt
448a616abd prevent cross-mount operations. 2011-03-12 07:16:50 +00:00
christos
2dec048cbe avoid c99 2011-03-12 05:23:41 +00:00
christos
5dc359e2dd Prepare for strnvis functionality by providing a length to the encoding
functions.
2011-03-12 03:24:08 +00:00
christos
cad4076f90 - use our vis (maybe I'll implement strnvis soon, but not now)
- WARNS=4
2011-03-12 03:02:58 +00:00
he
c5abf7f984 Add two NetMos NM9865 1-port and 2-port controllers, as found in
2x and 1x on a 4-port card sold as Sunsway/ST Lab I-430.
2011-03-11 20:22:53 +00:00
jruoho
da53cb56df Xref x86/tsc(9). 2011-03-11 19:51:10 +00:00
jruoho
077cbf0f3c Add x86/tsc(9). 2011-03-11 19:50:33 +00:00
pgoyette
8207a57f9b Fix typo in previous - dosn't --> doesn't
Thanks, Jukka!
2011-03-11 19:12:46 +00:00
nakayama
68921fb4d2 Remove unnecessary headers. 2011-03-11 18:55:26 +00:00
pgoyette
778be5985f Add support for SMSC EMC6D103S
From jasper@pointless.net in PR kern/44685
2011-03-11 18:38:51 +00:00
phx
5f7cc0f228 Some code cleanup, suggested by nisimura@. 2011-03-11 17:46:30 +00:00
pgoyette
ce5b760014 Set DBCOOL_DEBUG if global DEBUG is set 2011-03-11 17:12:43 +00:00
pooka
1217ea6fe7 get the directories right ... 2011-03-11 16:41:27 +00:00
njoly
c35f59108f Fix compile_et section (3 -> 1). 2011-03-11 15:33:22 +00:00
vanhu
ffa3b61f55 directly delete a ph1 in remove_ph1-) instead of scheduling it, to avoid (completely ?) a race condition when reloading configuration 2011-03-11 14:30:07 +00:00
christos
29ba757a34 revert OOPS change now that most of the reasons for tgoto to return NULL
have been eliminated.
2011-03-11 13:28:52 +00:00
pooka
2750f1b5f9 make the if-else logic more obvious 2011-03-11 12:11:00 +00:00
pooka
86a95d8e4b After my change to the "interface accepts this packet" logic
yesterday the CARP test stopped working, since CARP depends on
IFF_PROMISC (which was previously always accidentally enabled).
While making the interface honor IFF_PROMISC, also make it compare
the received frame's address against ifp->if_sadl instead of a
local enaddr value we cached when the interface was created.
2011-03-11 12:10:15 +00:00
pooka
bb4e650f59 reality check 2011-03-11 10:36:29 +00:00
pooka
6dd7be55d5 dumdidumdum, can't generate an incompatible test busfile and assume
that test will work.  so replace the test data with something a bit
more realistic.
2011-03-11 10:35:29 +00:00
pooka
3e81f0bf9e Make get/setuid prog ops (so that i can do rump.ping -f regardless
of host privs).
2011-03-11 09:59:56 +00:00
pooka
a6893ed075 Don't assume rump kernel PAGE_SIZE and host page size are the same. 2011-03-11 09:25:59 +00:00
bsh
1fc2db839a DIC: ARM11 MPCore's Distributed Interrupt Controller. 2011-03-11 03:26:37 +00:00
bsh
0bbe6c8fa6 split arch/arm/pic/pic.c so that we can implement more efficient version of splfoo() while using pic framework. 2011-03-11 03:16:13 +00:00
pooka
563593515e Use rumphijack_dlsym() to figure out where __sysctl() is during
init.  Otherwise powerpc dlsym() DTWT and returns NULL.
(now i have no idea why dlsym() it works from rcinit(), but i'll
opt to not care)

Hah, only took 15min to debug that crap this time around.  I'm
quickly approaching zero-time with it.
2011-03-10 23:02:56 +00:00
wiz
fd1ad431e8 When panicing, at least tell the _real_ reason. 2011-03-10 22:11:05 +00:00
phx
c874b8909d Make sure the device class is IDE (class 0, subclass 1), before checking
the PCI interface for native/legacy mode. Different subclasses are always
assumed being in native mode. That makes the Acard IDE controller work.

New macros for PCI interface, revision and class.
2011-03-10 21:11:49 +00:00
pooka
65858e929d +tp 2011-03-10 20:04:46 +00:00
pooka
0d3ccf3fed tests/fs/zfs 2011-03-10 20:03:40 +00:00
pooka
2385406381 Add one simple test case which checks that zpool create results in
a mounted file system.  Then run away as quickly as possible.
2011-03-10 20:02:26 +00:00
pooka
eb63257707 adjust some pretty likely broken assertion (stksize is hardcoded
from caller, but not used here).  now zpool doesn't cause a
kernel crash anymore.
2011-03-10 19:35:24 +00:00
pooka
3140523bc0 pass in correct variable, the old code can't possibly be correct. 2011-03-10 19:32:39 +00:00
pooka
cd97edf46b autocreate /dev/zfs. requested by riz 2011-03-10 19:24:37 +00:00
pooka
fe43acc5cf Use NESTED_NOPROFILE instead of VECTOR, since VECTOR grew a
.org directive for some reason.

from sandrof
(i didn't test booting, will wait for autobuild to do the work for me)
2011-03-10 18:18:00 +00:00
tsutsui
a04ed687d1 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:40:50 +00:00
joerg
7197db08bd Add some clarifications 2011-03-10 17:38:30 +00:00
tsutsui
7567d86ea5 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:22:51 +00:00
joerg
9c18c3d543 Add source reference for _lwp_makecontext and
__HAVE___LWP_GETPRIVATE_FAST. Fix enumeration.
2011-03-10 17:22:17 +00:00
tsutsui
c04c0297e4 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:13:13 +00:00
wiz
71069b9636 It's tcpdump(8), not (1).
From Anon Ymous.
2011-03-10 17:11:17 +00:00
wiz
3e5ad1ca85 Fix xref to tcpdump, from Anon Ymous.
Use Fx/Nx/Ox while here.
2011-03-10 17:09:17 +00:00