Changeset 581a89ed in rtems


Ignore:
Timestamp:
Jul 8, 2003, 4:09:24 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
6a8bab6
Parents:
b7d37d6e
Message:

2003-07-08 Joel Sherrill <joel@…>

PR 416/bsps

  • ppc403/ictrl/ictrl.c (ictrl_isr): We acknolwegde the interrupt in interrupt controller (clr_exisr(mask)) before calling the interrupt handler that will acnowledge the interrupt source. This results in the interrupt beeing seen a second time by the interrupt controller. Reported and fixed by El Kolli Yacine <yacine.elkolli@…>.
Location:
c/src/lib/libcpu/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    rb7d37d6e r581a89ed  
     12003-07-08      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 416/bsps
     4        * ppc403/ictrl/ictrl.c (ictrl_isr): We acknolwegde the interrupt in
     5        interrupt controller (clr_exisr(mask)) before calling the interrupt
     6        handler that will acnowledge the interrupt source. This results in
     7        the interrupt beeing seen a second time by the interrupt controller.
     8        Reported and fixed by El Kolli Yacine <yacine.elkolli@crf.canon.fr>.
     9
    1102003-03-25      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
    211
  • c/src/lib/libcpu/powerpc/ppc403/ictrl/ictrl.c

    rb7d37d6e r581a89ed  
    196196    mask = VEC_TO_EXMSK(exvec);
    197197    if (0 != (istat & mask)) {
    198       clr_exisr(mask);
     198      /*clr_exisr(mask); too early to ack*/
    199199      handler = ictrl_vector_table[exvec];
    200200      if (handler) {
     
    203203        (handler)(global_vec);
    204204      }
     205      clr_exisr(mask);/* now we can ack*/
    205206    }
    206207  }
Note: See TracChangeset for help on using the changeset viewer.