All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gerald Dachs <gda@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] kernel module misses rt_get_time
Date: Thu, 17 Nov 2005 23:41:57 +0100	[thread overview]
Message-ID: <437D0735.8070306@domain.hid> (raw)
In-Reply-To: <20051117214647.61520725.gda@domain.hid>

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

Gerald Dachs wrote:
> Hi,
> 
> I am new to xenomai, sorry if I ask something stupid. 
> I try to use a kernel module with xenomai, but upon loading it
> misses rt_get_time. It looks like it was build with rtai. I have thought
> I could use it with xenomai via the rtai skin.
> In the rtai skin I found only rt_get_time_ns.
> Searching the web I found them both mentioned, I didn't found
> that it is replaced by another function. Is xnpod_get_time the
> same?

Actually, rt_get_time and rt_get_time_ns are the same in the RTAI
compatibility skin (counts are nanoseconds here, see count2nano e.g.).
Therefore, a

static inline RTIME rt_get_time(void) {
	return rt_get_time_ns();
}

should make it into rtai/timer.h (sorry, I have nothing to generate a
patch at hand).

Jan

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

  parent reply	other threads:[~2005-11-17 22:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17 20:46 [Xenomai-help] kernel module misses rt_get_time Gerald Dachs
2005-11-17 21:39 ` Gilles Chanteperdrix
2005-11-17 22:05   ` Philippe Gerum
2005-11-17 22:41 ` Jan Kiszka [this message]
2005-11-17 22:54   ` Gerald Dachs
     [not found]   ` <20051117235310.4418aee6.gda@domain.hid>
2005-11-17 22:56     ` Jan Kiszka

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=437D0735.8070306@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gda@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.