qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Laurent Desnogues" <laurent.desnogues@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] how to get registers value in event of systemcall
Date: Tue, 3 Jun 2008 21:42:01 +0200	[thread overview]
Message-ID: <761ea48b0806031242m116cffc9y8d4e3f2caeef6c3e@mail.gmail.com> (raw)
In-Reply-To: <48458448.5010908@slacky.it>

On Tue, Jun 3, 2008 at 7:50 PM, Antonio Ricci <ricciantonio@slacky.it> wrote:
> Hi Paul,
> thanks for your answer.
> I've tried to have registers value from do interrupt and it seems to
> work. I've some questions for you:
> 1) Where these values are initialized? I can't find it.

If you look in cpu_exec.c/cpu_exec() you will see a call to env_to_regs
before the loop that contains the do_interrupt call.  Does that answer
your question?


Laurent

  reply	other threads:[~2008-06-03 19:42 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
2008-06-03 17:50     ` Antonio Ricci
2008-06-03 19:42       ` Laurent Desnogues [this message]
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=761ea48b0806031242m116cffc9y8d4e3f2caeef6c3e@mail.gmail.com \
    --to=laurent.desnogues@gmail.com \
    --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).