From: wang sheng <wansheg@gmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] when to check external interrupt request ? or what is the timing to check and arise external interrupt ?
Date: Tue, 22 Feb 2011 12:47:19 +0800 [thread overview]
Message-ID: <AANLkTimVYPSn6Pt40zkv31otZprEiy4_SDu-=9dNvT=-@mail.gmail.com> (raw)
I'm porting qemu to an new architecture. I come across some difficulty
that I can't define the timing that enable qemu's main-thread to be
interrupt and check external interrupt .
I understand the way that mips used to check external interrupt .
in qemu-system-mips , during do translation , if there is an
instruction that access CP0's Status register and Cause register, the
"target-mips/translate.c" will add a calling to function "
helper_interrupt_restart" in the end of the translation_block.
But in my architecture which use "load/st" instruction to access the
contr register in interrupt controller . Because I can't
distinguish the access for normal memory and access for interrupt
controller's register , I can't add "interrupt_restart" function
calling in the end of translation block.
How can I do to enable qemu have chance to check external interrupt ?
next reply other threads:[~2011-02-22 4:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-22 4:47 wang sheng [this message]
2011-02-25 15:19 ` [Qemu-devel] when to check external interrupt request ? or what is the timing to check and arise external interrupt ? Blue Swirl
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='AANLkTimVYPSn6Pt40zkv31otZprEiy4_SDu-=9dNvT=-@mail.gmail.com' \
--to=wansheg@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).