All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] restore pc in  cpu_exec_nocache()
       [not found] <830ad22a738fa299736a7307b139f7d2@g.corp-email.com>
@ 2013-12-01  8:42 ` wangxd
  2013-12-01 16:52   ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: wangxd @ 2013-12-01  8:42 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

Hello all :
I am wondering to know  why we must call  cpu_pc_from_tb()  in the function cpu_exec_nocache() . I found the function cpu_exec_nocache() with comments :“Restore PC.  This may happen if async event occurs before  the TB starts executing."  But I don't know what would happen if async event occurs.
Thanks a los.



王旭东
Email: wangxd@inspur.com

[-- Attachment #2: Type: text/html, Size: 1437 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] restore pc in cpu_exec_nocache()
  2013-12-01  8:42 ` [Qemu-devel] restore pc in cpu_exec_nocache() wangxd
@ 2013-12-01 16:52   ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2013-12-01 16:52 UTC (permalink / raw)
  To: wangxd; +Cc: qemu-devel

On 1 December 2013 08:42, wangxd <wangxd@inspur.com> wrote:
> Hello all :
> I am wondering to know  why we must call  cpu_pc_from_tb()  in the function
> cpu_exec_nocache() . I found the function cpu_exec_nocache() with comments
> :“Restore PC.  This may happen if async event occurs before  the TB starts
> executing."  But I don't know what would happen if async event occurs.

Current QEMU source code doesn't have such a function call. You might
like to look at the current source code first, which may make it clearer
what it is doing.

thanks
-- PMM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-01 16:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <830ad22a738fa299736a7307b139f7d2@g.corp-email.com>
2013-12-01  8:42 ` [Qemu-devel] restore pc in cpu_exec_nocache() wangxd
2013-12-01 16:52   ` Peter Maydell

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.