Hi,

I'm trying to catch interruptions with rtai and forcing the linux
interrupt handler, but I don't know how to do it correctly.  In fact, I
want to use different drivers with my rt_process and to make them
realtime without changing their code.  There is a example of what I want
to do :

void handler(int irq)
{
        ... forcing linux interrupt handler
        ... doing my own work
}

int init_module()
{
        ...
    rt_request_global_irq(IRQ, (void*)handler);
    rt_startup_irq(IRQ);
        ...
}

When I try something, linux stops or the computer restarts when the
interrupt occurs ; it depends of the rt fonctions I use in my handler. 
Do someone know how to do it?

Thanks in  advance,

Pascal Charest
-- [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/

Reply via email to