package xen-evtchn

All checked builds pass
  1. Overview
  2. Docs
Xen event channel interface for MirageOS

Install

dune-project
 Dependency

Authors

Maintainers

Sources

xen-evtchn-v2.1.0.tbz
sha256=37d49a277ec6319e74a91fb3d99ef318052f84c4a92a59d39b8d51085387fb3f
md5=5df050f2aaca4cc9d006042633277dbd

Description

Event channels are the Xen equivalent of interrupts, used to signal when data (or space) is available for processing. There are 2 distinct implementations:

  1. a Xen shared-memory + hypercall protocol for kernelspace
  2. a binding to a set of libxc functions which access /dev/xen/evtchn for userspace (see xen-evtchn-unix opam package).

Tags

org:mirage org:xapi-project

Added to opam-repository:

README

ocaml-evtchn

Xen event channel interface for Mirage.

Event channels are the Xen equivalent of interrupts, used to signal when data (or space) is available for processing. There are 2 distinct implementations:

  1. a Xen shared-memory + hypercall protocol for kernelspace
  2. a binding to a set of libxc functions which access /dev/xen/evtchn for userspace

Implementation notes

The mirage-platform/xen tree contains a custom set of C stubs which implements the simple parts of the protocol (eg mask, unmask, notify). These stubs are referenced from the Eventchn module. The choice of stubs (userspace or kernelspace) is performed at binary link-time by the 'mirage' command-line tool (or manually), avoiding the need for another functor for these cases.

The more 'Activations' signature which has blocking functions is implemented in OCaml in both the mirage-platform/xen tree (Activations) and here (Unix_activations). Libraries must be functorised and the functor must be instantiated in the final program.

Dependencies (5)

  1. cmdliner
  2. lwt-dllist
  3. lwt
  4. dune >= "1.0"
  5. ocaml >= "4.03.0"

Dev Dependencies

None

Optional Dependencies

None

Conflicts

None

Build status

Results of building xen-evtchn with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
2.1.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure