From: Stefan Reinauer <stepan@coresystems.de>
To: The OpenBIOS Mailinglist <openbios@openbios.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [OpenBIOS] [Qemu-devel] Re: What is the current support state for Sparc emulation
Date: Fri, 20 Jul 2007 13:36:58 +0200 [thread overview]
Message-ID: <20070720113658.GA19150@coresystems.de> (raw)
In-Reply-To: <f43fc5580707191146s6906c62cs49aa8fed651e6436@mail.gmail.com>
* Blue Swirl <blauwirbel@gmail.com> [070719 20:46]:
> On 7/19/07, spectral@op.pl <spectral@op.pl> wrote:
> > Unhandled Exception 0x00000007
> > PC = 0xffd0a55c NPC = 0xffd09374
> > Stopping execution
> >
> > So this is my report, I hope it can be of some use. I'll try to boot sparc version of OpenSolaris soon and I'l let you know how it went.
>
> Thanks for the report. Exception 7 is unaligned access, support for
> detection of unaligned accesses in QEMU was improved recently.
>
> The exception happens inside OpenBIOS:
> 0xffd0a55c is in lstore (kernel/forth.c:649).
> 644
> 645 static void lstore(void)
> 646 {
> 647 const u32 *aaddr = (u32 *)cell2pointer(POP());
> 648 const u32 longval = POP();
> 649 write_long(aaddr, longval);
> 650 }
>
> Maybe write_long should handle unaligned addresses?
Possibly. But something is wrong.
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.
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/
next prev parent reply other threads:[~2007-07-20 11:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 12:41 [Qemu-devel] =?ISO-8859-2?Q?Re: What is the current support state for Sparc=09emulation??= spectral
2007-07-19 15:58 ` [Qemu-devel] Re: What is the current support state for Sparc emulation Jonathan Kalbfeld
2007-07-19 16:33 ` Andreas Färber
2007-07-19 17:24 ` [Qemu-devel] =?ISO-8859-2?Q?Re: What is the current support state for Sparc=09emulation??= Andreas Färber
2007-07-19 18:46 ` [Qemu-devel] Re: What is the current support state for Sparc emulation Blue Swirl
2007-07-20 11:36 ` Stefan Reinauer [this message]
2007-07-20 13:11 ` [OpenBIOS] " Blue Swirl
2007-07-22 15:03 ` Stefan Reinauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070720113658.GA19150@coresystems.de \
--to=stepan@coresystems.de \
--cc=openbios@openbios.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).