From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: Antonio Ricci <ricciantonio@slacky.it>
Subject: Re: [Qemu-devel] how to get registers value in event of systemcall
Date: Tue, 3 Jun 2008 18:48:03 +0100 [thread overview]
Message-ID: <200806031848.04194.paul@codesourcery.com> (raw)
In-Reply-To: <48457D4C.1020304@slacky.it>
On Tuesday 03 June 2008, Antonio Ricci wrote:
> Paul Brook wrote:
> > No, that won't work. Only a very limited subset of the CPU state is
> > valid during translation.
>
> I don't understand what you mean. Why can't I get registers value at
> translation time?
For the reason below.
> >The same block may be executed many times with different
> > inputs. If you want register values you have to do it at execution
> > time, e.g. in do_interrupt.
>
> Do you mean that If the same block is executed many times with different
> inputs it is translated just once?
Yes.
Paul
next prev parent reply other threads:[~2008-06-03 17:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-26 17:48 [Qemu-devel] how to get registers value in event of systemcall Antonio Ricci
2008-05-27 3:17 ` Mulyadi Santosa
2008-05-27 13:35 ` Paul Brook
2008-05-27 18:33 ` Antonio Ricci
2008-05-27 20:15 ` Antonio Ricci
2008-06-03 17:20 ` Antonio Ricci
2008-06-03 17:48 ` Paul Brook [this message]
2008-06-03 17:50 ` Antonio Ricci
2008-06-03 19:42 ` Laurent Desnogues
2008-06-03 20:12 ` Antonio Ricci
-- strict thread matches above, loose matches on Subject: below --
2008-05-27 7:44 ricciantonio
2008-05-27 9:10 ` Mulyadi Santosa
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=200806031848.04194.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
--cc=ricciantonio@slacky.it \
/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).