Hello.

I had worked in development of an EOAL - event oriented abstract layer  
for access the ISA bus (pc 104).

The main idea is that applications in user space send events to a real 
time module. This real time module will share  resources conected in
a ISA bus controller board  (lcd display, compact keyboard, card readers 
and sensors).

Each event is a operation (outb or inb) and attributes like: timeout, 
persistence, priority and precedence.

The EOAL will suport transactional events (e.g. lcd init sequence), 
priority (e.g. turn off a switch can be more important that scan a 
keyboard) and
now real-time.

The events are send to module EOAL through a share memory region created 
using IPC, and the control access is made using semaphores.

I started the development of EOAL core, schedule algoritms and 
comunications with common IPC and now the real time feature.

All had worked using common linux (kernel 2.4.4), but when I move to 
introduce a real time feature for EOAL, with RTLinux,  I have had 
problems...


I had using linux 2.4.4 patched with rtlinux-3.1 and supposed that:

- the RTlinux implements common IPC for backwards compatibility and 
libc5 compiles only  - So i don't can use the old calls in EOAL module 
or I don't know how. Is possible?

Now I am lost....  I need that EOAL run in real time mode and because of 
this must be a module. In same time, I need that EOAL have acess to IPC 
memory shared and semaphores in common manner, and because of this, it 
don't can be a module.

My question is:

- Is possible access the same semaphores and shared memory  in user and 
kernel space using the IPC calls of libc5 style and with new real time 
IPC?  HOW?


Thanks in advance for any help!

Luciano da Silva Ribas
TWT Embedded
http://www.twtembedded.com.br





_______________________________________________
Rtl mailing list
[EMAIL PROTECTED]
http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl

Reply via email to