svn commit: r262020 - head/sys/arm/xscale/ixp425
John Hay
jhay at FreeBSD.org
Mon Feb 17 11:05:57 UTC 2014
Author: jhay
Date: Mon Feb 17 11:05:57 2014
New Revision: 262020
URL: http://svnweb.freebsd.org/changeset/base/262020
Log:
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
MFC after: 2 weeks
Modified:
head/sys/arm/xscale/ixp425/avila_machdep.c
Modified: head/sys/arm/xscale/ixp425/avila_machdep.c
==============================================================================
--- head/sys/arm/xscale/ixp425/avila_machdep.c Mon Feb 17 10:57:06 2014 (r262019)
+++ head/sys/arm/xscale/ixp425/avila_machdep.c Mon Feb 17 11:05:57 2014 (r262020)
@@ -227,6 +227,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-head
mailing list