Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2007 08:48:58 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 126956 for review
Message-ID:  <200709290848.l8T8mwnC048746@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126956

Change 126956 by imp@imp_paco-paco on 2007/09/29 08:48:02

	Tweaks based on conversations with cognet@.  Basically, he talked
	me out of having a weird mapping of PA to VA.

Affected files ...

.. //depot/projects/arm/src/sys/arm/orion/std.orion#2 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/orion/std.orion#2 (text+ko) ====

@@ -6,11 +6,14 @@
 # Do I need to add feroceon support here?
 makeoptions	CONF_CFLAGS=-mcpu=arm9
 # kernel gets loaded at 0x00400000 by the loader, but runs at virtual address
-# 0xc0000000.  RAM starts at 0.  We put the pagetable at a reasonable place
+# 0xc0400000.  RAM starts at 0.  We put the pagetable at a reasonable place
 # in memory, but may need to bounce it higher if there's a problem with this.
+# We could paper over this by loading the kernel at 0xc0000000 virtual, but
+# that leads to other complications, so we'll just reclaim the low 4MB of
+# ram after we're loaded.  Put the page tables for startup at 1MB.
 makeoptions	KERNPHYSADDR=0x00400000
-makeoptions	KERNVIRTADDR=0xc0000000
-options		KERNPHYSADDR=0x00400000	
-options		KERNVIRTADDR=0xc0000000	
+makeoptions	KERNVIRTADDR=0xc0400000
+options		KERNPHYSADDR=0x00400000
+options		KERNVIRTADDR=0xc0400000
 options		PHYSADDR=0x00000000
-options		STARTUP_PAGETABLE_ADDR=0x00800000
+options		STARTUP_PAGETABLE_ADDR=0x00100000



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