Quoth Siegfried Müller: > I want to use ioremap in user-program and not in a driver. I tried to > compile my program, but i got the error "undefined reference to > __ioremap". What must i do in the makefile to get this compiled? (i > already inlcuded asm/io.h)
AFAIK, you can't. If you're using a platform that requires ioremap be called, then chances are good that direct I/O will be blocked from userspace and you'll need to do it in-kernel anyway. (Though I could be wrong about this, of course.) > Well, i know it is dirty to use direct io-access in a user program, > but i need a fast access. Fast from what perspective? Userspace itself is not fast. _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
