aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/event_channel.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-12-13 19:20:29 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-12-13 19:20:29 +0100
commit3e616152638b42fb283da2fc3e91c824fac77c46 (patch)
tree34696960ee83d9060a86150ae04af53742923fe8 /xen/include/public/event_channel.h
parentd6f8e9a68edd88d43af8f29eda658bfa4360e27d (diff)
downloadxen-3e616152638b42fb283da2fc3e91c824fac77c46.tar.gz
xen-3e616152638b42fb283da2fc3e91c824fac77c46.tar.bz2
xen-3e616152638b42fb283da2fc3e91c824fac77c46.zip
Fix unmask_evtchn() when the port is bound to a different
VCPU. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/public/event_channel.h')
-rw-r--r--xen/include/public/event_channel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/xen/include/public/event_channel.h b/xen/include/public/event_channel.h
index bb15a87b7d..03d2039cd3 100644
--- a/xen/include/public/event_channel.h
+++ b/xen/include/public/event_channel.h
@@ -164,6 +164,16 @@ typedef struct evtchn_bind_vcpu {
uint32_t vcpu;
} evtchn_bind_vcpu_t;
+/*
+ * EVTCHNOP_unmask: Unmask the specified local event-channel port and deliver
+ * a notification to the appropriate VCPU if an event is pending.
+ */
+#define EVTCHNOP_unmask 9
+typedef struct evtchn_unmask {
+ /* IN parameters. */
+ evtchn_port_t port;
+} evtchn_unmask_t;
+
typedef struct evtchn_op {
uint32_t cmd; /* EVTCHNOP_* */
union {
@@ -176,6 +186,7 @@ typedef struct evtchn_op {
evtchn_send_t send;
evtchn_status_t status;
evtchn_bind_vcpu_t bind_vcpu;
+ evtchn_unmask_t unmask;
} u;
} evtchn_op_t;