On 08/10/14 15:49, Daniel Hellstrom wrote:
+#ifdef RTEMS_SMP +/* Weak table used to implement static interrupt CPU affinity in a SMP + * configuration. The array index is the interrupt to be looked up, and + * the array[INTERRUPT] content is the CPU number relative to boot CPU + * index that will be servicing the interrupts from the IRQ source. The + * default is to let the first CPU (the boot cpu) to handle all + * interrupts (all zeros). + */ +extern unsigned char sparc_irq_to_cpu[32]; +#endif
I am not so fond of adding BSP specific solutions to deal with the interrupt processor affinity.
I would rather enhance the interrupt manager extension API: http://www.rtems.org/wiki/index.php?title=SMP#Interrupt_Support_2 http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__rtems__interrupt__extension.html -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel