Commit Graph

121775 Commits

Author SHA1 Message Date
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
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
joerg
490d77c56b Use nbstat when cross-compiling, unbreaks build on Linux. 2014-03-03 18:25:14 +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
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
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
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
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
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
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
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
christos
b1664f725b only check that npages fit, if we are going to add npages to swpgonly. 2014-03-01 18:32:01 +00:00
dsl
4af555d7e1 When converting out of range 64bit sysctl values to 'int' (because of
an 'int' sized read) don't assume that sizeof (int) is 4.
2014-03-01 17:27:48 +00:00
maxv
38b6f18cc1 Some {} are missing. The behavior is thus wrong: the code always jumps to
out1.

Spotted by my code scanner.

ok christos@
2014-03-01 16:59:41 +00:00
maxv
c4846ab7e9 ';;' -> ';'
no functional change

spotted by my code scanner

ok christos@
2014-03-01 16:46:14 +00:00
riastradh
84bbdd5611 Kick on-demand entropy sources in rndsinks_distribute.
Partial workaround for indefinite hangs when entropy is scarce or
buffered up.  We need to do more to handle entropy that has been
buffered up -- see the comment for details -- but this will help for
now.

Problem noted by pooka.
2014-03-01 14:15:15 +00:00
joerg
6d24f3c134 Remove modification of an unused uninitialized variable. 2014-03-01 12:55:23 +00:00
joerg
89624fc0ba Modernize asm syntax 2014-03-01 12:48:38 +00:00
joerg
56e90cb43e Typo 2014-03-01 12:40:50 +00:00
matt
b889ee88af Fix typos 2014-03-01 05:41:59 +00:00
matt
e4cfb518a7 Add support for printing the tlb on cortex a5 and a7. 2014-03-01 05:41:39 +00:00
matt
7d8993ae74 Add db_show_tlb_cmd prototype 2014-03-01 05:28:23 +00:00
matt
c655992ec0 defines/inlines for cortex a5/a7 tlbdata ops 2014-03-01 05:27:22 +00:00
matt
2260871018 Use the new FEAT_LDREX to replace ARMV6/ARMV7 2014-02-28 14:19:25 +00:00
martin
6d58fa4dae regen 2014-02-28 11:54:47 +00:00
martin
7c26e72b98 Add moschip 7810 and 7820 usb serial devices 2014-02-28 11:52:09 +00:00
matt
e5ea9cc135 Use CPPFLAGS and drop -mlittle-endian 2014-02-28 11:05:00 +00:00
skrll
dd7bb1e0a8 G/C sys/simplelock.h includes 2014-02-28 10:16:51 +00:00