1 #include <linux/module.h>
2 #include <linux/types.h>
6 * Copy data from IO memory space to "real" memory space.
7 * This needs to be optimized.
9 void _memcpy_fromio(void *to
, const volatile void __iomem
*from
, size_t count
)
11 unsigned char *t
= to
;
21 * Copy data from "real" memory space to IO memory space.
22 * This needs to be optimized.
24 void _memcpy_toio(volatile void __iomem
*to
, const void *from
, size_t count
)
26 const unsigned char *f
= from
;
36 * "memset" on IO memory space.
37 * This needs to be optimized.
39 void _memset_io(volatile void __iomem
*dst
, int c
, size_t count
)
48 EXPORT_SYMBOL(_memcpy_fromio
);
49 EXPORT_SYMBOL(_memcpy_toio
);
50 EXPORT_SYMBOL(_memset_io
);