From owner-svn-src-head@FreeBSD.ORG Tue Nov 25 05:17:39 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4E821065670; Tue, 25 Nov 2008 05:17:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CFC128FC0C; Tue, 25 Nov 2008 05:17:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAP5Hd9A009535; Tue, 25 Nov 2008 05:17:39 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAP5HdiG009534; Tue, 25 Nov 2008 05:17:39 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200811250517.mAP5HdiG009534@svn.freebsd.org> From: Warner Losh Date: Tue, 25 Nov 2008 05:17:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185288 - head/sys/arm/at91 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 05:17:40 -0000 Author: imp Date: Tue Nov 25 05:17:39 2008 New Revision: 185288 URL: http://svn.freebsd.org/changeset/base/185288 Log: Save boot args. Modified: head/sys/arm/at91/kb920x_machdep.c Modified: head/sys/arm/at91/kb920x_machdep.c ============================================================================== --- head/sys/arm/at91/kb920x_machdep.c Tue Nov 25 05:12:19 2008 (r185287) +++ head/sys/arm/at91/kb920x_machdep.c Tue Nov 25 05:17:39 2008 (r185288) @@ -135,6 +135,9 @@ struct pv_addr undstack; struct pv_addr abtstack; struct pv_addr kernelstack; +static void *boot_arg1; +static void *boot_arg2; + static struct trapframe proc0_tf; /* Static device mappings. */ @@ -255,6 +258,8 @@ initarm(void *arg, void *arg2) uint32_t memsize; vm_offset_t lastaddr; + boot_arg1 = arg; + boot_arg2 = arg2; set_cpufuncs(); lastaddr = fake_preload_metadata(); pcpu_init(pcpup, 0, sizeof(struct pcpu));