Commit Graph

108997 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
tsutsui
7567d86ea5 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:22:51 +00:00
tsutsui
c04c0297e4 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:13:13 +00:00
tsutsui
8e8cc5afce Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:05:41 +00:00
tsutsui
c268053c55 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 15:40:36 +00:00
pooka
8fa2364979 Support bpf. shmif_dumpbus(1) can be used for much the same effect,
but sometimes it's just more convenient to run tcpdump live.
2011-03-10 13:27:03 +00:00
pooka
d377d1cc83 Pass packet up if it's *for* us, not if it's from someone else.
This fixes a rather curious forwarding/redirect/etc. storm which
happened when there were >2 shmif kernels on the same shmbus with
ip forwarding set on. (at least it stress-tested other code ;)
2011-03-10 13:20:54 +00:00
mrg
8a38ea5d70 fix a typo 2011-03-10 08:46:12 +00:00
bsh
4a303aca68 add MPCore to CPU-ID table
add branch predict bit to arm11_options
2011-03-10 08:06:27 +00:00
bsh
d5f7715c70 Preliminary ARM11 MPCore support.
I have confirmed this commit doesn't affect existing evbarm kernels by
comparing binaries.
2011-03-10 07:47:14 +00:00
jakllsch
625b62a431 Shorten infinite loop. Tames atactl(8) atabus reset on mvsata(4). 2011-03-10 03:35:37 +00:00
scw
56541821a9 Match a Toshiba-branded version of Novatel's EU870D 3G/HSDPA WWAN Card. 2011-03-10 00:13:56 +00:00
scw
e02cca4e9a Regen for Toshiba version of Novatel EU870D 3G/HSDPA WWAN Card 2011-03-10 00:12:51 +00:00
scw
f84fccc70b Add entry for Toshiba version of a Novatel EU870D 3G/HSDPA WWAN Card. 2011-03-10 00:11:59 +00:00
pooka
df23472915 track lockdebug data even in the special path 2011-03-09 23:41:24 +00:00
joerg
aad599979d Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.

Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.
2011-03-09 23:10:05 +00:00
pooka
41f5ebb8ea actually, revert previous for now. quotactl doesn't play with the
same rules as all the other compat functions.
2011-03-09 22:12:45 +00:00
dyoung
acf9dcfe9b unifdef -U__OpenBSD__ -D__NetBSD__ -U__FreeBSD__ for readability. No
functional change intended.
2011-03-09 22:06:42 +00:00
dyoung
29c600c1cd Remove ifa == NULL check, ifa cannot be NULL. 2011-03-09 22:04:52 +00:00
pooka
bd56cf8b76 mark old quotactl rump too 2011-03-09 21:52:31 +00:00
phx
635fb9c2cc Check the PCI-interface for legacy/native mode, not the PCI-revision. 2011-03-09 20:35:56 +00:00
phx
64f00bc3be DLink DSM-G600 button handling.
There are no commands to reboot or poweroff a G600, though.
2011-03-09 20:33:57 +00:00
pooka
d0066d8269 Bump version for new quota code -- even if ABIs didn't change, it's
still a major feature.
2011-03-09 19:02:04 +00:00
pooka
49bc93eb11 Mark cv_wait mutex as locked before doing any further dances.
Fixes a LOCKDEBUG panic in case the uncommon condition is hit.
2011-03-09 18:15:39 +00:00
dholland
6dcf83c49c typo in comment 2011-03-09 18:12:04 +00:00
tsutsui
4fada584a6 Fix newsmips interrupt handling for new mips interrupt/spl framework:
- make news3400_badaddr() work even if interrupts are disabled
   (in the old world bus error interrupt is enabled even during splhigh())
 - make ipl_sr_map values model dependent

Now GENERIC kernel boots to single user properly on R3000 NWS-3470D,
though sh(1) still gets floating point exceptions during /etc/rc scripts.
news5000 is untested (yet).
2011-03-09 13:21:36 +00:00
ahoka
e01dc4626a Add some PRIxxx macros to correctly print stdint types 2011-03-09 12:33:59 +00:00
martin
a7e0465d20 Use %zu for size_t 2011-03-09 12:13:42 +00:00
pooka
d469e02a3b Create cgd block device files in the right directory.
hi pooka!
2011-03-09 11:56:17 +00:00
drochner
5321a73544 const'fy algorithm descriptors 2011-03-09 11:43:36 +00:00
drochner
d4205293e5 -start to make the GZIP code similar to DEFLATE: make error handling
work the same way, grow output buffer exponentially and kill
 reallocation of metadata
-minor cleanup, make definitions private which are implementation
 details of deflate.gzip
2011-03-09 11:36:43 +00:00