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>2006-03-14 19:33:45 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-14 19:33:45 +0100
commitbadff410e406c0efaaac5d50cd6092e3768951f1 (patch)
tree87df811f1d06f9af245b2ef6a2131721112c70d9 /xen/include/public/event_channel.h
parenta55585779379db13f69f047e7802f6bccf105e95 (diff)
downloadxen-badff410e406c0efaaac5d50cd6092e3768951f1.tar.gz
xen-badff410e406c0efaaac5d50cd6092e3768951f1.tar.bz2
xen-badff410e406c0efaaac5d50cd6092e3768951f1.zip
Define a new sched_op hypercall called sched_op_new, which differs from the
legacy hypercall in that it takes a pointer to a block of extra arguments rather than an opaque unsigned long. The old hypercall still exists, for backwards compatibility. The new hypercall supports new sub-command SCHEDOP_poll, which can be used to wait on a set of event-channel ports with an optional timeout. This is exported in XenLinux as HYPERVISOR_poll, and used in the pcifront driver to wait on a response from the pciback driver. Can also be used for debuggers. :-) Signed-off-by: Keir Fraser <keir@xensource.com> Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'xen/include/public/event_channel.h')
-rw-r--r--xen/include/public/event_channel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/public/event_channel.h b/xen/include/public/event_channel.h
index a1c6235c62..c556163034 100644
--- a/xen/include/public/event_channel.h
+++ b/xen/include/public/event_channel.h
@@ -10,6 +10,7 @@
#define __XEN_PUBLIC_EVENT_CHANNEL_H__
typedef uint32_t evtchn_port_t;
+DEFINE_GUEST_HANDLE(evtchn_port_t);
/*
* EVTCHNOP_alloc_unbound: Allocate a port in domain <dom> and mark as