From owner-svn-src-all@FreeBSD.ORG Tue Mar 11 13:03:06 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5871773; Tue, 11 Mar 2014 13:03:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8751B22D; Tue, 11 Mar 2014 13:03:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2BD365u087951; Tue, 11 Mar 2014 13:03:06 GMT (envelope-from jhay@svn.freebsd.org) Received: (from jhay@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2BD36gb087950; Tue, 11 Mar 2014 13:03:06 GMT (envelope-from jhay@svn.freebsd.org) Message-Id: <201403111303.s2BD36gb087950@svn.freebsd.org> From: John Hay Date: Tue, 11 Mar 2014 13:03:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r263018 - stable/9/sys/arm/xscale/ixp425 X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2014 13:03:06 -0000 Author: jhay Date: Tue Mar 11 13:03:05 2014 New Revision: 263018 URL: http://svnweb.freebsd.org/changeset/base/263018 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/9/sys/arm/xscale/ixp425/avila_machdep.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/arm/xscale/ixp425/avila_machdep.c ============================================================================== --- stable/9/sys/arm/xscale/ixp425/avila_machdep.c Tue Mar 11 12:58:45 2014 (r263017) +++ stable/9/sys/arm/xscale/ixp425/avila_machdep.c Tue Mar 11 13:03:05 2014 (r263018) @@ -245,6 +245,8 @@ initarm(void *arg, void *arg2) 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();