package vchan

  1. Overview
  2. Docs
type grant
val sexp_of_grant : grant -> Sexplib0.Sexp.t
val grant_of_sexp : Sexplib0.Sexp.t -> grant
val grant_of_int32 : int32 -> grant
val int32_of_grant : grant -> int32
type share
val sexp_of_share : share -> Sexplib0.Sexp.t
val grants_of_share : share -> grant list
val buf_of_share : share -> Io_page.t
val share : domid:int -> npages:int -> rw:bool -> share
val unshare : share -> unit Lwt.t
type mapping
val sexp_of_mapping : mapping -> Sexplib0.Sexp.t
val buf_of_mapping : mapping -> Io_page.t
val map : domid:int -> grant:grant -> rw:bool -> mapping
val mapv : grants:(int * grant) list -> rw:bool -> mapping
val unmap : mapping -> unit
OCaml

Innovation. Community. Security.