Skip to contentSkip to conversation

(no subject)

Xenomai-help [email protected] 2 participants 2 messages Sep 26, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I'm working on a Xenomai kernel module and I need to use mathematical functions (like those included in math.h).

Is there a way to use this kind of functions in the kernel or shall I switch to an user space application ?

Thank you for your answer.

____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow

#1 lore raw
Quoted 11 lines · On 9/26/07, [email protected] <[email protected]> wrote:

Hello,

I'm working on a Xenomai kernel module and I need to use mathematical functions (like those included in math.h).

Is there a way to use this kind of functions in the kernel or shall I switch to an user space application ?

Thank you for your answer.

There was a recent discussion on this subject. The answer is that if you want the mathematical functions in kernel-space, which means compiling the math functions of a libc in kernel space, it is possible because Xenomai supports using FPU in kernel-space, but you are on your own, such a math support will never be added to Xenomai sources.

The supported way is to use mathematical functions in user-space.

Signature · 1 line
                                               Gilles Chanteperdrix