Changeset a9e62c2 in rtems


Ignore:
Timestamp:
Dec 8, 2007, 5:26:19 PM (12 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, master
Children:
4be2812f
Parents:
98ff623
Message:

2007-12-08 Till Straumann <strauman@…>

  • ep1a/irq/irq.c, gen5200/irq/irq.c, gen83xx/irq/irq_init.c, mbx8xx/irq/irq.c, mpc8260ads/irq/irq.c, mvme5500/irq/irq.c, psim/irq/no_pic.c, score603e/irq/irq.c, shared/irq/irq_supp.h, shared/irq/openpic_i8259_irq.c, virtex/irq/irq_init.c: let C_dispatch_irq_handler() return zero to indicate to low-level exception handling code that the exception was handled (not used yet).
Location:
c/src/lib/libbsp/powerpc
Files:
11 edited

Legend:

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

    r98ff623 ra9e62c2  
     12007-12-08      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * ep1a/irq/irq.c, gen5200/irq/irq.c, gen83xx/irq/irq_init.c,
     4        mbx8xx/irq/irq.c, mpc8260ads/irq/irq.c, mvme5500/irq/irq.c,
     5        psim/irq/no_pic.c, score603e/irq/irq.c, shared/irq/irq_supp.h,
     6        shared/irq/openpic_i8259_irq.c, virtex/irq/irq_init.c:
     7        let C_dispatch_irq_handler() return zero to indicate to
     8        low-level exception handling code that the exception
     9        was handled (not used yet).
     10
    1112007-12-08      Till Straumann <strauman@slac.stanford.edu>
    212
  • c/src/lib/libbsp/powerpc/ep1a/irq/irq.c

    r98ff623 ra9e62c2  
    453453 * High level IRQ handler called from shared_raw_irq_code_entry
    454454 */
    455 void C_dispatch_irq_handler (struct _BSP_Exception_frame *frame, unsigned int excNum)
     455int C_dispatch_irq_handler (struct _BSP_Exception_frame *frame, unsigned int excNum)
    456456{
    457457  register unsigned int irq;
     
    470470
    471471    _CPU_MSR_SET(msr);
    472     return;
     472    return 0;
    473473   
    474474  }
     
    478478  if (irq == OPENPIC_VEC_SPURIOUS) {
    479479    ++BSP_spuriousIntr;
    480    return;
     480   return 0;
    481481  }
    482482
     
    530530                openpic_eoi(0);
    531531  }
     532  return 0;
    532533}
    533534   
  • c/src/lib/libbsp/powerpc/gen5200/irq/irq.c

    r98ff623 ra9e62c2  
    636636 * High level IRQ handler called from shared_raw_irq_code_entry
    637637 */
    638 void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
     638int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
    639639{
    640640  register unsigned int irq;
     
    653653      rtems_hdl_tbl[BSP_DECREMENTER].hdl(0);
    654654
    655       return;
     655      return 0;
    656656
    657657    case ASM_60X_SYSMGMT_VECTOR:
     
    967967
    968968  } /* end of switch(excNum) */
     969  return 0;
    969970}
    970971
  • c/src/lib/libbsp/powerpc/gen83xx/irq/irq_init.c

    r98ff623 ra9e62c2  
    9090 * High level IRQ handler called from shared_raw_irq_code_entry
    9191 */
    92 void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
     92int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
    9393{
    9494  uint32_t msr_value,new_msr;
     
    117117    break;
    118118  }
     119  return 0;
    119120}
    120121 
  • c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c

    r98ff623 ra9e62c2  
    403403 * High level IRQ handler called from shared_raw_irq_code_entry
    404404 */
    405 void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
     405int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
    406406{
    407407  register unsigned int irq;
     
    424424
    425425    _CPU_MSR_SET(msr);
    426     return;
     426    return 0;
    427427  }
    428428  /*
     
    491491#endif
    492492  }
     493  return 0;
    493494}
    494495
  • c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c

    r98ff623 ra9e62c2  
    423423 * High level IRQ handler called from shared_raw_irq_code_entry
    424424 */
    425 void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
     425int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
    426426{
    427427        register unsigned int irq;
     
    449449                _CPU_MSR_SET(msr);
    450450
    451                 return;
     451                return 0;
    452452        }
    453453
     
    504504#endif
    505505        }
     506        return 0;
    506507}
    507508
  • c/src/lib/libbsp/powerpc/mvme5500/irq/irq.c

    r98ff623 ra9e62c2  
    587587 */
    588588
    589 void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
     589int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
    590590{
    591591  register unsigned msr, new_msr;
     
    603603
    604604    _MSR_SET(msr);
    605     return;
     605    return 0;
    606606   
    607607  }
     
    651651  out_le32((volatile unsigned *)0xf100f10c, oldMask[2]);
    652652  in_le32((volatile unsigned *)0xf100f10c);
     653
     654  return 0;
    653655}
    654656
  • c/src/lib/libbsp/powerpc/psim/irq/no_pic.c

    r98ff623 ra9e62c2  
    2828 * High level IRQ handler called from shared_raw_irq_code_entry
    2929 */
    30 void C_dispatch_irq_handler(
     30int C_dispatch_irq_handler(
    3131  struct _BSP_Exception_frame *frame,
    3232  unsigned int excNum
     
    4444
    4545    _ISR_Set_level(l_orig);
    46     return;
     46    return 0;
    4747  }
     48  return -1; /* unhandled interrupt */
    4849}
    4950
  • c/src/lib/libbsp/powerpc/score603e/irq/irq.c

    r98ff623 ra9e62c2  
    401401 * High level IRQ handler called from shared_raw_irq_code_entry
    402402 */
    403 void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
     403int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
    404404{
    405405  register unsigned int irq;
     
    415415
    416416    _CPU_MSR_SET(msr);
    417     return;
     417    return 0;
    418418
    419419  }
     
    436436  _CPU_MSR_SET(msr);
    437437
     438  return 0;
    438439}
    439440
  • c/src/lib/libbsp/powerpc/shared/irq/openpic_i8259_irq.c

    r98ff623 ra9e62c2  
    214214 * High level IRQ handler called from shared_raw_irq_code_entry
    215215 */
    216 void C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
     216int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
    217217{
    218218  register unsigned int irq;
     
    227227        bsp_irq_dispatch_list(rtems_hdl_tbl, BSP_DECREMENTER, default_rtems_entry.hdl);
    228228
    229     return;
     229    return 0;
    230230
    231231  }
     
    233233  if (irq == OPENPIC_VEC_SPURIOUS) {
    234234    ++BSP_spuriousIntr;
    235     return;
     235    return 0;
    236236  }
    237237
     
    280280                openpic_eoi(0);
    281281  }
    282 }
     282  return 0;
     283}
  • c/src/lib/libbsp/powerpc/virtex/irq/irq_init.c

    r98ff623 ra9e62c2  
    8989 * High level IRQ handler called from shared_raw_irq_code_entry
    9090 */
    91 void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
     91int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
    9292{
    9393
     
    122122#endif
    123123  }
     124  return 0;
    124125}
    125126 
Note: See TracChangeset for help on using the changeset viewer.