qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] how to get registers value in event of systemcall


From: Paul Brook
Subject: Re: [Qemu-devel] how to get registers value in event of systemcall
Date: Tue, 3 Jun 2008 18:48:03 +0100
User-agent: KMail/1.9.9

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]