qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] How Qemu timer interrupts code emulation?
@ 2015-05-22 15:36 Jun Koi
  2015-05-22 16:13 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Jun Koi @ 2015-05-22 15:36 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

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

Hi,


I am wondering how the timer interrupt works in softmmu TCG mode (on X86)?

In general, we would have timer & code execution run in parallel, then once
in a while, the timer would interrupt the code execution to switch it out
to execute the timer interrupt.

I looked at the code, but still confused on how the timer inform the code
emulation, and how the code emulation get notified on interrupt event.

Any pointer, please?

(I am looking at X86 code)

Thanks so much,
Jun

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

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

end of thread, other threads:[~2015-05-22 23:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-22 15:36 [Qemu-devel] How Qemu timer interrupts code emulation? Jun Koi
2015-05-22 16:13 ` Peter Maydell
2015-05-22 16:26   ` Nguyen Anh Quynh
2015-05-22 23:03     ` Bastian Koppelmann

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).