Hi,
There must be something very obvious I'm missing, yet I don't know why
and I'm stuck.
I've got a very simple program that starts a simple periodic task that
reads from port 0x281 at 2KHz. When the inb(0x281) is executed my
program segfaults. If I comment that code, everything works fine (the
periodic task executes as expected).
In my initialization code, I've remembered to:
iopl(3)
mlockall(MCL_CURRENT | MCL_FUTURE)
rt_misc_get_io_region
Even tried to issue the iopl(3) again from the periodic task itself. No way.
I'm using kernel 2.6.17.11 and Xenomai v2.2.2.
Regards.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help