2 * linux/arch/arm/mm/iomap.c
4 * Map IO port and PCI memory spaces so that {read,write}[bwl] can
5 * be used to access this memory.
7 #include <linux/module.h>
9 #include <linux/ioport.h>
12 unsigned long vga_base
;
13 EXPORT_SYMBOL(vga_base
);
16 void __iomem
*ioport_map(unsigned long port
, unsigned int nr
)
20 EXPORT_SYMBOL(ioport_map
);
22 void ioport_unmap(void __iomem
*addr
)
25 EXPORT_SYMBOL(ioport_unmap
);
29 unsigned long pcibios_min_io
= 0x1000;
30 EXPORT_SYMBOL(pcibios_min_io
);
32 unsigned long pcibios_min_mem
= 0x01000000;
33 EXPORT_SYMBOL(pcibios_min_mem
);
35 unsigned int pci_flags
= PCI_REASSIGN_ALL_RSRC
;
36 EXPORT_SYMBOL(pci_flags
);
38 void pci_iounmap(struct pci_dev
*dev
, void __iomem
*addr
)
40 if ((unsigned long)addr
>= VMALLOC_START
&&
41 (unsigned long)addr
< VMALLOC_END
)
44 EXPORT_SYMBOL(pci_iounmap
);