extern struct irq_chip i8259A_chip;
-#endif /* __ASM_I8259_H__ */
+ extern void mask_8259A(void);
+ extern void unmask_8259A(void);
+
+#endif /* ASM_X86__I8259_H */
#define MSI_ADDR_DEST_ID(dest) (((dest) << MSI_ADDR_DEST_ID_SHIFT) & \
MSI_ADDR_DEST_ID_MASK)
-#endif /* ASM_MSIDEF_H */
+ #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_X86__MSIDEF_H */