Skip to contentSkip to conversation

Remove uses of DECLARE_BITMAP in the public HVM save format headers

PATCH New Tim Deegan 1 participant 1 message Feb 4, 2009

lore
Share & tools
lore

Tim Deegan

author
#0 lore raw

PATCH 2/4 Remove uses of DECLARE_BITMAP in the public HVM save format headers

# HG changeset patch
# User Tim Deegan <[email protected]>
# Date 1233764811 0
# Node ID f7142816164dee4a9c60c3e2fc1846d703e39d35
# Parent 7265fb34414b00e413bd40e2804eb3df0cdca243 Remove uses of DECLARE_BITMAP in the public HVM save format headers and replace them with open-coded equivalents. DECLARE_BITMAP is not exported to user-space consumers of the Xen headers.

xen/include/public/arch-x86/hvm/save.h +2 -2
diff -r 7265fb34414b -r f7142816164d xen/include/public/arch-x86/hvm/save.h
@@ -287,7 +287,7 @@
      * Indexed by: device*4 + INTx#.
      */
     union {
-        DECLARE_BITMAP(i, 32*4);
+        unsigned long i[16 / sizeof (unsigned long)]; /* DECLARE_BITMAP(i, 32*4); */
         uint64_t pad[2];
     };
 };
@@ -300,7 +300,7 @@
      * Indexed by ISA IRQ (assumes no ISA-device IRQ sharing).
      */
     union {
-        DECLARE_BITMAP(i, 16);
+        unsigned long i[1];  /* DECLARE_BITMAP(i, 16); */
         uint64_t pad[1];
     };
 };

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel