mmap and domain switch
Hi all,
In my project I'm accessing a device using a linux device driver (via sysfs) . In order to speedup the control loop I've mmapped the register i need to read. The question is: If I access a device register using mmap from a xenomai task am i triggering a domain switch ?
BR,
Giuseppe
Quoted 3 lines · Giuseppe Iellamo
Hi all,
In my project I'm accessing a device using a linux device driver (via sysfs) . In order to speedup the control loop I've mmapped the register i need to read. The question is: If I access a device register using mmap
assuming you mean "mmaped memory" here,
from a xenomai task am i triggering a domain switch ?
Quoted 1 line
No, unless you take a fault doing so, which should not happen if the MMR is properly mapped/accessed.
Quoted 7 lines
BR,
Giuseppe
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai
Signature · 1 line
Philippe.