package mirage-os-shim

  1. Overview
  2. Docs
Portable shim for MirageOS APIs

Install

Dune Dependency

Authors

Maintainers

Sources

mirage-os-shim-3.0.0.tbz
sha256=72bbe90a63afca2c041b5601cf1103a291020d9a49b80d4dccf80e6e931456c0
md5=acc88034edc5685e34424d3174ffb3ca

Description

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

Published: 23 Feb 2017

README

mirage-os-shim — Portable shim for MirageOS APIs

v3.0.0

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.

Dependencies (5)

  1. lwt
  2. topkg build
  3. ocamlbuild build
  4. ocamlfind build
  5. ocaml >= "4.01.0" & < "4.06.0"

Dev Dependencies

None

Used by (1)

  1. mirage-entropy < "0.5.0"

Conflicts (6)

  1. mirage-solo5 >= "0.5.0"
  2. mirage-solo5 < "0.2.0"
  3. mirage-xen >= "3.1.0"
  4. mirage-xen < "3.0.0" | >= "6.0.0"
  5. mirage-unix >= "3.1.0"
  6. mirage-unix < "3.0.0"
OCaml

Innovation. Community. Security.