debuggers.hg

changeset 22055:9c761fe23d3d

libxl: add specific type for hwcaps

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
author Ian Campbell <ian.campbell@citrix.com>
date Mon Aug 16 15:31:04 2010 +0100 (2010-08-16)
parents 72edff4d5db1
children 8687ca8ab9bd
files tools/libxl/libxl.h
line diff
     1.1 --- a/tools/libxl/libxl.h	Mon Aug 16 15:31:04 2010 +0100
     1.2 +++ b/tools/libxl/libxl.h	Mon Aug 16 15:31:04 2010 +0100
     1.3 @@ -147,6 +147,8 @@ typedef char **libxl_key_value_list;
     1.4  
     1.5  typedef uint64_t *libxl_cpumap;
     1.6  
     1.7 +typedef uint32_t libxl_hwcap[8];
     1.8 +
     1.9  typedef enum {
    1.10      XENFV = 1,
    1.11      XENPV,
    1.12 @@ -713,7 +715,7 @@ typedef struct {
    1.13      uint64_t scrub_pages;
    1.14  
    1.15      uint32_t nr_nodes;
    1.16 -    uint32_t hw_cap[8];
    1.17 +    libxl_hwcap hw_cap;
    1.18      uint32_t phys_cap;
    1.19  }  libxl_physinfo;
    1.20