Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
event_channel.h File Reference
#include "xen.h"

Go to the source code of this file.

Data Structures

struct  evtchn_alloc_unbound
 
struct  evtchn_bind_interdomain
 
struct  evtchn_close
 
struct  evtchn_send
 
struct  evtchn_status
 
struct  evtchn_unmask
 
struct  evtchn_reset
 
struct  evtchn_set_priority
 

Macros

#define EVTCHNOP_bind_interdomain   0
 
#define EVTCHNOP_bind_virq   1
 
#define EVTCHNOP_bind_pirq   2
 
#define EVTCHNOP_close   3
 
#define EVTCHNOP_send   4
 
#define EVTCHNOP_status   5
 
#define EVTCHNOP_alloc_unbound   6
 
#define EVTCHNOP_bind_ipi   7
 
#define EVTCHNOP_bind_vcpu   8
 
#define EVTCHNOP_unmask   9
 
#define EVTCHNOP_reset   10
 
#define EVTCHNOP_init_control   11
 
#define EVTCHNOP_expand_array   12
 
#define EVTCHNOP_set_priority   13
 
#define EVTCHNSTAT_closed   0 /* Channel is not in use. */
 
#define EVTCHNSTAT_unbound   1 /* Channel is waiting interdom connection.*/
 
#define EVTCHNSTAT_interdomain   2 /* Channel is connected to remote domain. */
 
#define EVTCHNSTAT_pirq   3 /* Channel is bound to a phys IRQ line. */
 
#define EVTCHNSTAT_virq   4 /* Channel is bound to a virtual IRQ line */
 
#define EVTCHNSTAT_ipi   5 /* Channel is bound to a virtual IPI line */
 
#define EVTCHN_2L_NR_CHANNELS   (sizeof(xen_ulong_t) * sizeof(xen_ulong_t) * 64)
 

Typedefs

typedef uint32_t evtchn_port_t
 
typedef struct evtchn_alloc_unbound evtchn_alloc_unbound_t
 
typedef struct evtchn_bind_interdomain evtchn_bind_interdomain_t
 
typedef struct evtchn_close evtchn_close_t
 
typedef struct evtchn_send evtchn_send_t
 
typedef struct evtchn_status evtchn_status_t
 
typedef struct evtchn_unmask evtchn_unmask_t
 
typedef struct evtchn_reset evtchn_reset_t
 
typedef struct evtchn_set_priority evtchn_set_priority_t
 

Functions

 DEFINE_XEN_GUEST_HANDLE (evtchn_port_t)
 

Macro Definition Documentation

◆ EVTCHN_2L_NR_CHANNELS

#define EVTCHN_2L_NR_CHANNELS   (sizeof(xen_ulong_t) * sizeof(xen_ulong_t) * 64)

◆ EVTCHNOP_alloc_unbound

#define EVTCHNOP_alloc_unbound   6

◆ EVTCHNOP_bind_interdomain

#define EVTCHNOP_bind_interdomain   0

◆ EVTCHNOP_bind_ipi

#define EVTCHNOP_bind_ipi   7

◆ EVTCHNOP_bind_pirq

#define EVTCHNOP_bind_pirq   2

◆ EVTCHNOP_bind_vcpu

#define EVTCHNOP_bind_vcpu   8

◆ EVTCHNOP_bind_virq

#define EVTCHNOP_bind_virq   1

◆ EVTCHNOP_close

#define EVTCHNOP_close   3

◆ EVTCHNOP_expand_array

#define EVTCHNOP_expand_array   12

◆ EVTCHNOP_init_control

#define EVTCHNOP_init_control   11

◆ EVTCHNOP_reset

#define EVTCHNOP_reset   10

◆ EVTCHNOP_send

#define EVTCHNOP_send   4

◆ EVTCHNOP_set_priority

#define EVTCHNOP_set_priority   13

◆ EVTCHNOP_status

#define EVTCHNOP_status   5

◆ EVTCHNOP_unmask

#define EVTCHNOP_unmask   9

◆ EVTCHNSTAT_closed

#define EVTCHNSTAT_closed   0 /* Channel is not in use. */

◆ EVTCHNSTAT_interdomain

#define EVTCHNSTAT_interdomain   2 /* Channel is connected to remote domain. */

◆ EVTCHNSTAT_ipi

#define EVTCHNSTAT_ipi   5 /* Channel is bound to a virtual IPI line */

◆ EVTCHNSTAT_pirq

#define EVTCHNSTAT_pirq   3 /* Channel is bound to a phys IRQ line. */

◆ EVTCHNSTAT_unbound

#define EVTCHNSTAT_unbound   1 /* Channel is waiting interdom connection.*/

◆ EVTCHNSTAT_virq

#define EVTCHNSTAT_virq   4 /* Channel is bound to a virtual IRQ line */

Typedef Documentation

◆ evtchn_alloc_unbound_t

◆ evtchn_bind_interdomain_t

◆ evtchn_close_t

typedef struct evtchn_close evtchn_close_t

◆ evtchn_port_t

◆ evtchn_reset_t

typedef struct evtchn_reset evtchn_reset_t

◆ evtchn_send_t

typedef struct evtchn_send evtchn_send_t

◆ evtchn_set_priority_t

◆ evtchn_status_t

◆ evtchn_unmask_t

Function Documentation

◆ DEFINE_XEN_GUEST_HANDLE()

DEFINE_XEN_GUEST_HANDLE ( evtchn_port_t )