Jan Kiszka wrote:
[..]
>> Another thing is the Device I/O handling from user-space. Simple
question: how do I perform read/write operations? In VxWorks, I have for
example following function for reading an I/O register of the board:
> ...

>On x86, iopl() or ioperm() opens in/out to a user space process. Memory
>mapped I/O should be accessible via /dev/mem on any arch.

Here is a code snippet [4], and also with a shorter URL[5].

[4]
http://www.denx.de/twiki/bin/view/PPCEmbedded/DeviceDrivers#Section_Acce
ssingPeripheralsFromUserSpace
[5] http://tinyurl.com/6c7th

-- 
Stephane


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to