Aurele Traynard wrote:
> ok i'm sorry i wasn't clear at all...
> my problem is : when i call readl in a rt_task, the task is stopped...
> (maybe because the rt_task is launched in a module?)
> "Xenomai: suspending kernel thread bf0041c8 ('test_rt') at 0xbf003824 after
> exception #0"
> if i remove the readl there is no problem
>
> With a normal Linux, in a module there isn't any problem
On what platform? I can think of two things:
- the platform you use maps the ioremaped memory on-demand (x86 and ARM
at least do not allow this, but I do not know about other platforms)
- you are making an unaligned access, it works with Linux because it has
a handler for handling unaligned accesses, whereas Xenomai default
handler is to simply suspend a task doing this kind of things.
Please do not forget to CC the mailing list.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help