aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARMCM3-STM32F103
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 16:21:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 16:21:27 +0000
commite2b6b440e12562804f161d8db677554bbd666bd1 (patch)
tree71ceaeec75f2ecf2d1ab601414cb4190f3f44ca0 /ports/ARMCM3-STM32F103
parentb7eba42be8e04a6a9cbade60d5ae0190fd34efae (diff)
downloadChibiOS-e2b6b440e12562804f161d8db677554bbd666bd1.tar.gz
ChibiOS-e2b6b440e12562804f161d8db677554bbd666bd1.tar.bz2
ChibiOS-e2b6b440e12562804f161d8db677554bbd666bd1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@612 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARMCM3-STM32F103')
-rw-r--r--ports/ARMCM3-STM32F103/stm32_serial.c24
1 files changed, 15 insertions, 9 deletions
diff --git a/ports/ARMCM3-STM32F103/stm32_serial.c b/ports/ARMCM3-STM32F103/stm32_serial.c
index 015084488..c17d7a56c 100644
--- a/ports/ARMCM3-STM32F103/stm32_serial.c
+++ b/ports/ARMCM3-STM32F103/stm32_serial.c
@@ -85,11 +85,13 @@ static void ServeInterrupt(USART_TypeDef *u, FullDuplexDriver *com) {
/*
* USART1 IRQ service routine.
*/
-SYS_IRQ_HANDLER void VectorD4(void) {
+CH_IRQ_HANDLER void VectorD4(void) {
+
+ CH_IRQ_PROLOGUE();
- chSysIRQEnterI();
ServeInterrupt(USART1, &COM1);
- chSysIRQExitI();
+
+ CH_IRQ_EPILOGUE();
}
/*
@@ -106,11 +108,13 @@ static void OutNotify1(void) {
/*
* USART2 IRQ service routine.
*/
-SYS_IRQ_HANDLER void VectorD8(void) {
+CH_IRQ_HANDLER void VectorD8(void) {
+
+ CH_IRQ_PROLOGUE();
- chSysIRQEnterI();
ServeInterrupt(USART2, &COM2);
- chSysIRQExitI();
+
+ CH_IRQ_EPILOGUE();
}
/*
@@ -127,11 +131,13 @@ static void OutNotify2(void) {
/*
* USART3 IRQ service routine.
*/
-SYS_IRQ_HANDLER void VectorDC(void) {
+CH_IRQ_HANDLER void VectorDC(void) {
+
+ CH_IRQ_PROLOGUE();
- chSysIRQEnterI();
ServeInterrupt(USART3, &COM3);
- chSysIRQExitI();
+
+ CH_IRQ_EPILOGUE();
}
/*