[uClinux-dev] How to use ioremap in a program
Erwin Authried
eauth at softsys.co.at
Mon Nov 19 02:11:22 EST 2007
Am Montag, den 19.11.2007, 06:42 +0100 schrieb Siegfried Müller:
> Hi,
> 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)
> Well, i know it is dirty to use direct io-access in a user program, but
> i need a fast access.
> Kind regards
> Siegfried
Hi,
ioremap isn't for user space. For most nommu architectures, ioremap is
just a dummy function that returns the address 1:1.
Regards,
Erwin
More information about the uClinux-dev
mailing list