dm36x: Support passing interrupt vector to ISRs.

This commit is contained in:
Kelvin Lawson
2014-05-31 23:45:14 +01:00
parent f9355b7fb8
commit b645f28985
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ static ISR_FUNC isr_handlers[DM36X_INTC_MAX_VEC + 1] =
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
atomTimerTick, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
(void *)atomTimerTick, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
@@ -276,7 +276,7 @@ __interrupt_dispatcher (void)
atomIntEnter();
/* Call the registered ISR */
isr_handlers[vector]();
isr_handlers[vector](vector);
/* Call the interrupt exit routine */
atomIntExit(TRUE);