Changeset e1b53274 in rtems


Ignore:
Timestamp:
Oct 31, 2013, 2:23:19 PM (6 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
bedfe13
Parents:
ba120d1
git-author:
Daniel Hellstrom <daniel@…> (10/31/13 14:23:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 14:31:06)
Message:

LEON3_MP ISR: shared-IRQ setup overwrite SMP/MP ISR trap handler

Basically the shared-irq handler overwrite the SMP/MP traphandler
previously initialized with set_vector(). That caused IPIs to enter
BSP spurious handler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/irq/irq-shared.c

    rba120d1 re1b53274  
    3333
    3434       for (i=0; i <= BSP_INTERRUPT_VECTOR_MAX_STD; i++) {
     35#if defined(RTEMS_SMP) || defined(RTEMS_MULTIPROCESSING)
     36               /* Don't install IRQ handler on IPI interrupt */
     37               if (i == LEON3_MP_IRQ)
     38                       continue;
     39#endif
    3540               vector = SPARC_ASYNCHRONOUS_TRAP(i) + 0x10;
    3641               rtems_interrupt_catch(BSP_ISR_handler, vector, &previous_isr);
Note: See TracChangeset for help on using the changeset viewer.