ia64/xen-unstable

view xen/include/asm-ia64/hvm/iommu.h @ 19185:54492bf232f7

[IA64] fix compilation error of iommu.c

This patch fixes the following compilation error on ia64
caused by 19178:4fcf4c9c9751.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Feb 09 12:50:12 2009 +0000 (2009-02-09)
parents 02c8733e2d91
children 9e3be0660c1e
line source
1 #ifndef __ASM_IA64_HVM_IOMMU_H__
2 #define __ASM_IA64_HVM_IOMMU_H__
4 #include <asm/hvm/irq.h>
5 #include <public/event_channel.h>
6 #include <public/arch-ia64/hvm/save.h>
7 #include <asm/linux-xen/asm/iosapic.h>
9 struct iommu_ops;
10 extern struct iommu_ops intel_iommu_ops;
11 extern int intel_vtd_setup(void);
13 #define iommu_get_ops() (&intel_iommu_ops)
14 #define iommu_hardware_setup() (intel_vtd_setup())
16 static inline int domain_irq_to_vector(struct domain *d, int irq)
17 {
18 return irq;
19 }
21 static inline void ack_APIC_irq(void)
22 {
23 /* TODO */
24 }
26 static inline void pci_cleanup_msi(struct pci_dev *pdev)
27 {
28 /* TODO */
29 }
31 /* Special IRQ numbers */
32 #define AUTO_ASSIGN (-1)
33 #define NEVER_ASSIGN (-2)
34 #define FREE_TO_ASSIGN (-3)
36 extern int assign_irq_vector (int irq);
38 #endif /* __ASM_IA64_HVM_IOMMU_H__ */