Commit Graph

225134 Commits

Author SHA1 Message Date
matt
94c30368e1 The fixuns* come from compiler_rt so softfloat doesn't need to provide them. 2014-03-04 06:30:40 +00:00
matt
c479ba2f5a Avoid a warning and just do the trap #1 instead of calling sigreturn inline.
If it fails, it'll fall into the botch case so don't bother calling CERROR
on failure.
2014-03-04 06:27:00 +00:00
matt
2e6bec6f0d Make this work with coldfire. 2014-03-04 06:15:33 +00:00
matt
89e28d04a5 use _KERNEL_OPT around #include 2014-03-04 06:14:53 +00:00
matt
ab9be61dac Make this coldfire compatible 2014-03-04 04:03:49 +00:00
matt
37c6d125b7 Fix non-EABI loading of argument. Deal with endian issues.
Fixes PR/48635
2014-03-04 03:50:37 +00:00
matt
674350cab3 Add atomic_sub_64.S 2014-03-04 03:49:07 +00:00
matt
308d85879d Load new value from correct stack location in _atomic_cas_64_up 2014-03-04 03:36:24 +00:00
matt
be9a2e2448 Fetch value from correct stack location. Push an even number of registers
so ldrd won't fail.
2014-03-04 03:34:22 +00:00
matt
36d8587fe2 Reformat a little. Add m68k quirk 2014-03-04 03:24:03 +00:00
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