[PATCH 2/3 v2] LEON3 SMP: support static interrupt affinity

2014-10-08 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/leon3/include/bsp.h | 11 +++ c/src/lib/libbsp/sparc/shared/irq/irq-shared.c | 38 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/include/bsp.h b/c/src/lib/libbsp/sparc/leon3/include/bsp.

Re: [PATCH 2/3 v2] LEON3 SMP: support static interrupt affinity

2014-10-09 Thread Sebastian Huber
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

Re: [PATCH 2/3 v2] LEON3 SMP: support static interrupt affinity

2014-10-09 Thread Daniel Hellstrom
On 10/09/2014 11:13 AM, Sebastian Huber wrote: 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

Re: [PATCH 2/3 v2] LEON3 SMP: support static interrupt affinity

2014-10-09 Thread Sebastian Huber
On 09/10/14 11:31, Daniel Hellstrom wrote: On 10/09/2014 11:13 AM, Sebastian Huber wrote: 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

Re: [PATCH 2/3 v2] LEON3 SMP: support static interrupt affinity

2014-10-09 Thread Daniel Hellstrom
On 10/09/2014 11:43 AM, Sebastian Huber wrote: On 09/10/14 11:31, Daniel Hellstrom wrote: On 10/09/2014 11:13 AM, Sebastian Huber wrote: 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 a