WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] suggested event channel cleanups

To: "xen-devel List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] suggested event channel cleanups
From: "King, Steven R" <steven.r.king@xxxxxxxxx>
Date: Mon, 10 Oct 2005 15:50:29 -0700
Delivery-date: Mon, 10 Oct 2005 22:47:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXNuHeCUrjoIDWESeKdd9LSamWJXwAAVZMw
Thread-topic: suggested event channel cleanups
Hello All,
This patch standardizes the type of "port" to "int" for event channel
functions and structures.  Internally, Xen is using "int" for ports, but
userland code has a mix of "int" and "u32".  Type "int" is preferred in
userland, since some functions want to return a positive port value or a
negative error code.

Also,

xenctrl.h: Added extern "C" to allow linking with C++ programs.
xenctrl.h: Added function prototype for event channel close.
xenctrl.h: Added function prototype for interdomain event channel.

I've never offered up a patch before, so apologies if I'm abusing
conventions.

-steve

Attachment: xenctrl.ZIP
Description: xenctrl.ZIP

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>