From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJAOr-0006sU-RU for qemu-devel@nongnu.org; Tue, 14 Mar 2006 09:21:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJAOq-0006rJ-C4 for qemu-devel@nongnu.org; Tue, 14 Mar 2006 09:21:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJAOq-0006qx-3b for qemu-devel@nongnu.org; Tue, 14 Mar 2006 09:21:24 -0500 Received: from [65.74.133.6] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FJAT3-0002yi-5n for qemu-devel@nongnu.org; Tue, 14 Mar 2006 09:25:45 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Questions on ARM port Date: Tue, 14 Mar 2006 14:21:20 +0000 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603141421.21027.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Schwarz, Konrad" > Basically, r3 is initialized by (to 0x80000, in my case). The > next instruction (at ) switches the mode to FIQ. After single > steping over this in QEMU (via GDB si), r3 no longer contains what it > had before (0x80000), instead, it is set to 0. If I manually fix this > (via set $r3=0x80000), then at the next mode switch (at ) r3 > is changed incorrectly to zero again. > > Is this my fault or what is happening? It's a big in the qemu FIQ bank switching code. Fixed now. Paul