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

[Xen-changelog] Define constants for XENVER char array sizes. Allows Linux



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 602bf0aa15ab534672af6be57c0418807ff5608b
# Parent  f33e537c4ac52b6c928883e9f143e8669a35a1f1
Define constants for XENVER char array sizes. Allows Linux
users to avoid using the typedefs directly.

Signed-off-by: Mike Day <ncmike@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r f33e537c4ac5 -r 602bf0aa15ab xen/include/public/version.h
--- a/xen/include/public/version.h      Tue Feb 21 17:23:35 2006
+++ b/xen/include/public/version.h      Tue Feb 21 17:29:28 2006
@@ -18,6 +18,7 @@
 /* arg == xen_extraversion_t. */
 #define XENVER_extraversion 1
 typedef char xen_extraversion_t[16];
+#define XEN_EXTRAVERSION_LEN (sizeof(xen_extraversion_t))
 
 /* arg == xen_compile_info_t. */
 #define XENVER_compile_info 2
@@ -30,9 +31,11 @@
 
 #define XENVER_capabilities 3
 typedef char xen_capabilities_info_t[1024];
+#define XEN_CAPABILITIES_INFO_LEN (sizeof(xen_capabilities_info_t))
 
 #define XENVER_changeset 4
 typedef char xen_changeset_info_t[64];
+#define XEN_CHANGESET_INFO_LEN (sizeof(xen_changeset_info_t))
 
 #define XENVER_platform_parameters 5
 typedef struct xen_platform_parameters {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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