Commit Graph

225141 Commits

Author SHA1 Message Date
mrg
b5a718ea7b mknative-gcc 4.8 for most platforms. missing: ppc64, m68010, ia64, coldfire. 2014-03-04 08:56:52 +00:00
mrg
c9d652c862 include dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h netbsd.h
and netbsd-elf.h on powerpc64-netbsd.

port netbsd64.h forward from GCC changes.  (it's a pity that
a vast portion of linux64.h isn't in some common header that
netbsd64.h and freebsd64.h could also used.  there's 100s of
lines of copypasta here, oh well.)
2014-03-04 08:43:12 +00:00
matt
93bd3693a8 Add a different version vfp_fpscr_changable if FPU_VFP was not defined.
If no FPU was found, reinit vfp_fpscr_changeable/default to values appropriate
for softfloat.
2014-03-04 08:32:23 +00:00
matt
6040f5ca22 compat16 -> compat_16 2014-03-04 08:25:11 +00:00
matt
4fa1971b77 Fix #if/#endif nesting 2014-03-04 07:01:26 +00:00
matt
c1987519cf #include <m68k/m68k.h> 2014-03-04 06:38:08 +00:00
matt
f2d0e50b73 fix typo. 2014-03-04 06:36:41 +00:00
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