Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Commit

Permalink
bump to 2.2.0 and sync changes
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed Jan 23, 2015
1 parent 3c9b7f5 commit 56233e2
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
2.2.0 (trunk):

This releases adds support for OCaml 4.02+ compilation, and changes the Xen
backend build for Mirage significantly by:

* removing the OCaml compiler runtime from the mirage-platform, which makes
it simpler to work across multiple revisions of the compiler. It now uses
the `ocaml-src` OPAM package to grab the current switch's version of the
OCaml runtime.
* split the Xen runtime build into discrete `pkg-config` libraries:
* `mirage-xen-posix.pc` : in the `xen-posix/` directory, is the nano-posix
layer built with no knowledge of OCaml
* `mirage-xen-minios.pc`: defines the `__INSIDE_MINIOS__` macro to expose
internal state via the MiniOS headers (for use only by libraries that
know exactly what they are doing with the MiniOS)
* `mirage-xen-ocaml.pc`: in `xen-ocaml/core/`, this builds the OCaml asmrun,
Bigarray and Str bindings using the `mirage-xen-posix` layer.
* `mirage-xen-ocaml-bindings.pc`: in `xen-ocaml/bindings/`, these are bindings
required by the OCaml libraries to MiniOS. Some of the bindings use MiniOS
external state and hence use `mirage-xen-minios`, whereas others
(`cstruct_stubs` and `barrier_stubs` are just OCaml bindings and so just
use `mirage-xen-posix`).
* `mirage-xen.pc`: depends on all the above to provide the same external
interface as the current `mirage-platform`.

The OCaml code is now built using OASIS, since the C code is built entirely
separately and could be moved out into a separate OPAM package entirely.

2.1.3 (23-Jan-2015):
* [xen] Fix error handling in `OS.Main.run` to enable a top-level
exception to signal to the Xen toolstack that it crashed (versus a
Expand Down
2 changes: 1 addition & 1 deletion unix/_vars
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME=mirage
VERSION=2.1.3
VERSION=2.2.0
DEPS="cstruct lwt lwt.unix io-page.unix io-page mirage-clock-unix"
SYNTAX_DEPS="cstruct.syntax lwt.syntax"
LIB="oS"
Expand Down
2 changes: 1 addition & 1 deletion xen/_vars
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME=mirage
VERSION=2.1.3
VERSION=2.2.0
DEPS="lwt cstruct xen-evtchn xen-gnt xenstore shared-memory-ring shared-memory-ring.lwt shared-memory-ring.xenstore shared-memory-ring.console mirage-types mirage-clock-xen io-page mirage-profile"
SYNTAX_DEPS="lwt.syntax cstruct.syntax"
LIB="oS"

0 comments on commit 56233e2

Please sign in to comment.