14#ifndef __XEN_EVENTS_H__
15#define __XEN_EVENTS_H__
39struct event_channel_handle {
43typedef struct event_channel_handle evtchn_handle_t;
struct evtchn_status evtchn_status_t
Definition event_channel.h:176
uint32_t evtchn_port_t
Definition event_channel.h:74
void clear_event_channel(evtchn_port_t port)
Clear the pending bit for an event channel.
void(* evtchn_cb_t)(void *priv)
Event-channel callback signature.
Definition events.h:35
int get_missed_events(evtchn_port_t port)
Get and clear the missed-event state for an unbound channel.
int notify_evtchn(evtchn_port_t port)
Send a notification over an event channel.
int alloc_unbound_event_channel(domid_t remote_dom)
Allocate an unbound event channel for the calling domain.
int mask_event_channel(evtchn_port_t port)
Mask local delivery for an event channel.
int bind_event_channel(evtchn_port_t port, evtchn_cb_t cb, void *data)
Attach a callback to an already allocated local event channel.
int evtchn_set_priority(evtchn_port_t port, uint32_t priority)
Set the Xen priority assigned to an event channel.
int alloc_unbound_event_channel_dom0(domid_t dom, domid_t remote_dom)
Allocate an unbound event channel between two domains.
int unbind_event_channel(evtchn_port_t port)
Remove the callback bound to an event channel.
int evtchn_close(evtchn_port_t port)
Close a local event channel.
int unmask_event_channel(evtchn_port_t port)
Unmask local delivery for an event channel.
int bind_interdomain_event_channel(domid_t remote_dom, evtchn_port_t remote_port, evtchn_cb_t cb, void *data)
Bind to a remote event channel and register a callback.
int evtchn_status(evtchn_status_t *status)
Query the status of an event channel.
int xen_events_init(void)
Initialize Xen event handling for the current guest.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
uint16_t domid_t
Definition xen.h:217