PERFORCE change 126956 for review
Warner Losh
imp at FreeBSD.org
Sat Sep 29 01:48:59 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126956
Change 126956 by imp at imp_paco-paco on 2007/09/29 08:48:02
Tweaks based on conversations with cognet at . 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
More information about the p4-projects
mailing list