samoht / mirage-platform

Core platform libraries for Mirage (UNIX and Xen). This provides the `OS` library which handles timers, device setup and the main loop, as well as the runtime for the Xen microkernel.

Home Page:http://www.openmirage.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mirage OS is a library operating system that constructs unikernels for secure, high-performance network applications across a variety of cloud computing and mobile platforms. Code can be developed on a normal OS such as Linux or MacOS X, and then compiled into a fully-standalone, specialised unikernel that runs under the Xen hypervisor.

Since Xen powers most public cloud computing infrastructure such as Amazon EC2 or Rackspace, this lets your servers run more cheaply, securely and with finer control than with a full software stack.

Mirage uses the OCaml language, with libraries that provide networking, storage and concurrency support that work under Unix during development, but become operating system drivers when being compiled for production deployment. The framework is fully event-driven, with no support for preemptive threading.

This contains the OS bindings for the Mirage operating system, primarily through an OS OCaml module. The following backends are available:

  • Unix: maps POSIX resources and executes Mirage apps as normal binaries.

  • Xen: a microkernel backend that can run against Xen3+

For documentation, visit http://openmirage.org.

The older "unified" tree is also present for historical reasons into the old-master branch.

Repository Contents

  • xen-posix/ contains the header files to pretend a posix system (required to compile the OCaml runtime), plus minilibc and float formating -- this is the home for the mirage-xen-posix OPAM package. Installation goes into .opam/x/lib/mirage-xen-posix and .opam/x/include/mirage-xen-posix

  • xen-ocaml/ contains only the OCaml runtime (patches and build system), installation into .opam/x/lib/mirage-xen-ocaml and .opam/x/include/mirage-xen-ocaml

  • bindings/ and xen/ subdirectories form the mirage-xen OPAM package -- this consists of various bindings and the OCaml OS module (in xen/).

About

Core platform libraries for Mirage (UNIX and Xen). This provides the `OS` library which handles timers, device setup and the main loop, as well as the runtime for the Xen microkernel.

http://www.openmirage.org/

License:Other


Languages

Language:OCaml 66.1%Language:C 31.5%Language:Shell 1.8%Language:Makefile 0.5%Language:C++ 0.1%