![]() |
RTEMS 6.1-rc1
|
TMS570 interrupt support functions definitions. More...
#include <bsp.h>
#include <bsp/irq-generic.h>
#include <bsp/tms570-vim.h>
#include <bsp/irq.h>
#include <rtems/score/armv4.h>
Variables | |
unsigned int | priorityTable [BSP_INTERRUPT_VECTOR_COUNT] |
TMS570 interrupt support functions definitions.
void bsp_interrupt_dispatch | ( | void | ) |
Interrupt dispatch.
Called by OS to determine which interrupt occured. Function passes control to interrupt handler.
unsigned tms570_irq_get_priority | ( | rtems_vector_number | vector | ) |
Gets priority of the interrupt vector.
This function is here because of compability. It returns priority of the isr vector last set by tms570_irq_set_priority function.
[in] | vector | vector of isr |
0 | vector is invalid. |
priority | priority of the interrupt |
void tms570_irq_set_priority | ( | rtems_vector_number | vector, |
unsigned | priority | ||
) |
Set priority of the interrupt vector.
This function is here because of compability. It should set priority of the interrupt vector.
[in] | vector | vector of isr |
[in] | priority | new priority assigned to the vector |