Jochen Kuepper wrote:
>
> On Mon, 20 Dez 1999 Stuart Hughes wrote:
>
> >Agreed, apart from the points you make, I want to have some means of
> >identifiying what flavour I have so I can write portable applications
> >that can work on RTL or RTAI. Currenly I look for /usr/src/rtl/rtai,
> >which is far from safe.
>
> I actually asked for/suggested a common (to all distributions) rtlinux.h
> (or realtime.h, or <whatever>.h) within standard C_INCLUDE_PATH or in
> /usr/include/rtlinux/ that tells me what system I am running - that could
> be as simple as defining one of
> RTLINUX_V1
> RTLINUX_V2
> RTAI
> KURT
> .
> .
> .
Good idea.
>
> >> Additionally, it is a little bit disturbing, that
> >> the Makefiles included in RTAI don't have an "install"
> >> option, so that the modules are not copied to i.e.
> >> "/lib/modules/2.2.13-RTAI0.8/misc" automaticaly.
> >
> >On this point, I would like to propose that we do the following for
> >installation:
>
> Well, Stuart, we talked about that in Vienna already, and as such you
> know that I consider it very important that there is a common include
> directory for all dists, whatever it is called !
> (I suggest /usr/inlclude/rtlinux/, and I actually added a install target
> to NMT-RTL some time ago that did exactly that - installed modules into
> /lib/modules/`uname -r`/misc/ and includes into /usr/include/rtlinux/.
>
> Can we all agree on that (Paolo, Victor, ... ) ?
Your idea was a good one, my only extra suggestion is that the includes
be via a link at some point (in the same way that /usr/include/linux and
/usr/include/asm are).
>
> >I would like to see a unification on at least the level of RTL V1/RTAI
> >API. This should be discussed. My first comment would be that I would
> >like to see the timing services simplified so that everything can be
> >specified in nanosecond without the user having to worry about clock
> >ticks.
>
> Well, than people will step in and ask why the hell they don't get the ns
> resolution they specify :-(
The point I was making is that it is far easier to think in terms of
nanoseconds than clock ticks, I often find myself confused when setting
up the timer related stuff in RTL/RTAI. Of course people have to
realise that the resolution of the (8254) timer is 1/1193180 so you
don't get exactly what you ask for. Hopefully when other ports appear
on platforms with better timers the discrepancy between nanoseconds
asked and actual will be far less.
>
> >With the help of the community, the mechanics of layout, installation
> >etc can be made cleaner. I believe there is a will by many to help with
> >this effort.
>
> Yes - we have to start it now, though.
>
Absolutely.
Regards, Stuart.
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/