From: Jan Kiszka <jan.kiszka@domain.hid>
To: Mathieu JOINIE-MAURIN <mjoiniem@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Re : sqrt() function in xenomai kernel module
Date: Wed, 29 Aug 2007 11:16:36 +0200 [thread overview]
Message-ID: <46D53974.3020207@domain.hid> (raw)
In-Reply-To: <904710.33097.qm@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]
Mathieu JOINIE-MAURIN wrote:
> The application I used is a small controller for robot developped by people in the lab. Before it used to be in RTAI. But now they are trying to use Xenomai. The application is splitted in two parts:
> the user side which saves data, manages interfaces and the kernel module which realise all the real time tisk (sampling, writing to electronic card, controler).
> The communications between the two is made by 5 pipes (command, parameters, acknowledgment, save, status).
>
> This is why i need to make my sqrt() function (of double variables) into my kernel modul part.
Given that this is also a "small" application, I bet it will be far
easier for you to port it to user-space (POSIX or native skin) than
porting a math lib into kernel space. You could even continue to use
pipes (with Linux devices on the non-RT side) for communication to keep
the porting effort low. Hardware access can also remain part of the
application if you prefer (use iopl() & friends), though a clean
separation into generic driver and application is recommended for the
long-term.
Kernel space RT _applications_ really belong to an outdated design
pattern (due to missing libraries, GPL requirements, debuggability with
gdb, etc.). Take the chance and improve your application!
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2007-08-29 9:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-29 9:02 [Xenomai-help] Re : sqrt() function in xenomai kernel module Mathieu JOINIE-MAURIN
2007-08-29 9:16 ` Jan Kiszka [this message]
2007-08-29 9:32 ` Gilles Chanteperdrix
2007-08-29 13:20 ` Gilles Chanteperdrix
2007-08-29 13:47 ` Paul
2007-08-29 14:14 ` Jan Kiszka
2007-08-29 14:53 ` Gilles Chanteperdrix
2007-08-29 15:35 ` Philippe Gerum
2007-08-29 9:25 ` Herman Bruyninckx
-- strict thread matches above, loose matches on Subject: below --
2007-08-29 16:10 Fillod Stephane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46D53974.3020207@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=mjoiniem@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.