From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICcyQ-00073g-HX for qemu-devel@nongnu.org; Sun, 22 Jul 2007 11:03:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICcyO-00072k-Iu for qemu-devel@nongnu.org; Sun, 22 Jul 2007 11:03:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICcyO-00072J-Ch for qemu-devel@nongnu.org; Sun, 22 Jul 2007 11:03:52 -0400 Received: from khepri.openbios.org ([80.190.231.112]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ICcyN-0000Kq-Rh for qemu-devel@nongnu.org; Sun, 22 Jul 2007 11:03:52 -0400 Date: Sun, 22 Jul 2007 17:03:45 +0200 From: Stefan Reinauer Subject: Re: [OpenBIOS] [Qemu-devel] Re: What is the current support state for Sparc emulation Message-ID: <20070722150345.GC6739@coresystems.de> References: <20070720113658.GA19150@coresystems.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The OpenBIOS Mailinglist Cc: qemu-devel@nongnu.org * Blue Swirl [070720 15:11]: > > Unaligned accesses should be done with unaligned-l@ ( addr -- quad ) > > instead of l@. > > > > So either the pointer was calculated wrong or Solaris does not care > > about alignment in l@ > > > > If you change it, please make the change specific to sparc. > > I noticed that the memory allocators either don't enforce alignment or > align just to 4. That could be one reason for the problem. In OpenBIOS? That should definitely be fixed! Alignment to 4 should be fine for l@ though.. Stefan -- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: info@coresystems.de • http://www.coresystems.de/