122851890Sopenharmony_ci/* 222851890Sopenharmony_ci * This header was generated from the Linux kernel headers by update_headers.py, 322851890Sopenharmony_ci * to provide necessary information from kernel to userspace, such as constants, 422851890Sopenharmony_ci * structures, and macros, and thus, contains no copyrightable information. 522851890Sopenharmony_ci */ 622851890Sopenharmony_ci#ifndef __LINUX_PUBLIC_EVTCHN_H__ 722851890Sopenharmony_ci#define __LINUX_PUBLIC_EVTCHN_H__ 822851890Sopenharmony_ci#define IOCTL_EVTCHN_BIND_VIRQ \ 922851890Sopenharmony_ci _IOC(_IOC_NONE, 'E', 0, sizeof(struct ioctl_evtchn_bind_virq)) 1022851890Sopenharmony_cistruct ioctl_evtchn_bind_virq { 1122851890Sopenharmony_ci unsigned int virq; 1222851890Sopenharmony_ci}; 1322851890Sopenharmony_ci#define IOCTL_EVTCHN_BIND_INTERDOMAIN \ 1422851890Sopenharmony_ci _IOC(_IOC_NONE, 'E', 1, sizeof(struct ioctl_evtchn_bind_interdomain)) 1522851890Sopenharmony_cistruct ioctl_evtchn_bind_interdomain { 1622851890Sopenharmony_ci unsigned int remote_domain, remote_port; 1722851890Sopenharmony_ci}; 1822851890Sopenharmony_ci#define IOCTL_EVTCHN_BIND_UNBOUND_PORT \ 1922851890Sopenharmony_ci _IOC(_IOC_NONE, 'E', 2, sizeof(struct ioctl_evtchn_bind_unbound_port)) 2022851890Sopenharmony_cistruct ioctl_evtchn_bind_unbound_port { 2122851890Sopenharmony_ci unsigned int remote_domain; 2222851890Sopenharmony_ci}; 2322851890Sopenharmony_ci#define IOCTL_EVTCHN_UNBIND \ 2422851890Sopenharmony_ci _IOC(_IOC_NONE, 'E', 3, sizeof(struct ioctl_evtchn_unbind)) 2522851890Sopenharmony_cistruct ioctl_evtchn_unbind { 2622851890Sopenharmony_ci unsigned int port; 2722851890Sopenharmony_ci}; 2822851890Sopenharmony_ci#define IOCTL_EVTCHN_NOTIFY \ 2922851890Sopenharmony_ci _IOC(_IOC_NONE, 'E', 4, sizeof(struct ioctl_evtchn_notify)) 3022851890Sopenharmony_cistruct ioctl_evtchn_notify { 3122851890Sopenharmony_ci unsigned int port; 3222851890Sopenharmony_ci}; 3322851890Sopenharmony_ci#define IOCTL_EVTCHN_RESET \ 3422851890Sopenharmony_ci _IOC(_IOC_NONE, 'E', 5, 0) 3522851890Sopenharmony_ci#define IOCTL_EVTCHN_RESTRICT_DOMID \ 3622851890Sopenharmony_ci _IOC(_IOC_NONE, 'E', 6, sizeof(struct ioctl_evtchn_restrict_domid)) 3722851890Sopenharmony_cistruct ioctl_evtchn_restrict_domid { 3822851890Sopenharmony_ci domid_t domid; 3922851890Sopenharmony_ci}; 4022851890Sopenharmony_ci#endif 41