[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] suggested event channel cleanups


  • To: "xen-devel List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.