Module Eventchn
Event channels interface.
val to_int : t -> intto_int evtchnis the port number ofevtchn.
val of_int : int -> tof_int nis thenth event channel.
val init : unit -> handleReturn an initialised event channel interface. On error it will throw a Failure exception.
val close : handle -> intClose an event channel interface and return the status code.
val notify : handle -> t -> unitNotify the given event channel. On error it will throw a Failure exception.
val bind_interdomain : handle -> int -> int -> tbind_interdomain h domid remote_portreturns a local event channel connected to domid:remote_port. On error it will throw a Failure exception.
val bind_unbound_port : handle -> int -> tbind_unbound_port h remote_domidreturns a new event channel awaiting an interdomain connection fromremote_domid. On error it will throw a Failure exception.
val bind_dom_exc_virq : handle -> tBinds a local event channel to the VIRQ_DOM_EXC (domain exception VIRQ). On error it will throw a Failure exception.
val unbind : handle -> t -> unitUnbinds the given event channel. On error it will throw a Failure exception.
val unmask : handle -> t -> unitUnmasks the given event channel. On error it will throw a Failure exception.
val is_valid : t -> boolis_valid cis true iftis bound. Bindings are invalidated after a domain resume.