Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2008 05:17:39 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185288 - head/sys/arm/at91
Message-ID:  <200811250517.mAP5HdiG009534@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811250517.mAP5HdiG009534>