All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: Jan Kiszka <jan.kiszka@domain.hid>, xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] RTDM over linux-rt, code organisation
Date: Tue, 06 Feb 2007 14:32:28 +0100	[thread overview]
Message-ID: <45C8836C.70009@domain.hid> (raw)

Hi Philippe,

I'm currently porting RTDM over Linux with the real-time preemption 
patch (RTDM-native) and I have a first prototype running and can send 
and receive CAN messages with RT-Socket-CAN. Time to speak about code 
(re-)organisation and integration into Xenomai. I briefly discussed this 
issue with Jan and here is my proposal:

- the RTDM-native implementation goes to:

     ksrc/skins/rtdm/native/
     include/rtdm/rtdm_driver-native.h

   rtdm_driver-native.h will be included by rtdm_driver.h depending on
   CONFIG_IPIPE. A similar code organization could be chosen for
   RTDM-cosched.

- a modified version of prepare_kernel.sh adds the RTDM-native files
   as symbolic links to the kernel tree depending on CONFIG_IPIPE and
   CONFIG_PREEMPT_RT:

     include/rtdm/ -> include/xenomai/rtdm/
     ksrc/skins/rtdm/native/ -> kernel/xenomai/rtdm/native/
     ksrc/drivers/ -> drivers/xenomai/

- The idea is to keep the RTDM-native implementation in a separate
   branch and merge it sometime later (with Xenomai 3.x?).

What do you think? Does it match with your ideas of Xenomai over -rt?

Thanks.

Wolfgang.


                 reply	other threads:[~2007-02-06 13:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=45C8836C.70009@domain.hid \
    --to=wg@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --cc=rpm@xenomai.org \
    --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.