From owner-p4-projects@FreeBSD.ORG Sat Sep 29 08:48:59 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 01AC816A41A; Sat, 29 Sep 2007 08:48:59 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2B4E16A417 for ; Sat, 29 Sep 2007 08:48:58 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A592013C455 for ; Sat, 29 Sep 2007 08:48:58 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8T8mwDH048750 for ; Sat, 29 Sep 2007 08:48:58 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8T8mwnC048746 for perforce@freebsd.org; Sat, 29 Sep 2007 08:48:58 GMT (envelope-from imp@freebsd.org) Date: Sat, 29 Sep 2007 08:48:58 GMT Message-Id: <200709290848.l8T8mwnC048746@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 126956 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 08:48:59 -0000 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