mirage-os-shim

AuthorDavid Kaloper Meršinjak <david@numm.org>
LicenseISC
Homepagehttps://github.com/pqwy/mirage-os-shim
Issue Trackerhttps://github.com/pqwy/mirage-os-shim/issues
MaintainerDavid Kaloper Meršinjak <david@numm.org>
Dependencies
&lwt
ocamlbuild
ocamlfind
topkg
Optional dependencies
|mirage-solo5
mirage-unix
mirage-xen
Availableocaml-version >= "4.01.0"
PublishedFeb 23, 2017
Source [http] https://github.com/pqwy/mirage-os-shim/releases/download/v3.0.0/mirage-os-shim-3.0.0.tbz
acc88034edc5685e34424d3174ffb3ca
StatisticsInstalled 42 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mirage-os-shim/mirage-os-shim.3.0.0/opam

Portable shim for MirageOS APIs

mirage-os-shim is the intersection of the Mirage OS APIs exported under the OS modules by various Mirage backends. It shims out this interface under the same cmi, and installs several implementations, that pass through to their respective backends.

Clients need to be compiled against the common mirage_OS.cmi, and use the module Mirage_OS. Final applications need to be linked using ocamlfind, and have to define one of the ocamlfind predicates corresponding to the actual OS implementations: mirage_unix, mirage_xen, or mirage_solo5.

When using ocamlbuild, this is ocamlfind -use-ocamlfind -tag 'predicate(unix)' or similar.

WARNING Direct access to the OS interface is largely deprecated. The interface is pretty volatile. It is highly likely that you, in fact, do not need this package at all.

mirage-os-shim is distributed under the ISC license.

Build Status

Necessary for
mirage-entropy