1 #include <linux/module.h>
6 * Copy data from IO memory space to "real" memory space.
7 * This needs to be optimized.
9 void _memcpy_fromio(void * to
, unsigned long from
, unsigned long count
)
13 *(char *) to
= readb(from
);
20 * Copy data from "real" memory space to IO memory space.
21 * This needs to be optimized.
23 void _memcpy_toio(unsigned long to
, const void * from
, unsigned long count
)
27 writeb(*(char *) from
, to
);
34 * "memset" on IO memory space.
35 * This needs to be optimized.
37 void _memset_io(unsigned long dst
, int c
, unsigned long count
)
46 EXPORT_SYMBOL(_memcpy_fromio
);
47 EXPORT_SYMBOL(_memcpy_toio
);
48 EXPORT_SYMBOL(_memset_io
);