aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-12-02 12:33:01 +0000
committerIan Campbell <ian.campbell@citrix.com>2010-12-02 12:33:01 +0000
commit77fcd869a7beb55857198b8d6cbffe63b33cac20 (patch)
treed287bebfcf6c4875211b535388359028fe1cba91 /tools/include
parentdf402317ce830040efd089ac6a36f30a075d939d (diff)
downloadxen-77fcd869a7beb55857198b8d6cbffe63b33cac20.tar.gz
xen-77fcd869a7beb55857198b8d6cbffe63b33cac20.tar.bz2
xen-77fcd869a7beb55857198b8d6cbffe63b33cac20.zip
libxc: NetBSD: implement xc_evtchn_bind_unbound_port.
Doesn't actually appear to be used anywhere but is defined for other OSes. The NetBSD evtchn.h contains comments "Return allocated port" for several ioctls which currently return the allocated port as a member of the argument structure and not as the ioctl return value (I think this is a cut and paste error). Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Christoph Egger <Christoph.Egger@amd.com> committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/xen-sys/NetBSD/evtchn.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/include/xen-sys/NetBSD/evtchn.h b/tools/include/xen-sys/NetBSD/evtchn.h
index dc30e815dc..2d8a1f9164 100644
--- a/tools/include/xen-sys/NetBSD/evtchn.h
+++ b/tools/include/xen-sys/NetBSD/evtchn.h
@@ -33,7 +33,6 @@
/*
* Bind a fresh port to VIRQ @virq.
- * Return allocated port.
*/
#define IOCTL_EVTCHN_BIND_VIRQ \
_IOWR('E', 4, struct ioctl_evtchn_bind_virq)
@@ -44,7 +43,6 @@ struct ioctl_evtchn_bind_virq {
/*
* Bind a fresh port to remote <@remote_domain, @remote_port>.
- * Return allocated port.
*/
#define IOCTL_EVTCHN_BIND_INTERDOMAIN \
_IOWR('E', 5, struct ioctl_evtchn_bind_interdomain)
@@ -55,7 +53,6 @@ struct ioctl_evtchn_bind_interdomain {
/*
* Allocate a fresh port for binding to @remote_domain.
- * Return allocated port.
*/
#define IOCTL_EVTCHN_BIND_UNBOUND_PORT \
_IOWR('E', 6, struct ioctl_evtchn_bind_unbound_port)