xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Scott <dave.scott@eu.citrix.com>
To: xen-devel@lists.xen.org
Cc: jonathan.ludlam@eu.citrix.com
Subject: ocaml: eventchn: tidy up the module
Date: Wed, 20 Mar 2013 20:24:41 +0000	[thread overview]
Message-ID: <1363811085-6700-1-git-send-email-dave.scott@eu.citrix.com> (raw)

Hi,

The following patches improve the Xeneventchn interface by:
* adding an opaque type to represent a local event channel binding
* hiding implementation details from the .mli
* adding ocamldoc strings to describe the functions

The Xeneventchn interface is now compatible with the Mirage[1]
minios-based Eventchn interface so it's now possible to compile
the same code for both a Mirage kernel and Unix userspace (tested
by building git://github.com/djs55/ocaml-xen-block-driver although
note this still requires external grantdev bindings)

The last patch removes an unused exception.

Cheers,
Dave

[1] Mirage: http://www.openmirage.org/

             reply	other threads:[~2013-03-20 20:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 20:24 David Scott [this message]
2013-03-20 20:24 ` [PATCH 1/4] ocaml: eventchn: add a 'type t' to represent an event channel David Scott
2013-03-20 20:24 ` [PATCH 2/4] ocaml: eventchn: in the interface, we don't have to give implementation details David Scott
2013-03-20 20:24 ` [PATCH 3/4] ocaml: eventchn: add ocamldoc strings to the interface David Scott
2013-03-20 20:24 ` [PATCH 4/4] ocaml: eventchn: remove the unused exception 'Eventchn.Error' David Scott
2013-04-11 11:16 ` ocaml: eventchn: tidy up the module Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363811085-6700-1-git-send-email-dave.scott@eu.citrix.com \
    --to=dave.scott@eu.citrix.com \
    --cc=jonathan.ludlam@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).