svn commit: r292524 - head/sys/arm/mv/kirkwood

Ian Lepore ian at FreeBSD.org
Sun Dec 20 23:38:15 UTC 2015


Author: ian
Date: Sun Dec 20 23:38:14 2015
New Revision: 292524
URL: https://svnweb.freebsd.org/changeset/base/292524

Log:
  Change KERNVIRTADDR to 0xc0000000 since the low-order bits no longer need to
  match the physical load address.  Remove the *PHYSADDR symbols which are no
  longer necessary.
  
  Also remove a bunch of comments, most of which which have been wrong for
  quite some time now, and the rest of which are mooted by these changes.  All
  that's left in this file is assigning a single symbol to its cannonical
  value, not much to comment on anymore.

Modified:
  head/sys/arm/mv/kirkwood/std.kirkwood

Modified: head/sys/arm/mv/kirkwood/std.kirkwood
==============================================================================
--- head/sys/arm/mv/kirkwood/std.kirkwood	Sun Dec 20 23:31:11 2015	(r292523)
+++ head/sys/arm/mv/kirkwood/std.kirkwood	Sun Dec 20 23:38:14 2015	(r292524)
@@ -1,14 +1,4 @@
 # $FreeBSD$
 
-# kernel gets loaded at 0x00900000 by the loader, but runs at virtual address
-# 0xc0900000.  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 lower region of
-# ram after we're loaded.  Put the page tables for startup at 1MB.
-makeoptions	KERNPHYSADDR=0x00900000
-makeoptions	KERNVIRTADDR=0xc0900000
-
-options		KERNPHYSADDR=0x00900000
-options		KERNVIRTADDR=0xc0900000
-options		PHYSADDR=0x00000000
+makeoptions	KERNVIRTADDR=0xc0000000
+options 	KERNVIRTADDR=0xc0000000


More information about the svn-src-all mailing list