From: Zhi Hui Li <zhihuili@linux.vnet.ibm.com>
To: QEMU-devel <qemu-devel@nongnu.org>, Kevin Wolf <kwolf@redhat.com>
Subject: [Qemu-devel] question about irq update
Date: Fri, 15 Jun 2012 16:42:28 +0800 [thread overview]
Message-ID: <4FDAF574.4000208@linux.vnet.ibm.com> (raw)
In the code of libqtest.c have a function :
bool qtest_get_irq(QTestState *s, int num)
{
/* dummy operation in order to make sure irq is up to date */
qtest_inb(s, 0);
return s->irq_level[num];
}
but I don't know how it can make the irq up to date
and why we will read from the address of 0 ?
can anybody explain for me?
Thank you very much!
next reply other threads:[~2012-06-15 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 8:42 Zhi Hui Li [this message]
2012-06-15 9:04 ` [Qemu-devel] question about irq update Paolo Bonzini
2012-06-15 9:11 ` Zhi Hui Li
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=4FDAF574.4000208@linux.vnet.ibm.com \
--to=zhihuili@linux.vnet.ibm.com \
--cc=kwolf@redhat.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 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.