On 11/04/07, Jeff Weber <[EMAIL PROTECTED]> wrote:
> Are there any restrictions against calling the Linux kernel, namely
> do_gettimeofday(), from a Xenomai kernel task?
>
> Does the kernel space task switch from primary to secondary mode, just as a
> user space task would?

No.

Regarding the use of Linux kernel functions, consider it from the
point that your rt task (in general, any activity from the primary
domain) could have interrupted the Linux kernel at any (well, almost)
point.. i.e. some spin_locks can be held by the kernel and if you
happen to call a function from the primary domain that does use these
locks - well, nothing good is going to happen. In general, it's a no
go.

There were a number of discussions on this topic.

e.g. https://mail.gna.org/public/xenomai-core/2007-03/msg00099.html

>
>         thanks,
>         Jeff

-- 
Best regards,
Dmitry Adamushko

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

Reply via email to