]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/msidef.h
x64, x2apic/intr-remap: MSI and MSI-X support for interrupt remapping infrastructure
[linux-2.6-omap-h63xx.git] / include / asm-x86 / msidef.h
index 296f29ce426d4e75a3c9451d1e16bb7d8aed3f71..57fd85935e5a0f5fc9cd5468c6304dd11570d6c6 100644 (file)
@@ -48,4 +48,8 @@
 #define  MSI_ADDR_DEST_ID(dest)                (((dest) << MSI_ADDR_DEST_ID_SHIFT) & \
                                         MSI_ADDR_DEST_ID_MASK)
 
+#define MSI_ADDR_IR_EXT_INT            (1 << 4)
+#define MSI_ADDR_IR_SHV                        (1 << 3)
+#define MSI_ADDR_IR_INDEX1(index)      ((index & 0x8000) >> 13)
+#define MSI_ADDR_IR_INDEX2(index)      ((index & 0x7fff) << 5)
 #endif /* ASM_MSIDEF_H */