Commit Graph

222493 Commits

Author SHA1 Message Date
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
skrll
3715f6edd9 Removed unused variable 2013-11-14 13:54:08 +00:00
skrll
6205e3484c Use __diagused 2013-11-14 13:11:50 +00:00
skrll
e0e1a8ccf7 Improve error message 2013-11-14 13:02:57 +00:00
skrll
8d3b2f38cd Use __debugused 2013-11-14 13:01:26 +00:00
skrll
1cd7a8f9b7 Fix silly typo 2013-11-14 12:44:25 +00:00
skrll
810860c8c1 Simplify variable assignment and avoid gcc warnings. 2013-11-14 12:41:46 +00:00
skrll
67d31eff3d Remove unused variable. 2013-11-14 12:40:51 +00:00
martin
3d01f81a9c On sparc64 when compiling 64bit binaries:
- if proper "marker" objects exist, encode the code model in use in the
   binary
 - default to -mcmodel=medmid (instead of medlow)
2013-11-14 12:21:05 +00:00
martin
591a8c0745 On sparc64: create additional "marker" object files, that can be used by the
compiler to encode the used code model in binaries.
2013-11-14 12:19:34 +00:00
martin
eeff5755ca Allow TOPDOWN-VM only for binaries compiled with appropriate code model.
No change yet, as __HAVE_TOPDOWN is not yet defined.
2013-11-14 12:11:13 +00:00
martin
41de4c61e8 As discussed on tech-kern: make TOPDOWN-VM runtime selectable per process
(offer MD code or emulations to override it).
2013-11-14 12:07:11 +00:00
skrll
955298ee4a Deal with M_COPYALL becoming -ve properly in m_copym0.
I can now mount via nfs again.
2013-11-14 09:21:30 +00:00
martin
7c50380698 Fix typo in previous 2013-11-14 09:11:39 +00:00
roy
2975c235a4 Fix setsockopt(2) error. 2013-11-14 08:26:54 +00:00
wiz
8df34715d2 Stop hissing. 2013-11-14 07:45:05 +00:00
christos
94c4f88296 CID 240779: Wrong sizeof used in allocation 2013-11-14 05:04:24 +00:00
christos
63ab64571e M_COPYALL has a different value now and it is used in modules. Pointed out
by phone@
2013-11-14 04:27:50 +00:00
christos
5774707710 CID 1102787: Only copy the interface name if it is NUL terminated, avoiding
a buffer overrun by one in the equals case.
2013-11-14 04:24:33 +00:00
christos
e028f49d87 add --gnu for pax. 2013-11-14 04:00:48 +00:00
christos
901b1f0b31 miminize diff to original. 2013-11-14 02:27:29 +00:00
christos
5435e94952 CID 1102803: Memory leak 2013-11-14 02:26:35 +00:00
christos
7524cd91bf CID 1102804: Memory leak 2013-11-14 01:39:26 +00:00
christos
13df76e42e 1102805: Memory leak 2013-11-14 01:36:00 +00:00
christos
dbb1d6e3ee CID 1102809: Fix uninitialized variable 2013-11-14 01:28:16 +00:00
christos
16129349e4 CID 1102810: Fix uninitialized 2013-11-14 01:18:02 +00:00
christos
95ea4fb705 CID 1102811: Unitialized variable. Don't pass random sun_len for the BSD's,
zero the whole structure as recommended for portability.
2013-11-14 01:14:39 +00:00
christos
cf3d00d2c6 CID 1102856: Fix memory leak 2013-11-14 01:12:14 +00:00