Commit Graph

222520 Commits

Author SHA1 Message Date
alnsn
870a203eea Build and install sljit.kmod and bpfjit.kmod iff ${MKSLJIT} != "no". 2013-11-17 18:58:28 +00:00
martin
93ac0a3a04 Remove unused variable 2013-11-17 18:08:08 +00:00
bad
456912e1a9 Make ubsec(4) loadable as kmod. 2013-11-17 17:16:24 +00:00
bad
1f6736069c Fix locking botch. Callers of ubsec_rng_locked() lock and release sc_mtx already. 2013-11-17 17:01:44 +00:00
bad
8718848707 Use callout_setfunc()/callout_schedule() instead of callout_reset(), it is cheaper. 2013-11-17 16:54:02 +00:00
skrll
bc03d19299 Fix locking botch.
PR/48383
2013-11-17 16:11:35 +00:00
alnsn
5345f80ec7 Enable sljit and bpfjit on powerpc. 2013-11-17 14:34:11 +00:00
alnsn
988b97e4aa Always define SLJIT_CACHE_FLUSH(), start include guards with '_' and use _LP64 guard. 2013-11-17 12:01:58 +00:00
martin
44525f39e0 Simplify previous by using CSU_MACHINE_ARCH. Hint from Takeshi Nakayama. 2013-11-17 11:16:09 +00:00
skrll
1c7b9e373b Remove unused variables. 2013-11-17 08:32:55 +00:00
skrll
4b9dad715c Use -Os to save space. Required by gcc 4.8. 2013-11-17 08:21:01 +00:00
nisimura
6342a7e6fd fix a botch in comment. 2013-11-17 04:45:35 +00:00
mrg
2a627e63bd - convert CPU_INFO_ITERATOR in the !MP case to be __unused, and convert
all the iterators to use it
- print the right variables in nmi_hard_msiiep() (thanks set-but-unused)
- move variable inside usage #ifdef
- use (void) instead of a "volatile int" junk variable
- remove unused variables
2013-11-16 23:54:01 +00:00
rmind
3033c7dc60 tmpfs_dir_getdents: avoid leaking kernel memory to the userspace.
From Pedro Martelletto.

XXX: regress/sys/fs/getdents should be a part of the test suite
2013-11-16 17:58:27 +00:00
skrll
3568e04ce8 Support PCREL32 (for EH sections) 2013-11-16 17:18:42 +00:00
dholland
10ba35ffd7 This is now equivalent to ufs_quota.c -r1.115.
(it isn't quite the same textually in a few places but this doesn't
really matter)
2013-11-16 17:15:30 +00:00
skrll
90c0a95fec Remove hack now it's fixed in 4.8.2 2013-11-16 17:14:06 +00:00
rmind
2566fe9fff Add bsd.own.mk for MKSLJIT, reorder some vars. 2013-11-16 17:12:35 +00:00
dholland
ac80a19802 tidy the QUOTA2 blocks a bit more 2013-11-16 17:04:53 +00:00
skrll
e516de1ff2 Build a module for usmsc(4). 2013-11-16 16:59:03 +00:00
alnsn
9d681e6e66 Update mainstream version of sljit. 2013-11-16 16:19:09 +00:00
alnsn
a36c412b37 Link to -lrumpnet_bpfjit and -lrumpkern_sljit iff MKSLJIT != "no". 2013-11-16 15:58:30 +00:00
rmind
4db7db6b0f Move rumpnet_bpfjit under MKSLJIT as well. 2013-11-16 14:00:57 +00:00
alnsn
def19d8993 Build and install sljit and bpfjit rump components iff ${MKSLJIT} != "no". 2013-11-16 13:01:38 +00:00
mrg
b51662c562 move variable use and initialisation inside the #ifdef / block that uses it. 2013-11-16 12:49:29 +00:00
mrg
c3e6c00ce6 make sure that .text.startup and .text.unlikely end up in the
text section.  GCC 4.8 ofppc kernels now boot, though they are
unable to load the symbol table correctly.

also tested with GCC 4.5 and ofppc (pegasosII.)
2013-11-16 12:00:21 +00:00
martin
3fb362f863 We do not want to build the code model markes when creating the 32bit
compat libs for sparc64
2013-11-16 10:50:43 +00:00
martin
115703ed50 sljit is only available on very few architectures, so do not try to build
it on all.
2013-11-16 10:34:47 +00:00
rmind
467de1619d Enable bpfjit for npftest. 2013-11-16 01:41:43 +00:00
rmind
6e88b59054 Build rumpkern_sljit and rumpnet_bpfjit; include them into the sets. 2013-11-16 01:39:17 +00:00
rmind
80f3a45395 Add rumpkern_sljit and rumpnet_bpfjit modules. 2013-11-16 01:23:37 +00:00
rmind
c782c88894 NPF: convert to bpf_jit_generate()/bpf_jit_freecode(). 2013-11-16 01:18:58 +00:00
rmind
5bd8916144 bpf_deliver: convert to bpf_filter_ext(). 2013-11-16 01:13:52 +00:00
martin
2e8fa30d93 Add stack alignement checking for sparc64 2013-11-15 20:00:20 +00:00
christos
1a9e8a975e remove trigger happy assertion. in m_adj negative lengths are valid. 2013-11-15 17:48:55 +00:00
nisimura
bc1febd34a fix unused variable warning 2013-11-15 14:52:11 +00:00
nisimura
c33cfaf7a6 add one more __unused attribute to shut gcc4.8 off. 2013-11-15 14:39:53 +00:00
rmind
df5750d833 Fix the bpfjit build. 2013-11-15 13:56:21 +00:00
skrll
b6090b2a1d Check stack alignment on hppa. 2013-11-15 11:48:30 +00:00
hannken
30f40cbb12 Describe the differences between file system internal and external snapshots. 2013-11-15 09:13:57 +00:00
msaitoh
b1a32cacda Modify some macros and add some new macros for CPU family and model
to reduce code duplication and to avoid bug.

CPUID_TO_STEPPING(cpuid)	(not changed)

CPUID_TO_FAMILY(cpuid)		(new)
CPUID_TO_MODEL(cpuid)		(new)

	Return the display family and the display model.
	The macro names are the same as FreeBSD.

CPUID_TO_BASEFAMILY(cpuid)	(The old name was CPUID2FAMILY)
CPUID_TO_BASEMODEL(cpuid)	(The old name was CPUID2MODEL)

	Only for the base field.

CPUID_TO_EXTFAMILY(cpuid)	(The old name was CPUID2EXTFAMILY)
CPUID_TO_EXTMODEL(cpuid)	(The old name was CPUID2EXTMODEL)

	Only for the extended field.

See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
2013-11-15 08:47:55 +00:00
mrg
52b710c4ba update gcc 4.8 support for 4.8.1 -> 4.8.2. 2013-11-15 08:42:18 +00:00
skrll
4d28a8e554 Simplify 2013-11-15 06:32:17 +00:00
rmind
d0748eb941 - Add bpf_args_t and convert bpf_filter_ext() to use it. This allows the
caller to initialise (and re-use) the memory store.
- Add bpf_jit_generate() and bpf_jit_freecode() wrappers.
2013-11-15 00:12:44 +00:00
christos
b764989391 - add KASSERTS on functions that don't accept M_COPYALL
- compute length for m_copyback0, m_makewritable used from ipf, is using
  M_COPYALL.
2013-11-14 18:54:40 +00:00
martin
153351b36e oops, remove accidently commited debug code 2013-11-14 16:53:51 +00:00
nonaka
95c1bb0c0b If the Weltrend Semiconductor device found in SANWA SUPPLY TAP-TST10 electricity meter as a usbhid device, it doesn't work at all, connect as ugen instead. Verified working with taptst10ctl. 2013-11-14 16:33:20 +00:00
nonaka
ac18e7b5aa regen 2013-11-14 16:26:18 +00:00
nonaka
d3531043c5 Added Weltrend Semiconductor vendor and device. 2013-11-14 16:25:46 +00:00
martin
6aa2ab9e22 Make it compile on archs with implicit NBIT 2013-11-14 15:25:22 +00:00