blob: 37a469849ab9f94d3e56a2f73f2f9525de3eb1ab [file] [log] [blame]
Fenghua Yu62fdd762008-10-17 12:14:13 -07001#include <asm/iommu.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#include <asm/machvec.h>
3
4extern ia64_mv_send_ipi_t ia64_send_ipi;
5extern ia64_mv_global_tlb_purge_t ia64_global_tlb_purge;
John Keller175add12008-11-24 16:47:17 -06006extern ia64_mv_dma_get_required_mask ia64_dma_get_required_mask;
Kenji Kaneshige11152002007-08-13 10:31:26 -07007extern ia64_mv_irq_to_vector __ia64_irq_to_vector;
Linus Torvalds1da177e2005-04-16 15:20:36 -07008extern ia64_mv_local_vector_to_irq __ia64_local_vector_to_irq;
9extern ia64_mv_pci_get_legacy_mem_t ia64_pci_get_legacy_mem;
10extern ia64_mv_pci_legacy_read_t ia64_pci_legacy_read;
11extern ia64_mv_pci_legacy_write_t ia64_pci_legacy_write;
12
13extern ia64_mv_inb_t __ia64_inb;
14extern ia64_mv_inw_t __ia64_inw;
15extern ia64_mv_inl_t __ia64_inl;
16extern ia64_mv_outb_t __ia64_outb;
17extern ia64_mv_outw_t __ia64_outw;
18extern ia64_mv_outl_t __ia64_outl;
19extern ia64_mv_mmiowb_t __ia64_mmiowb;
20extern ia64_mv_readb_t __ia64_readb;
21extern ia64_mv_readw_t __ia64_readw;
22extern ia64_mv_readl_t __ia64_readl;
23extern ia64_mv_readq_t __ia64_readq;
24extern ia64_mv_readb_t __ia64_readb_relaxed;
25extern ia64_mv_readw_t __ia64_readw_relaxed;
26extern ia64_mv_readl_t __ia64_readl_relaxed;
27extern ia64_mv_readq_t __ia64_readq_relaxed;
28
29#define MACHVEC_HELPER(name) \
30 struct ia64_machine_vector machvec_##name __attribute__ ((unused, __section__ (".machvec"))) \
31 = MACHVEC_INIT(name);
32
33#define MACHVEC_DEFINE(name) MACHVEC_HELPER(name)
34
35MACHVEC_DEFINE(MACHVEC_PLATFORM_NAME)