package mirage-xen

  1. Overview
  2. Docs
type t

Abstract type representing a locally-mapped shared memory page

val to_buf : t -> Io_page.t
val unmap_exn : t -> unit

Unmap a single mapping (which may involve multiple grants). Throws a Failure if unsuccessful.

val unmap : t -> (unit, [> `Msg of string ]) Stdlib.result

As above, but returning a result type.

OCaml

Innovation. Community. Security.