From owner-freebsd-arm@FreeBSD.ORG Thu Sep 27 20:42:36 2007 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3164616A418 for ; Thu, 27 Sep 2007 20:42:36 +0000 (UTC) (envelope-from marius.nuennerich@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 65C3A13C478 for ; Thu, 27 Sep 2007 20:42:35 +0000 (UTC) (envelope-from marius.nuennerich@gmx.de) Received: (qmail invoked by alias); 27 Sep 2007 20:42:34 -0000 Received: from f049170050.adsl.alicedsl.de (EHLO sol.hackerzberg.local) [78.49.170.50] by mail.gmx.net (mp026) with SMTP; 27 Sep 2007 22:42:34 +0200 X-Authenticated: #5707313 X-Provags-ID: V01U2FsdGVkX18GGwh9YRwGk4YhzJ8QVB9hYTUXmtiYezVyYMG47u 4NiXd+ckVwX+1X Date: Thu, 27 Sep 2007 22:42:41 +0200 From: Marius Nuennerich To: freebsd-arm@freebsd.org Message-ID: <20070927224241.69ea49fa@sol.hackerzberg.local> In-Reply-To: <200709271630.l8RGULjE032252@casselton.net> References: <20070927170339.GA11021@ci0.org> <200709271630.l8RGULjE032252@casselton.net> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Comment bug in locore.S? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2007 20:42:36 -0000 On Thu, 27 Sep 2007 11:30:21 -0500 (CDT) Mark Tinguely wrote: > > I would have guessed that line 137 comment is wrong. > > 137: ldmia r4!, {r1,r2,r3} /* # of sections, PA|attr, VA */ > > (2b loop) > 131: str r3, [r0, r2] > > Where r0 is the startup page table, r2 is the VA offset into table and > r3 is the PA|attr to be put in the table. So is my understanding. As is the order of values on line 185.