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-changelog

[Xen-changelog] [xen-unstable] xen/irq: Make it obvious that desc->statu

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xen/irq: Make it obvious that desc->status fields comprise a bitfield.
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sun, 17 Jul 2011 12:55:13 +0100
Delivery-date: Sun, 17 Jul 2011 04:56:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1310804156 -3600
# Node ID e238234f6cb02743438e426bf3c22a93a5a41279
# Parent  4cbf5bc0265c369ef1af183343d8f5d44fa1ef56
xen/irq: Make it obvious that desc->status fields comprise a bitfield.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 4cbf5bc0265c -r e238234f6cb0 xen/include/xen/irq.h
--- a/xen/include/xen/irq.h     Sat Jul 16 09:12:19 2011 +0100
+++ b/xen/include/xen/irq.h     Sat Jul 16 09:15:56 2011 +0100
@@ -20,13 +20,13 @@
 /*
  * IRQ line status.
  */
-#define IRQ_INPROGRESS 1       /* IRQ handler active - do not enter! */
-#define IRQ_DISABLED   2       /* IRQ disabled - do not enter! */
-#define IRQ_PENDING    4       /* IRQ pending - replay on enable */
-#define IRQ_REPLAY     8       /* IRQ has been replayed but not acked yet */
-#define IRQ_GUEST       16      /* IRQ is handled by guest OS(es) */
-#define IRQ_MOVE_PENDING      64  /* IRQ is migrating to another CPUs */
-#define IRQ_PER_CPU     256     /* IRQ is per CPU */
+#define IRQ_INPROGRESS    (1u<<0) /* IRQ handler active - do not enter! */
+#define IRQ_DISABLED      (1u<<1) /* IRQ disabled - do not enter! */
+#define IRQ_PENDING       (1u<<2) /* IRQ pending - replay on enable */
+#define IRQ_REPLAY        (1u<<3) /* IRQ has been replayed but not acked yet */
+#define IRQ_GUEST         (1u<<4) /* IRQ is handled by guest OS(es) */
+#define IRQ_MOVE_PENDING  (1u<<5) /* IRQ is migrating to another CPUs */
+#define IRQ_PER_CPU       (1u<<6) /* IRQ is per CPU */
 
 /* Special IRQ numbers. */
 #define AUTO_ASSIGN_IRQ         (-1)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xen/irq: Make it obvious that desc->status fields comprise a bitfield., Xen patchbot-unstable <=