Xen Test Framework
include
xen
event_channel.h
Go to the documentation of this file.
1
#ifndef XEN_PUBLIC_EVENT_CHANNEL_H
2
#define XEN_PUBLIC_EVENT_CHANNEL_H
3
4
#include <
xen/xen.h
>
5
6
#define EVTCHNOP_send 4
7
#define EVTCHNOP_alloc_unbound 6
8
#define EVTCHNOP_init_control 11
9
#define EVTCHNOP_expand_array 12
10
11
typedef
uint32_t
evtchn_port_t
;
12
13
struct
evtchn_alloc_unbound
{
14
/* IN parameters. */
15
domid_t
dom
,
remote_dom
;
16
/* OUT parameters. */
17
evtchn_port_t
port
;
18
};
19
20
struct
evtchn_init_control
{
21
/* IN parameters. */
22
uint64_t
control_gfn
;
23
uint32_t
offset
;
24
uint32_t
vcpu
;
25
/* OUT parameters. */
26
uint8_t
link_bits
;
27
uint8_t
_pad
[7];
28
};
29
30
struct
evtchn_expand_array
{
31
/* IN parameters. */
32
uint64_t
array_gfn
;
33
};
34
35
#endif
/* XEN_PUBLIC_EVENT_CHANNEL_H */
36
37
/*
38
* Local variables:
39
* mode: C
40
* c-file-style: "BSD"
41
* c-basic-offset: 4
42
* tab-width: 4
43
* indent-tabs-mode: nil
44
* End:
45
*/
evtchn_port_t
uint32_t evtchn_port_t
Definition:
event_channel.h:11
uint32_t
__UINT32_TYPE__ uint32_t
Definition:
stdint.h:16
uint64_t
__UINT64_TYPE__ uint64_t
Definition:
stdint.h:17
uint8_t
__UINT8_TYPE__ uint8_t
Definition:
stdint.h:14
evtchn_alloc_unbound
Definition:
event_channel.h:13
evtchn_alloc_unbound::port
evtchn_port_t port
Definition:
event_channel.h:17
evtchn_alloc_unbound::dom
domid_t dom
Definition:
event_channel.h:15
evtchn_alloc_unbound::remote_dom
domid_t remote_dom
Definition:
event_channel.h:15
evtchn_expand_array
Definition:
event_channel.h:30
evtchn_expand_array::array_gfn
uint64_t array_gfn
Definition:
event_channel.h:32
evtchn_init_control
Definition:
event_channel.h:20
evtchn_init_control::vcpu
uint32_t vcpu
Definition:
event_channel.h:24
evtchn_init_control::offset
uint32_t offset
Definition:
event_channel.h:23
evtchn_init_control::_pad
uint8_t _pad[7]
Definition:
event_channel.h:27
evtchn_init_control::control_gfn
uint64_t control_gfn
Definition:
event_channel.h:22
evtchn_init_control::link_bits
uint8_t link_bits
Definition:
event_channel.h:26
xen.h
domid_t
uint16_t domid_t
Definition:
xen.h:66
Generated by
1.9.4