Commit Graph

225109 Commits

Author SHA1 Message Date
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
joerg
e02d755c4d Mark cpu_reset as dead and add an explicit __builtin_unreachable for a
terminal function call for clang's noreturn diagnostic.
2014-03-02 13:27:38 +00:00
joerg
f9c59ff828 Be explicit about the double register use. 2014-03-02 13:26:30 +00:00
joerg
f4fd6a57c4 Bump SYMTAB_SPACE for clang. 2014-03-02 13:26:03 +00:00
joerg
eb64341606 Bump sshramdisk size to 3800k, reserve 4MB in the install kernel. 2014-03-02 13:25:43 +00:00
joerg
e216bba83c Clang needs a slightly larger MD image, so bump the size to 2300k. 2014-03-02 13:24:38 +00:00
joerg
435fa1f53c GC ipending. 2014-03-02 13:23:32 +00:00
joerg
6eb573f048 Skip a tautologic check if we know it is one. 2014-03-02 13:23:16 +00:00
joerg
428f4f5e51 GC ipending. 2014-03-02 13:22:32 +00:00
joerg
2300bb5c4a Make the empty loop body explicit. 2014-03-02 13:22:21 +00:00
joerg
3eaba71132 Explicitly enable VFP support for vfp_init.c. Fixes build of
INTEGRATOR_CP with clang.
2014-03-02 13:21:59 +00:00
nakayama
1d4618fbd6 Use assembler code for 32-bit sparc compat library on sparc64. 2014-03-02 09:02:43 +00:00
nakayama
76c38c2772 Use more assembler code on sparc64.
bn-sparcv9.S and OPENSSL_BN_ASM_MONT don't work well since they
assume BN_ULONG is 32-bit, so don't use them.
2014-03-02 08:58:02 +00:00
nakayama
44b7548b4a Fix assembler code generation: pass option -m64 properly, and
generate more code.
2014-03-02 08:50:34 +00:00
skrll
0238414d95 Bump MEMORY_DISK_ROOT_SIZE 2014-03-02 08:20:09 +00:00
isaki
430aa09eb8 Discard .SUNW_ctf section just in case.
patch from martin@, see PR/48623.
2014-03-02 06:16:27 +00:00