svn commit: r263017 - stable/10/sys/arm/xscale/ixp425
John Hay
jhay at FreeBSD.org
Tue Mar 11 12:58:46 UTC 2014
Author: jhay
Date: Tue Mar 11 12:58:45 2014
New Revision: 263017
URL: http://svnweb.freebsd.org/changeset/base/263017
Log:
MFC r262020:
Make it possible to use the env kernel config file option for AVILA
and CAMBRIA boards that does not use loader to load the kernel. This
is basically how it was done for i386. This way tunables can also be
set. For example in config file:
env "/conf/AVILA.env"
And in AVILA.env:
vfs.unmapped_buf_allowed=0
Modified:
stable/10/sys/arm/xscale/ixp425/avila_machdep.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/arm/xscale/ixp425/avila_machdep.c
==============================================================================
--- stable/10/sys/arm/xscale/ixp425/avila_machdep.c Tue Mar 11 12:24:19 2014 (r263016)
+++ stable/10/sys/arm/xscale/ixp425/avila_machdep.c Tue Mar 11 12:58:45 2014 (r263017)
@@ -228,6 +228,8 @@ initarm(struct arm_boot_params *abp)
pcpu_init(pcpup, 0, sizeof(struct pcpu));
PCPU_SET(curthread, &thread0);
+ if (envmode == 1)
+ kern_envp = static_env;
/* Do basic tuning, hz etc */
init_param1();
More information about the svn-src-all
mailing list