From: Tim Deegan Subject: [PATCH 2/4] Remove uses of DECLARE_BITMAP in the public HVM save format headers Date: Wed, 4 Feb 2009 16:48:27 +0000 Message-ID: <20090204164827.GE5300@york.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="61jdw2sOBCFtR2d/" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --61jdw2sOBCFtR2d/ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline --61jdw2sOBCFtR2d/ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename=02-bitmaps # HG changeset patch # User Tim Deegan # 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. Signed-off-by: Tim Deegan diff -r 7265fb34414b -r f7142816164d xen/include/public/arch-x86/hvm/save.h --- a/xen/include/public/arch-x86/hvm/save.h Wed Feb 04 16:25:08 2009 +0000 +++ b/xen/include/public/arch-x86/hvm/save.h Wed Feb 04 16:26:51 2009 +0000 @@ -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]; }; }; --61jdw2sOBCFtR2d/ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --61jdw2sOBCFtR2d/--