Changeset a791d39 in rtems


Ignore:
Timestamp:
Aug 19, 2013, 12:18:25 PM (6 years ago)
Author:
Pavel Pisa <ppisa@…>
Branches:
4.10
Children:
356b8c7b
Parents:
4eeddef
git-author:
Pavel Pisa <ppisa@…> (08/19/13 12:18:25)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/19/13 12:25:18)
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

    r4eeddef ra791d39  
    3030rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
    3131{
     32  if (vector >= MC9328MXL_NUM_INTS)
     33     return RTEMS_INVALID_ID;
     34
     35  MC9328MXL_AITC_INTENNUM = vector;
     36
    3237  return RTEMS_SUCCESSFUL;
    3338}
     
    3540rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
    3641{
     42  if (vector >= MC9328MXL_NUM_INTS)
     43     return RTEMS_INVALID_ID;
     44
     45  MC9328MXL_AITC_INTDISNUM = vector;
     46
    3747  return RTEMS_SUCCESSFUL;
    3848}
Note: See TracChangeset for help on using the changeset viewer.