Am 07.11.2012 um 20:16 schrieb Wolfgang Grandegger:

> On 11/07/2012 08:06 PM, Michael Haberler wrote:
>> As suggested, I adapted the LinuxCNC kernel support from native to RTDM API; 
>> my remaining issues are:
>> 
>> - how do I achieve CPU binding which is available in rt_task_create() 
>> (T_CPU(cpuid))?
>> - do I need to tell an RTDM task that the thread might use the FPU (T_FPU in 
>> rt_task_create()) ?
> 
> http://www.xenomai.org/documentation/trunk/html/api/group__task.html#ga03387550693c21d0223f739570ccd992
> it pretty clear.

Wolfgang -

I was suggested:

> Also note that if LinuxCNC code runs in kernel-space, you should not be
> using the native API, but the RTDM API.

which I translate as 'use rtdm_task_init instead of rt_task_create'

I have the kernel code using the native API just fine. The concern I have is 
for long-term compatibility, which is why I'm attempting to port to RTDM.

- Michael


> 
> Wolfgang.
> 


_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to