From: Robert Reif <reif@earthlink.net>
To: Paul Brook <paul@nowt.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5849] Change MMIO callbacks to use offsets, not absolute addresses.
Date: Mon, 23 Feb 2009 07:42:55 -0500 [thread overview]
Message-ID: <49A299CF.3010602@earthlink.net> (raw)
In-Reply-To: <200902231236.26691.paul@nowt.org>
Paul Brook wrote:
> On Monday 23 February 2009, Robert Reif wrote:
>
>> Paul Brook wrote:
>>
>>> Revision: 5849
>>> http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5849
>>> Author: pbrook
>>> Date: 2008-12-01 18:59:50 +0000 (Mon, 01 Dec 2008)
>>>
>>> Log Message:
>>> -----------
>>> Change MMIO callbacks to use offsets, not absolute addresses.
>>>
>>> Signed-off-by: Paul Brook <paul@codesourcery.com>
>>>
>> This patch breaks sparc illegal access fault handling because the
>> address of the fault is no longer available, only the offset.
>>
>
> Really? DEBUG_UNASSIGNED prints the expected values for ARM targets, and the
> sparc code looks like it should be using the same value.
>
> Paul
>
>
in exec.c
static uint32_t unassigned_mem_readb(void *opaque, target_phys_addr_t addr)
{
#ifdef DEBUG_UNASSIGNED
printf("Unassigned mem read byte " TARGET_FMT_plx "\n", addr);
#endif
#if defined(TARGET_SPARC)
do_unassigned_access(addr, 0, 0, 0, 1);
#endif
return 0;
}
addr is now the offset rather than the physical address and it is passed
to do_unassigned_access which then puts the offset into the fault
address register.
next prev parent reply other threads:[~2009-02-23 12:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 18:59 [Qemu-devel] [5849] Change MMIO callbacks to use offsets, not absolute addresses Paul Brook
2009-02-23 12:18 ` Robert Reif
2009-02-23 12:36 ` Paul Brook
2009-02-23 12:42 ` Robert Reif [this message]
2009-02-23 13:16 ` Paul Brook
2009-02-23 16:43 ` Robert Reif
2009-02-23 17:04 ` Paul Brook
2009-02-24 0:08 ` Robert Reif
2009-02-24 0:30 ` Paul Brook
2009-02-24 1:05 ` Robert Reif
2009-02-24 1:12 ` Paul Brook
2009-02-24 1:27 ` Robert Reif
2009-02-24 1:50 ` Paul Brook
2009-02-24 21:04 ` Blue Swirl
2009-02-24 22:28 ` Paul Brook
2009-02-25 19:54 ` Blue Swirl
2009-02-26 15:19 ` Paul Brook
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=49A299CF.3010602@earthlink.net \
--to=reif@earthlink.net \
--cc=paul@nowt.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.