Thanks Jan.
Another thought: is there a direct Adeos call to enable/disable all
interrupts, with nesting from user space?
I'm porting some legacy RTAI code to the Xenomai native skin. The RTAI code
has rtai_save_flags_and_cli()/rtai_restore_flags() for enabling/disabling all
interrupts direct from user space, with capability to handle nested calls.
Yes, please add this to the native skin "wish list", along with a nesting
capability.
thanks,
Jeff
On Friday 27 October 2006 08:32, Jan Kiszka wrote:
> Jeff Weber wrote:
> > How do I enable/disable all interrupts (Linux and Xenomai) from user
>
> space?
>
> > (native skin preferred)
>
> For x86:
>
> iopl(3);
> __asm__ __volatile__("cli/sti");
>
> Ugly hack, typical a sign that something should be moved somewhere
> else... (there are a few exceptions, though)
--
Jeff Weber
American Superconductor Corp.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help