Sven Heursch wrote:
> 
> Hello,
> 
> is it possible (maybe in further versions of RT-Linux) to define that a
> specific cpu could react on a specific interrupt and run its specific
> interrupt service routine?
> For example cpu 1 will react on interrupts 1 - 7, 9-16 and cpu 2 is only
> interested in the interrupt 8.
> 

Look at the RTAI project, which is close to RT-linux project with
SMP extensions .

http://server.aero.polimi.it/projects/rtai/

I use it on Dual-PIII, and assign tasks to specific processor
and attach irq to specific processor too.
only 2 functions to manage it :

void rt_set_runnable_on_cpus(RT_TASK *task,unsigned int cpu_mask) ;
and
int rt_assign_irq_to_cpu(int irq,int cpu) ;

-> the cpu_mask allow you to set task runnable on CPU #2 & #3 but not on
CPU #1 for exemple.


Good Luck.

--
Kumsta Christophe
<[EMAIL PROTECTED]>
Real-Time System developper
RT-Linux ( Use the Source Luck !)
--- [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