Jochen wrote:
>
> On Die, 26 Okt 1999 SteenbeckDigital wrote:
>
> >>Have someone just developed a variant of Rt_com (or any other similar
> >>serial port driver) for RTAI?
>
> >Is there anything why it shouldn't allready??
> >As far as I can remember I didn't use the scheduler.
> >Has someone opposite experience??
>
> Hi Jens, All,
>
> no principal changes are needed.
> Only cli/sti like functions are named differently and the ISR prototype
> is different to NMT-2.0.
> In the rt_com-0.4pre package I send to this list lately there are
> conditional defines of the IRQ stuff and also the ISR-prototypes are
> handled.
> I succesfully compiled it on all three RT-Linux variants, but haven't
> tested it on RTAI.
>
> Look into the Makefile and define RTLINUX_V1, RTLINUX_V2, or RTAI,
> depending on the system you are running.
> ( We could probably automate this based on the include files - has anybody
> a handy idea ? )
Why not add two defines to some header file that both RTAI and RTL have.
one define RT_TYPE and one RT_VERSION the RT_TYPE could be 1 for RTL and
2 for RTAI and 3 for KURT etc.
and RT_VERSIOn just the version number. Only have to agree on the type
codes, which should not
be that difficult.
- Erwin
>
> Please tell me if there are any problems on any of these systems !
>
> If Michael puts the cvs-sources into the NMT-2.0 release, you will have
> all this in there.
>
> Paolo,
> if you want to keep with the newest rt_com changes to put them into the
> RTAI distrinution, I could give you cvs access as well.
>
> -- Jochen
> Heinrich-Heine-Universität, Institut für Physikalische Chemie I
> Universitätsstr. 1, Geb. 26.43.02.29, 40225 Düsseldorf, Germany
> phone 02118113681 fax 02118115195 -- www-public.rz.uni-duesseldorf.de/~jochen
> [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED]
> --- [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/
--
Q - S O F T - E N G I N E E R I N G
Rodachtalweg 11, 81549 Muenchen, Germany
Erwin Rol (Software Engineer) phone: +49-89-68050051
[EMAIL PROTECTED] fax : +49-89-68050052
--- [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/