Commit Graph

225124 Commits

Author SHA1 Message Date
ozaki-r
ad5eab92b9 Fix wrong conditional statement in dtrace_debug_output
Reported in PR kern/48547 by ozaki-r.
2014-03-04 03:20:49 +00:00
ozaki-r
ad9c17e02b Remove unnecessary files.i2c inclusion
files.i2c is already included in conf/files. So we don't need to include
it in this file.

This fix shuts up many warnings on building sys/modules/iic.
2014-03-04 00:54:55 +00:00
dsl
7f1790d7c1 Use the global pci_mode to avoid 'set but not used' warnings from gcc 4.8.3. 2014-03-03 22:09:32 +00:00
mrg
5047c1c416 apply netbsd not rebuilding to mips-tables.opt; fixes r/o src builds. 2014-03-03 21:01:40 +00:00
jmmv
ba38cec1e2 Avoid running a helper program for atf-sh as a test.
Should fix failures observed in PR bin/48624.
2014-03-03 19:56:32 +00:00
joerg
25dea22938 Pass down TOOL_STAT here as well. 2014-03-03 19:14:00 +00:00
pooka
da53b95428 also include bsd.own.mk, so value for RUMP_NPF_TESTING can come from mk.conf 2014-03-03 19:09:52 +00:00
joerg
b5a9dd0dd4 Spell it TOOL_STAT. 2014-03-03 19:08:46 +00:00
matt
f3eefe6cf1 Use _KERNEL_OPT around #include "opt_ppcarch.h" 2014-03-03 18:55:02 +00:00
pooka
98974ef8eb add man page for rumpfs 2014-03-03 18:27:20 +00:00
joerg
490d77c56b Use nbstat when cross-compiling, unbreaks build on Linux. 2014-03-03 18:25:14 +00:00
dsl
7a0105bd14 Remove the print of the rounding mode.
It was added in case it was non-zero - which it isn't.
It still isn't clear why acos(-1) gives the wrong result on some amd64
  systems.
2014-03-03 18:21:33 +00:00
pooka
9d7981d3bd Fix the memory limiter to work for non-pagedaemon threads again
reported by njoly
2014-03-03 16:50:28 +00:00
macallan
4ca2afde60 mention ppc601 support 2014-03-03 16:22:57 +00:00
macallan
c5b9afa668 config goop for ppc601 support
GENERIC_601 more or less resembles a Power Macintosh 7200 with a few drivers
thrown in for convenience while keeping the kernel itself smaller than 4MB
2014-03-03 16:09:43 +00:00
macallan
b01d00d945 support ppc601
from scole_mail, ok matt@
2014-03-03 15:36:36 +00:00
macallan
a00f9ab046 on ppc601 do byte-wise copies when in _KERNEL
from scole_mail, ok matt@
2014-03-03 15:30:31 +00:00
matt
49daa07b4f More control bits.
SYNCHPRIM defines.
2014-03-03 14:26:32 +00:00
matt
fd174a28fb If we are going to map all of physical memory, we don't need to allocate
l2 page tables for the kernel.
2014-03-03 14:03:14 +00:00
pooka
ddbee4681a For now, make it possible to not specify -D_NPF_TESTING by compiling
with RUMP_NPF_TESTING_=no.  This in turn makes it possible to use npf
in a rump kernel for real packet filtering instead of just testing.

no change to default
2014-03-03 14:01:30 +00:00
pooka
c40bbed43a Pull in the changes from the dpdk, netmap and snabb switch repos.
There are two major changes:

1) All thread context policy is pushed down to the hypercalls.
   This is meant to help performance-mongering implementations be
   able to control packet scheduling better (e.g. pin down packet
   reception to certain physical cores).
2) Generalize linkstr, meaning that the interface can now take an
   arbitrary string which is passed to the create() hypercall.  This can
   be used to map backend device characteristics to the rump kernel
   interface instance.
2014-03-03 13:56:40 +00:00
skrll
2b310a0c9d Restore the hp700 file entries and mark them obsolete.
Don't mark any hppa files obsolete - delete them.
2014-03-03 13:54:43 +00:00
martin
a753a01cb4 Define HAVE_FENV_H on architectures that support it.
What a mess, we need a central place for this!
2014-03-03 12:15:27 +00:00
blymn
473e93d0fc Correct usage of clri. 2014-03-03 12:12:18 +00:00
martin
29ebc6818e Remove all cargo-cult #ifndef __vax__ from the tests, that just paper
over bugs in the vax libm.
2014-03-03 10:39:08 +00:00
martin
5e5099dfc8 Fix build for platforms w/o fenv.h.
Remove some bogus #ifdef __vax__ (and add a few, hopefully non-bogus,
new ones).
2014-03-03 10:38:36 +00:00
wiz
bbb72bf83b Prefix link to cpsw with 'evbarm'. 2014-03-03 09:10:46 +00:00
wiz
4fc55b00e4 New sentence, new line. 2014-03-03 09:10:00 +00:00
matt
5132b1cdc6 Further cpu_info inits in cpu_hatch 2014-03-03 08:52:30 +00:00
matt
ba41001420 Add more instructions including ldrex/strex variants 2014-03-03 08:51:39 +00:00
matt
5065d9824a Add a mpsafe flag to the intrsource 2014-03-03 08:50:48 +00:00
matt
82ca37398f Query the media and vfp feature registers to determine what our default
mode should be and what bits in the fpscr can be changed.
Print what features are supported:
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propogation, denormals
2014-03-03 08:45:18 +00:00
matt
5daa42d650 Add most of the cpu_* variables to <arm/locore.h>
Add and initialize cpu_synchprim_present
2014-03-03 08:15:36 +00:00
dsl
77e93a9cb9 Drop in a fabs() after the fsqrt().
While it may seem pointless, it the rouding mode is set to round towards
minus infinity then acos(-1) calculates atan2(sqrt(1.0 - 1.0), -1) the subtract
generates -0.0 which sqrt() preserves.
atan2(-0, -1) is -pi, but acos(-1) is expected to be +pi.
This might 'fix' the test failures seen in some environments, but they
are not failing due to an obvously incorrent x87 rounding mode.
2014-03-03 08:00:50 +00:00
palle
f2f5d9ff51 sun4v: SUN4V_TLB_TSB_LOCK define should have the same LL (instead of UL) as the other defines 2014-03-03 05:05:09 +00:00
mrg
e76a6f196c merge GCC r208254. 2014-03-03 03:28:55 +00:00
matt
d2ca6eda54 Move IO KVA so it doesn't share the same TLB index as the kernel. 2014-03-03 03:06:13 +00:00
mrg
3002e98e60 import GCC 4.8.3 at r208254. these GCC PRs are fixed since r206687:
c++/37140 c++/41174 c++/54652 c++/55800 c++/57043 c++/57524 c++/57899
c++/58466 c++/58504 c++/58606 c++/58632 c++/58639 c++/58672 c++/58812
c++/58814 c++/58835 c++/58837 c++/58845 c++/58873 c++/58965 c++/59097
c++/59224 c++/59646 c++/59838 c++/59989 c++/60046 c++/60108 c++/60146
c++/60182 c++/60187 c++/60216 c++/60219 c++/60248 c++/60272 c++/60274
c/59891 driver/60233 ipa/55260 libgcc/60166 middle-end/58809 middle-end/59860
middle-end/60004 middle-end/60221 middle-end/60291 objc/56870 other/56653
rtl-optimization/57422 rtl-optimization/60116 target/55426 target/57896
target/58710 target/59142 target/59379 target/59462 target/59695 target/59718
target/59777 target/59794 target/59826 target/59880 target/60017 target/60193
target/60207 tree-optimization/59903 tree-optimization/60115
tree-optimization/60183 tree-optimization/60276
2014-03-03 02:42:38 +00:00
ozaki-r
fd90b32458 Add micphy 2014-03-03 02:10:24 +00:00
ozaki-r
aaaf6db810 Add micphy.4 2014-03-03 02:03:31 +00:00
ozaki-r
8ef5b2745a Mention micphy(4) 2014-03-03 01:36:21 +00:00
ozaki-r
bd237efb46 Add micphy(4) manpage 2014-03-03 01:35:08 +00:00
christos
0d8247f549 Don't core-dump if a type cannot be resolved. Still gives an error. 2014-03-03 00:09:52 +00:00
jmmv
285456ed54 Fix bundling of the atf version into pkgconfig files and atf-version.
Sigh; one more attempt.  This time I'm sure I've verified that the
.pc files contain the right number and that atf-version also outputs
the right stuff...  Both with a clean and non-clean obj directory.

Should fix part of the problems reported in PR bin/48624.
2014-03-02 22:50:13 +00:00
dsl
5b5595b6b5 Include the subtest number in any error output.
Also temporarily print the rounding mode.
I think that acos(-1) is ending up with the wrong sign because the test
  is being run with 'round towards -ve infinity' set.
I think it getting set somewhere and causing this test to fail.
The acos() code probably needs fixing - it shouldn't depend on the
round mode like this. But first I want to know if this if the error.
2014-03-02 22:40:45 +00:00
christos
aca5beab65 If we are compiling with -g and using gcc4.8 and dtrace downgrade
dwarf generation to version 2 for now.
2014-03-02 22:22:05 +00:00
jmmv
bcb71d7e8b Make cleanup routines actually work.
The only way to pass global state from the body to the cleanup is via the
file system.

Fixes leaks of global system resources (in all cases, given that the body
does not by itself clean things up).
2014-03-02 20:13:12 +00:00
jmmv
c6a5f6dd5a Remove unnecessary and broken cleanup routine. 2014-03-02 19:56:48 +00:00
joerg
a9d09c60a9 Don't overwrite MACHINE_ARCH if it is already set. 2014-03-02 16:18:41 +00:00
joerg
6fd0534ea0 Initialize variables used to setup a dummy element.
XXX bogus, needs review
2014-03-02 13:28:23 +00:00