Ignore:
Timestamp:
Jun 19, 2017, 12:09:28 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ae3e6af8
Parents:
b361cb6c
git-author:
Sebastian Huber <sebastian.huber@…> (06/19/17 12:09:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/20/17 05:42:25)
Message:

bsps: Improve interrupt vector enable/disable API

Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable()
to not return a status code. Add bsp_interrupt_assert() and use it to
validate the vector number in the vector enable/disable implementations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c

    rb361cb6c rc6810c8  
    174174}
    175175
    176 static int BSP_uart_isOn(const rtems_raw_irq_connect_data* used)
    177 {
    178   return bsp_interrupt_vector_enable(used->idtIndex - BSP_IRQ_VECTOR_BASE);
    179 }
    180 
    181176/*
    182177 * In order to have a possibility to break into
     
    211206    uart_raw_irq_data.on  = BSP_uart_on;
    212207    uart_raw_irq_data.off = BSP_uart_off;
    213     uart_raw_irq_data.isOn= BSP_uart_isOn;
    214208
    215209    /* Install ISR  */
Note: See TracChangeset for help on using the changeset viewer.