Diekema, Jon (AGRE) wrote: [..] >What is needed for a user mode Xenonmai task to access the MPC8260 >register which live in 0xf00000000..0xf0020000? I tried using >rt_misc_get_io_region(), but didn't get too far. I think this routine >is designed to access I/O space, which doesn't exist on PPC processor. >Should I be using the mmap() system call? Or, is there a better >approach?
This is a linuxppc-embedded FAQ, which is documented in Denx's FAQ: http://www.denx.de/twiki/bin/view/PPCEmbedded/DeviceDrivers#Section_Acce ssingPeripheralsFromUserSpace or shorter: http://tinyurl.com/6c7th For more information, please follow this thread (not ppc specific actually) http://lists.linuxppc.org/linuxppc-embedded/200403/msg00059.html Regards, -- Stephane