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)

We once had some discussion if we shouldn't export domain stalling
features to user-space in order to support things like X-servers that
currently come with such code, toasting any RT kernel. May come one day,
but this will be primarily for legacy non-RT code.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to