All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Porting rtai/linux applications to xenomai/linux
@ 2009-09-25 13:22 韩守谦
  2009-09-25 14:13 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: 韩守谦 @ 2009-09-25 13:22 UTC (permalink / raw)
  To: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]


    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!

[-- Attachment #2: Type: text/html, Size: 1393 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] Porting rtai/linux applications to xenomai/linux
  2009-09-25 13:22 [Xenomai-help] Porting rtai/linux applications to xenomai/linux 韩守谦
@ 2009-09-25 14:13 ` Gilles Chanteperdrix
  2009-09-25 14:15   ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2009-09-25 14:13 UTC (permalink / raw)
  To: 韩守谦; +Cc: xenomai-help

韩守谦 wrote:
> 
> 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.

-- 
                                          Gilles



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] Porting rtai/linux applications to xenomai/linux
  2009-09-25 14:13 ` Gilles Chanteperdrix
@ 2009-09-25 14:15   ` Gilles Chanteperdrix
  0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2009-09-25 14:15 UTC (permalink / raw)
  To: 韩守谦; +Cc: xenomai-help

Gilles Chanteperdrix wrote:
> 韩守谦 wrote:
>> 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

-- 
                                          Gilles



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-25 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25 13:22 [Xenomai-help] Porting rtai/linux applications to xenomai/linux 韩守谦
2009-09-25 14:13 ` Gilles Chanteperdrix
2009-09-25 14:15   ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.