Skip to content
Portable shim for MirageOS APIs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
pkg
solo5
src
test
unix
xen
.gitignore
.merlin
.ocp-indent
.travis.yml
CHANGES.md
LICENSE.md
README.md
_tags
build
myocamlbuild.ml
opam

README.md

mirage-os-shim — Portable shim for MirageOS APIs

%%VERSION%%

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

You can’t perform that action at this time.