package mirage-xen

  1. Overview
  2. Docs

Module Import.Local_mappingSource

Sourcetype t

Abstract type representing a locally-mapped shared memory page

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

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

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

As above, but returning a result type.

OCaml

Innovation. Community. Security.