Porting rtai/linux applications to xenomai/linux
Hello everyone!I'm Porting rtai/linux applications to xenomai/linux. I want to swith RTAI API to Xeno's native API. Now I have a problem:we know,rtai provides a kernel module: math.ko, so we can use math funtions in our kernel modules of our applications ,but xenomai doesn't provide the same functions. what should I do? My kernel module of application need some math functions. Maybe I should port the math.ko of rtai to xenomai or copy the definitions of needed math funtions to the source code of my kernel module ?
Do you own a good method to solve the problem? I'm looking forward to your answers! Thank you!
Quoted 7 lines · 韩守谦
Hello everyone! I'm Porting rtai/linux applications to xenomai/linux. I want to swith RTAI API to Xeno's native API. Now I have a problem:we know,rtai provides a kernel module: math.ko, so we can use math funtions in our kernel modules of our applications ,but xenomai doesn't provide the same functions. what should I do? My kernel module of application need some math functions.
As we already told in former posts, we do not support the math module, and do not intend to support it.
Using math functions in kernel-space is probably the sign of a design which does too many things in kernel-space. Move the computations to user-space. Besides, using hardware maths in kernel-space has become harder, since the linux kernel compilation flags contain -msoft-float by default.
Signature · 1 line
Gilles
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · 韩守谦
Hello everyone! I'm Porting rtai/linux applications to xenomai/linux. I want to swith RTAI API to Xeno's native API. Now I have a problem:we know,rtai provides a kernel module: math.ko, so we can use math funtions in our kernel modules of our applications ,but xenomai doesn't provide the same functions. what should I do? My kernel module of application need some math functions.
As we already told in former posts, we do not support the math module, and do not intend to support it.
https://mail.gna.org/public/xenomai-help/2007-08/msg00237.html
Signature · 1 line
Gilles