aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/xen/evtchn.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-headers/include/xen/evtchn.h')
-rw-r--r--linux-headers/include/xen/evtchn.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux-headers/include/xen/evtchn.h b/linux-headers/include/xen/evtchn.h
index 7fbf732..aef2b75 100644
--- a/linux-headers/include/xen/evtchn.h
+++ b/linux-headers/include/xen/evtchn.h
@@ -101,4 +101,13 @@ struct ioctl_evtchn_restrict_domid {
domid_t domid;
};
+/*
+ * Bind statically allocated @port.
+ */
+#define IOCTL_EVTCHN_BIND_STATIC \
+ _IOC(_IOC_NONE, 'E', 7, sizeof(struct ioctl_evtchn_bind))
+struct ioctl_evtchn_bind {
+ unsigned int port;
+};
+
#endif /* __LINUX_PUBLIC_EVTCHN_H__ */