1 #ifndef HW_APIC_MSIDEF_H
2 #define HW_APIC_MSIDEF_H
5 * Intel APIC constants: from include/asm/msidef.h
12 #define MSI_DATA_VECTOR_SHIFT 0
13 #define MSI_DATA_VECTOR_MASK 0x000000ff
15 #define MSI_DATA_DELIVERY_MODE_SHIFT 8
16 #define MSI_DATA_LEVEL_SHIFT 14
17 #define MSI_DATA_TRIGGER_SHIFT 15
20 * Shift/mask fields for msi address
23 #define MSI_ADDR_DEST_MODE_SHIFT 2
25 #define MSI_ADDR_REDIRECTION_SHIFT 3
27 #define MSI_ADDR_DEST_ID_SHIFT 12
28 #define MSI_ADDR_DEST_IDX_SHIFT 4
29 #define MSI_ADDR_DEST_ID_MASK 0x000ff000
31 #endif /* HW_APIC_MSIDEF_H */