package vchan-unix

  1. Overview
  2. Docs
include Vchan.S.MEMORY
type grant
val grant_of_int32 : int32 -> grant
val int32_of_grant : grant -> int32
type share
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 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.