/usr/include/valgrind/vki/vki-xen-evtchn.h is in valgrind 1:3.10.1-1ubuntu3~14.5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #ifndef __VKI_XEN_EVTCHN_H
#define __VKI_XEN_EVTCHN_H
#define VKI_XEN_EVTCHNOP_bind_interdomain 0
#define VKI_XEN_EVTCHNOP_bind_virq 1
#define VKI_XEN_EVTCHNOP_bind_pirq 2
#define VKI_XEN_EVTCHNOP_close 3
#define VKI_XEN_EVTCHNOP_send 4
#define VKI_XEN_EVTCHNOP_status 5
#define VKI_XEN_EVTCHNOP_alloc_unbound 6
#define VKI_XEN_EVTCHNOP_bind_ipi 7
#define VKI_XEN_EVTCHNOP_bind_vcpu 8
#define VKI_XEN_EVTCHNOP_unmask 9
#define VKI_XEN_EVTCHNOP_reset 10
typedef vki_uint32_t vki_xen_evtchn_port_t;
DEFINE_VKI_XEN_GUEST_HANDLE(vki_xen_evtchn_port_t);
struct vki_xen_evtchn_alloc_unbound {
/* IN parameters */
vki_xen_domid_t dom, remote_dom;
/* OUT parameters */
vki_xen_evtchn_port_t port;
};
struct vki_xen_evtchn_op {
vki_uint32_t cmd; /* enum event_channel_op */
union {
struct vki_xen_evtchn_alloc_unbound alloc_unbound;
//struct vki_xen_evtchn_bind_interdomain bind_interdomain;
//struct vki_xen_evtchn_bind_virq bind_virq;
//struct vki_xen_evtchn_bind_pirq bind_pirq;
//struct vki_xen_evtchn_bind_ipi bind_ipi;
//struct vki_xen_evtchn_close close;
//struct vki_xen_evtchn_send send;
//struct vki_xen_evtchn_status status;
//struct vki_xen_evtchn_bind_vcpu bind_vcpu;
//struct vki_xen_evtchn_unmask unmask;
} u;
};
#endif // __VKI_XEN_EVTCHN_H
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
|