iPXE
Data Structures | Defines | Typedefs | Functions
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_bind_virq
struct  evtchn_bind_pirq
struct  evtchn_bind_ipi
struct  evtchn_close
struct  evtchn_send
struct  evtchn_status
struct  evtchn_bind_vcpu
struct  evtchn_unmask
struct  evtchn_reset
struct  evtchn_init_control
struct  evtchn_expand_array
struct  evtchn_set_priority
struct  evtchn_op
struct  evtchn_fifo_control_block

Defines

#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 BIND_PIRQ__WILL_SHARE   1
#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)
#define EVTCHN_FIFO_PRIORITY_MAX   0
#define EVTCHN_FIFO_PRIORITY_DEFAULT   7
#define EVTCHN_FIFO_PRIORITY_MIN   15
#define EVTCHN_FIFO_MAX_QUEUES   (EVTCHN_FIFO_PRIORITY_MIN + 1)
#define EVTCHN_FIFO_PENDING   31
#define EVTCHN_FIFO_MASKED   30
#define EVTCHN_FIFO_LINKED   29
#define EVTCHN_FIFO_BUSY   28
#define EVTCHN_FIFO_LINK_BITS   17
#define EVTCHN_FIFO_LINK_MASK   ((1 << EVTCHN_FIFO_LINK_BITS) - 1)
#define EVTCHN_FIFO_NR_CHANNELS   (1 << EVTCHN_FIFO_LINK_BITS)

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_bind_virq evtchn_bind_virq_t
typedef struct evtchn_bind_pirq evtchn_bind_pirq_t
typedef struct evtchn_bind_ipi evtchn_bind_ipi_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_bind_vcpu evtchn_bind_vcpu_t
typedef struct evtchn_unmask evtchn_unmask_t
typedef struct evtchn_reset evtchn_reset_t
typedef struct evtchn_init_control evtchn_init_control_t
typedef struct evtchn_expand_array evtchn_expand_array_t
typedef struct evtchn_set_priority evtchn_set_priority_t
typedef struct evtchn_op evtchn_op_t
typedef uint32_t event_word_t
typedef struct
evtchn_fifo_control_block 
evtchn_fifo_control_block_t

Functions

 FILE_LICENCE (MIT)
 DEFINE_XEN_GUEST_HANDLE (evtchn_port_t)
 DEFINE_XEN_GUEST_HANDLE (evtchn_op_t)

Define Documentation

#define EVTCHNOP_bind_interdomain   0

Definition at line 65 of file event_channel.h.

#define EVTCHNOP_bind_virq   1

Definition at line 66 of file event_channel.h.

#define EVTCHNOP_bind_pirq   2

Definition at line 67 of file event_channel.h.

#define EVTCHNOP_close   3

Definition at line 68 of file event_channel.h.

#define EVTCHNOP_send   4

Definition at line 69 of file event_channel.h.

#define EVTCHNOP_status   5

Definition at line 70 of file event_channel.h.

#define EVTCHNOP_alloc_unbound   6

Definition at line 71 of file event_channel.h.

#define EVTCHNOP_bind_ipi   7

Definition at line 72 of file event_channel.h.

#define EVTCHNOP_bind_vcpu   8

Definition at line 73 of file event_channel.h.

#define EVTCHNOP_unmask   9

Definition at line 74 of file event_channel.h.

#define EVTCHNOP_reset   10

Definition at line 75 of file event_channel.h.

#define EVTCHNOP_init_control   11

Definition at line 76 of file event_channel.h.

#define EVTCHNOP_expand_array   12

Definition at line 77 of file event_channel.h.

#define EVTCHNOP_set_priority   13

Definition at line 78 of file event_channel.h.

#define BIND_PIRQ__WILL_SHARE   1

Definition at line 159 of file event_channel.h.

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

Definition at line 213 of file event_channel.h.

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

Definition at line 214 of file event_channel.h.

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

Definition at line 215 of file event_channel.h.

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

Definition at line 216 of file event_channel.h.

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

Definition at line 217 of file event_channel.h.

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

Definition at line 218 of file event_channel.h.

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

Definition at line 341 of file event_channel.h.

#define EVTCHN_FIFO_PRIORITY_MAX   0

Definition at line 348 of file event_channel.h.

Definition at line 349 of file event_channel.h.

#define EVTCHN_FIFO_PRIORITY_MIN   15

Definition at line 350 of file event_channel.h.

Definition at line 352 of file event_channel.h.

#define EVTCHN_FIFO_PENDING   31

Definition at line 356 of file event_channel.h.

#define EVTCHN_FIFO_MASKED   30

Definition at line 357 of file event_channel.h.

#define EVTCHN_FIFO_LINKED   29

Definition at line 358 of file event_channel.h.

#define EVTCHN_FIFO_BUSY   28

Definition at line 359 of file event_channel.h.

#define EVTCHN_FIFO_LINK_BITS   17

Definition at line 361 of file event_channel.h.

#define EVTCHN_FIFO_LINK_MASK   ((1 << EVTCHN_FIFO_LINK_BITS) - 1)

Definition at line 362 of file event_channel.h.

Definition at line 364 of file event_channel.h.


Typedef Documentation

Definition at line 81 of file event_channel.h.

Definition at line 98 of file event_channel.h.

Definition at line 127 of file event_channel.h.

Definition at line 148 of file event_channel.h.

Definition at line 164 of file event_channel.h.

Definition at line 177 of file event_channel.h.

typedef struct evtchn_close evtchn_close_t

Definition at line 188 of file event_channel.h.

typedef struct evtchn_send evtchn_send_t

Definition at line 198 of file event_channel.h.

Definition at line 233 of file event_channel.h.

Definition at line 252 of file event_channel.h.

Definition at line 262 of file event_channel.h.

typedef struct evtchn_reset evtchn_reset_t

Definition at line 274 of file event_channel.h.

Definition at line 292 of file event_channel.h.

Definition at line 301 of file event_channel.h.

Definition at line 311 of file event_channel.h.

typedef struct evtchn_op evtchn_op_t

Definition at line 334 of file event_channel.h.

Definition at line 354 of file event_channel.h.

Definition at line 371 of file event_channel.h.


Function Documentation

FILE_LICENCE ( MIT  )