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] [PATCH 05 of 26] libxl: add specific type for hwcaps

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 05 of 26] libxl: add specific type for hwcaps
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Mon, 16 Aug 2010 15:33:29 +0100
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Mon, 16 Aug 2010 07:40:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1281969204@xxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1281969064 -3600
# Node ID 9c9b64a020535e99286bbb84502ec6cc30c8cc90
# Parent  2ae6c13c2724ee5841d6f851f0bb100a7fef400c
libxl: add specific type for hwcaps

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 2ae6c13c2724 -r 9c9b64a02053 tools/libxl/libxl.h
--- a/tools/libxl/libxl.h       Mon Aug 16 15:31:04 2010 +0100
+++ b/tools/libxl/libxl.h       Mon Aug 16 15:31:04 2010 +0100
@@ -146,6 +146,8 @@ typedef char **libxl_key_value_list;
 typedef char **libxl_key_value_list;
 
 typedef uint64_t *libxl_cpumap;
+
+typedef uint32_t libxl_hwcap[8];
 
 typedef enum {
     XENFV = 1,
@@ -713,7 +715,7 @@ typedef struct {
     uint64_t scrub_pages;
 
     uint32_t nr_nodes;
-    uint32_t hw_cap[8];
+    libxl_hwcap hw_cap;
     uint32_t phys_cap;
 }  libxl_physinfo;
 

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

<Prev in Thread] Current Thread [Next in Thread>