Commit Graph

619 Commits

Author SHA1 Message Date
pgoyette
37202cb966 Update device dependency information - the sysmon major device now depends on the sysmon module itself, not on the individual components. 2015-04-23 23:22:51 +00:00
riastradh
445478ce67 MD rnd.h cleanups. Please let me know if I broke anything! 2015-04-13 21:18:40 +00:00
nonaka
7941ecd32a RouterBOARD RB800 don't use u-boot. 2015-03-06 14:18:14 +00:00
nonaka
79aad7ee9b Added RouterBOARD RB850Gx2 config. md root only. 2015-01-30 15:04:35 +00:00
nonaka
21005834fe Added lockstat 2015-01-30 14:54:46 +00:00
nonaka
ef2e796f06 ddb MP support 2015-01-23 07:27:05 +00:00
nonaka
1c6e486917 No need to call e500_tlb1_sync() at e500_cpu_hatch(). It has already
been called at e500_spinup_trampoline().
Pointed by mrg@.
2015-01-06 01:23:24 +00:00
nonaka
dbfe359d0d Initialize TLB for non cpu0. 2015-01-05 08:40:56 +00:00
nonaka
217677d4fc Preliminary support for P1023. 2014-12-27 16:19:33 +00:00
nonaka
4f328fa62b Uncommented out INET6. 2014-12-26 11:56:14 +00:00
nonaka
729215c5f9 do page recolor. 2014-12-19 04:31:41 +00:00
nonaka
3866eeec05 Do probe cpu cache on !cpu0.
Avoid "panic: kernel diagnostic assertion "line_size > 0" failed: file "/usr/src/sys/arch/powerpc/booke/booke_cache.c", line 90".
2014-12-19 04:15:36 +00:00
nonaka
90d29f4594 Increase timeout for the hatching to complete.
> cpu1: hatch successful (24321 spins, timebase adjusted by -940718014)
2014-12-19 04:07:13 +00:00
christos
b59f66e17c use the inline bcdtobin and bintobcd directly instead through a macro. 2014-11-20 16:34:25 +00:00
uebayasi
13634ff2cf Fix builds. 2014-10-15 08:14:44 +00:00
uebayasi
faf6224be9 Don't enable wscons options without wscons. 2014-10-14 17:43:14 +00:00
jnemeth
ee79d5b0e4 Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
2014-08-24 07:59:22 +00:00
dholland
4acb6306f5 Systematize (and in many cases, fix) the comments on options COMPAT_NN.
There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
2014-08-23 20:26:56 +00:00
joerg
a26164117a Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
2014-08-17 21:17:43 +00:00
apb
30a0368950 Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
2014-08-16 17:56:30 +00:00
joerg
f3ca791b0a Drop .machine, Makefile.mpc85xx provides -me500 already. 2014-08-10 18:01:29 +00:00
joerg
e7d9750122 LLVM builds have a slightly larger symbol table, so bump the space. 2014-08-10 17:56:23 +00:00
joerg
4ca7de0cb3 Put GCC/GAS specific options under ACTIVE_CC == "gcc". 2014-08-10 17:44:26 +00:00
joerg
0c7d9d4853 Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
2014-08-08 16:56:30 +00:00
joerg
eb6cc7528a Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
2014-08-06 21:57:48 +00:00
joerg
39a11df3d1 The argument of stwu is displacement(register), but GAS translates the
%rX mnemonic very early into plain X, so it seemingly accepts
%register(displacement) as well. Be consistent in the formatting for
human consumption.
2014-08-05 16:28:39 +00:00
apb
71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
joerg
09ab3a5ac1 mpc85xx_extirq_names is not used for the MPC8548 branch. 2014-08-04 23:31:36 +00:00
joerg
d335762e53 Correct last, ha+l uses lis+addi, so use h+l. 2014-07-30 23:15:23 +00:00
joerg
efa045c031 Build 32bit constant with lis+ori, not lis+addi. The instructions
differ on the sign extension handling of the immediate.
2014-07-30 22:45:21 +00:00
joerg
b5268e2784 Second argument of config_rootfound is void *, so discard const
explicitly.
2014-07-30 19:33:56 +00:00
dholland
f9228f4225 Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
joerg
9d3673af91 Use volatile when writing to NULL. 2014-07-24 23:30:38 +00:00
alnsn
582402eab5 Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
dholland
a68f9396b6 Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
2014-03-16 05:20:22 +00:00
joerg
4fec75534b Add config variant for root-on-SD. 2014-03-06 23:30:28 +00:00
joerg
7b3303448e Give memory disk a bit more breathing room. 2014-03-06 23:14:16 +00:00
joerg
2daa2d365f Bump symtab space slightly. 2014-03-06 23:13:58 +00:00
matt
0547e5ba79 Add options MODULAR 2014-03-06 19:55:37 +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
matt
f2a2542f5f Needed for COMPAT_NETBSD32 2014-02-28 05:52:09 +00:00
pooka
4f6fb3bf35 Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
2014-02-25 18:30:08 +00:00
martin
7ed7bcc0ca Remove an unused variable 2014-02-25 14:33:32 +00:00
apb
a452d8c9e2 Pass the -n flag to gzip invocations.
This prevents it from embedding a timestamp in the output.  We pass
"-n" unconditionally, not conditional on MKREPRO, because many other
invocations of gzip already passed the -n flag unconditionally.
2014-01-27 21:37:17 +00:00
apb
36ef98548b Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
2014-01-27 08:18:07 +00:00
kiyohara
48489d0202 Add dwctwo and umass.
And cleanup.
However dwctwo@plb is buggy...
2013-11-21 14:03:02 +00:00
kiyohara
a1cb7359eb Move the parameters for obs600 to obs600_autoconf.c. This parameters was set from u-boot. 2013-11-21 13:52:27 +00:00
alnsn
5345f80ec7 Enable sljit and bpfjit on powerpc. 2013-11-17 14:34:11 +00:00