Changeset 98bcf4ff in rtems


Ignore:
Timestamp:
Aug 8, 2013, 11:23:14 PM (7 years ago)
Author:
Pavel Pisa <ppisa@…>
Branches:
4.11, 5, master
Children:
efdda565
Parents:
e4b16ea9
git-author:
Pavel Pisa <ppisa@…> (08/08/13 23:23:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/09/13 07:01:51)
Message:

bsp/csb336: implement bsp_interrupt_vector_enable/disable.

Signed-off-by: Pavel Pisa <ppisa@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/mc9328mxl/irq/irq.c

    re4b16ea9 r98bcf4ff  
    2929rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
    3030{
     31  if (vector >= MC9328MXL_NUM_INTS)
     32     return RTEMS_INVALID_ID;
     33
     34  MC9328MXL_AITC_INTENNUM = vector;
     35
    3136  return RTEMS_SUCCESSFUL;
    3237}
     
    3439rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
    3540{
     41  if (vector >= MC9328MXL_NUM_INTS)
     42     return RTEMS_INVALID_ID;
     43
     44  MC9328MXL_AITC_INTDISNUM = vector;
     45
    3646  return RTEMS_SUCCESSFUL;
    3747}
Note: See TracChangeset for help on using the changeset viewer.