1 #include <linux/module.h>
2 #include <linux/types.h>
7 * Copy data from IO memory space to "real" memory space.
8 * This needs to be optimized.
10 void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count)
12 unsigned char *t = to;
22 * Copy data from "real" memory space to IO memory space.
23 * This needs to be optimized.
25 void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count)
27 const unsigned char *f = from;
37 * "memset" on IO memory space.
38 * This needs to be optimized.
40 void _memset_io(volatile void __iomem *dst, int c, size_t count)
49 EXPORT_SYMBOL(_memcpy_fromio);
50 EXPORT_SYMBOL(_memcpy_toio);
51 EXPORT_SYMBOL(_memset_io);