Thread (3 messages) 3 messages, 2 authors, 2004-03-18

Re: Linux and RTAI on the Motorola VME Boards

From: Marius Groeger <hidden>
Date: 2004-03-18 11:11:03

On Thu, 18 Mar 2004, Oliver Korpilla wrote:
Unfortunately, I didn't find very much documentation on RTAI. I'm
actually wondering what I need to communicate with the VME bus in
realtime. Can I safely call the Linux drivers functions? Do I need to
use a modified version of the driver? What features in a driver do not
mix with RTAI?
RTAI is a kernel on its own. It has an own scheduler and API to control (eg.
to create threads and allowing them to synchronize with each other).
Therefore an RTAI thread cannot call Linux kernel services.

However, RTAI does share the kernel memory map, so any memory region mapped
by the Linux kernel (or a driver) is also visible to RTAI.

I don't know the VME driver you're about to use, but you should be
able to safely use the VME memory regions it maps.

BTW, you may want to join the RTAI list, where these kinds of
questions are better directed to.

Regards,
Marius

--
Marius Groeger [off-list ref] | Project Manager

SYSGO Real-Time Solutions AG | Embedded and Real-Time Software
Am Pfaffenstein 14 | 55270 Klein-Winternheim, Germany

Voice: +49-6136-9948-0 | FAX: +49-6136-9948-10
www.sysgo.com | www.elinos.com | www.osek.de | www.imerva.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help