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] passthrough: fix alignment of bind.u.msi.gtable

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] passthrough: fix alignment of bind.u.msi.gtable
From: Qing He <qing.he@xxxxxxxxx>
Date: Wed, 11 Mar 2009 22:26:39 +0800
Delivery-date: Wed, 11 Mar 2009 07:25:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
use uint64_aligned_t gtable instead of uint64_t for 32/64 compatiblity

Signed-off-by: Qing He <qing.he@xxxxxxxxx>

diff -r d035b66b5b4d xen/include/public/domctl.h
--- a/xen/include/public/domctl.h       Mon Mar 09 15:01:34 2009 +0000
+++ b/xen/include/public/domctl.h       Wed Mar 11 09:08:20 2009 +0800
@@ -488,7 +488,7 @@ struct xen_domctl_bind_pt_irq {
         struct {
             uint8_t gvec;
             uint32_t gflags;
-            uint64_t gtable;
+            uint64_aligned_t gtable;
         } msi;
     } u;
 };

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] passthrough: fix alignment of bind.u.msi.gtable, Qing He <=