|
@@ -263,3 +263,107 @@ extern struct dma_map_ops *dma_get_ops(struct device *);
|
|
|
#ifndef platform_cpu_init
|
|
|
# define platform_cpu_init machvec_noop
|
|
|
#endif
|
|
|
+#ifndef platform_irq_init
|
|
|
+# define platform_irq_init machvec_noop
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifndef platform_send_ipi
|
|
|
+# define platform_send_ipi ia64_send_ipi /* default to architected version */
|
|
|
+#endif
|
|
|
+#ifndef platform_timer_interrupt
|
|
|
+# define platform_timer_interrupt machvec_timer_interrupt
|
|
|
+#endif
|
|
|
+#ifndef platform_global_tlb_purge
|
|
|
+# define platform_global_tlb_purge ia64_global_tlb_purge /* default to architected version */
|
|
|
+#endif
|
|
|
+#ifndef platform_tlb_migrate_finish
|
|
|
+# define platform_tlb_migrate_finish machvec_noop_mm
|
|
|
+#endif
|
|
|
+#ifndef platform_kernel_launch_event
|
|
|
+# define platform_kernel_launch_event machvec_noop
|
|
|
+#endif
|
|
|
+#ifndef platform_dma_init
|
|
|
+# define platform_dma_init swiotlb_dma_init
|
|
|
+#endif
|
|
|
+#ifndef platform_dma_get_ops
|
|
|
+# define platform_dma_get_ops dma_get_ops
|
|
|
+#endif
|
|
|
+#ifndef platform_dma_get_required_mask
|
|
|
+# define platform_dma_get_required_mask ia64_dma_get_required_mask
|
|
|
+#endif
|
|
|
+#ifndef platform_irq_to_vector
|
|
|
+# define platform_irq_to_vector __ia64_irq_to_vector
|
|
|
+#endif
|
|
|
+#ifndef platform_local_vector_to_irq
|
|
|
+# define platform_local_vector_to_irq __ia64_local_vector_to_irq
|
|
|
+#endif
|
|
|
+#ifndef platform_pci_get_legacy_mem
|
|
|
+# define platform_pci_get_legacy_mem ia64_pci_get_legacy_mem
|
|
|
+#endif
|
|
|
+#ifndef platform_pci_legacy_read
|
|
|
+# define platform_pci_legacy_read ia64_pci_legacy_read
|
|
|
+extern int ia64_pci_legacy_read(struct pci_bus *bus, u16 port, u32 *val, u8 size);
|
|
|
+#endif
|
|
|
+#ifndef platform_pci_legacy_write
|
|
|
+# define platform_pci_legacy_write ia64_pci_legacy_write
|
|
|
+extern int ia64_pci_legacy_write(struct pci_bus *bus, u16 port, u32 val, u8 size);
|
|
|
+#endif
|
|
|
+#ifndef platform_inb
|
|
|
+# define platform_inb __ia64_inb
|
|
|
+#endif
|
|
|
+#ifndef platform_inw
|
|
|
+# define platform_inw __ia64_inw
|
|
|
+#endif
|
|
|
+#ifndef platform_inl
|
|
|
+# define platform_inl __ia64_inl
|
|
|
+#endif
|
|
|
+#ifndef platform_outb
|
|
|
+# define platform_outb __ia64_outb
|
|
|
+#endif
|
|
|
+#ifndef platform_outw
|
|
|
+# define platform_outw __ia64_outw
|
|
|
+#endif
|
|
|
+#ifndef platform_outl
|
|
|
+# define platform_outl __ia64_outl
|
|
|
+#endif
|
|
|
+#ifndef platform_mmiowb
|
|
|
+# define platform_mmiowb __ia64_mmiowb
|
|
|
+#endif
|
|
|
+#ifndef platform_readb
|
|
|
+# define platform_readb __ia64_readb
|
|
|
+#endif
|
|
|
+#ifndef platform_readw
|
|
|
+# define platform_readw __ia64_readw
|
|
|
+#endif
|
|
|
+#ifndef platform_readl
|
|
|
+# define platform_readl __ia64_readl
|
|
|
+#endif
|
|
|
+#ifndef platform_readq
|
|
|
+# define platform_readq __ia64_readq
|
|
|
+#endif
|
|
|
+#ifndef platform_readb_relaxed
|
|
|
+# define platform_readb_relaxed __ia64_readb_relaxed
|
|
|
+#endif
|
|
|
+#ifndef platform_readw_relaxed
|
|
|
+# define platform_readw_relaxed __ia64_readw_relaxed
|
|
|
+#endif
|
|
|
+#ifndef platform_readl_relaxed
|
|
|
+# define platform_readl_relaxed __ia64_readl_relaxed
|
|
|
+#endif
|
|
|
+#ifndef platform_readq_relaxed
|
|
|
+# define platform_readq_relaxed __ia64_readq_relaxed
|
|
|
+#endif
|
|
|
+#ifndef platform_migrate
|
|
|
+# define platform_migrate machvec_noop_task
|
|
|
+#endif
|
|
|
+#ifndef platform_setup_msi_irq
|
|
|
+# define platform_setup_msi_irq ((ia64_mv_setup_msi_irq_t*)NULL)
|
|
|
+#endif
|
|
|
+#ifndef platform_teardown_msi_irq
|
|
|
+# define platform_teardown_msi_irq ((ia64_mv_teardown_msi_irq_t*)NULL)
|
|
|
+#endif
|
|
|
+#ifndef platform_pci_fixup_bus
|
|
|
+# define platform_pci_fixup_bus machvec_noop_bus
|
|
|
+#endif
|
|
|
+
|
|
|
+#endif /* _ASM_IA64_MACHVEC_H */
|