aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/event.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-04 11:51:59 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-04 11:51:59 +0100
commit2521c9ab943a0e419d8bb9040ef787068776f4c3 (patch)
treee63c448735ad938570ea3acc7e66a8066d9b6db9 /xen/include/xen/event.h
parent08a42ca0b58c1932ee14bd23e1454a1a93fa95bc (diff)
downloadxen-2521c9ab943a0e419d8bb9040ef787068776f4c3.tar.gz
xen-2521c9ab943a0e419d8bb9040ef787068776f4c3.tar.bz2
xen-2521c9ab943a0e419d8bb9040ef787068776f4c3.zip
x86: MSI interrupt storm avoidance.
Signed-off-by: Shan Haitao <Haitao.shan@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/event.h')
-rw-r--r--xen/include/xen/event.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xen/include/xen/event.h b/xen/include/xen/event.h
index 10353e01e9..a2d176c6b5 100644
--- a/xen/include/xen/event.h
+++ b/xen/include/xen/event.h
@@ -16,8 +16,6 @@
#include <asm/bitops.h>
#include <asm/event.h>
-void evtchn_set_pending(struct vcpu *v, int port);
-
/*
* send_guest_vcpu_virq: Notify guest via a per-VCPU VIRQ.
* @v: VCPU to which virtual IRQ should be sent
@@ -36,8 +34,9 @@ void send_guest_global_virq(struct domain *d, int virq);
* send_guest_pirq:
* @d: Domain to which physical IRQ should be sent
* @pirq: Physical IRQ number
+ * Returns TRUE if the delivery port was already pending.
*/
-void send_guest_pirq(struct domain *d, int pirq);
+int send_guest_pirq(struct domain *d, int pirq);
/* Send a notification from a local event-channel port. */
long evtchn_send(unsigned int lport);