msi.h 446 B

1234567891011121314151617
  1. /*
  2. * Copyright (C) 2003-2004 Intel
  3. * Copyright (C) Tom Long Nguyen (tom.l.nguyen@intel.com)
  4. */
  5. #ifndef ASM_MSI_H
  6. #define ASM_MSI_H
  7. #define NR_VECTORS NR_IRQS
  8. #define FIRST_DEVICE_VECTOR IA64_FIRST_DEVICE_VECTOR
  9. #define LAST_DEVICE_VECTOR IA64_LAST_DEVICE_VECTOR
  10. static inline void set_intr_gate (int nr, void *func) {}
  11. #define IO_APIC_VECTOR(irq) (irq)
  12. #define ack_APIC_irq ia64_eoi
  13. #define MSI_TARGET_CPU_SHIFT 4
  14. #endif /* ASM_MSI_H */