Hi, Geert Uytterhoeven wrote:
You didn't mmap() /dev/mem? You do need to use the mmap() result as _IO_BASE, not the physical 0xfe000000.
That's what you can do in ioperm().
Thanks for that! I got your program to build, and mine to build (and work as I expected) after using mmap() from your program as an example.