diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-24 17:59:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-24 17:59:51 +0000 |
commit | 8fa109243e5d626a941db8e7d6dc30bb64f9bc9f (patch) | |
tree | ac92dda23f29f7f49078904b111e2c2679347a1b /demos | |
parent | f29ada23c52c611b840cd7321fe52e1aa18f5ce9 (diff) | |
download | ChibiOS-8fa109243e5d626a941db8e7d6dc30bb64f9bc9f.tar.gz ChibiOS-8fa109243e5d626a941db8e7d6dc30bb64f9bc9f.tar.bz2 ChibiOS-8fa109243e5d626a941db8e7d6dc30bb64f9bc9f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@675 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/board.c | 4 | ||||
-rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/board.c | 4 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-G++/board.c | 4 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/board.c | 4 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC/board.c | 4 | ||||
-rw-r--r-- | demos/AVR-AT90CANx-GCC/board.c | 4 | ||||
-rw-r--r-- | demos/AVR-ATmega128-GCC/board.c | 4 | ||||
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/board.c | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/board.c b/demos/ARM7-AT91SAM7X-GCC/board.c index 754b0b366..d0793ef4d 100644 --- a/demos/ARM7-AT91SAM7X-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-GCC/board.c @@ -44,9 +44,9 @@ static CH_IRQ_HANDLER(SYSIrqHandler) { if (AT91C_BASE_PITC->PITC_PISR & AT91C_PITC_PITS) {
(void) AT91C_BASE_PITC->PITC_PIVR;
- chSysLockI();
+ chSysLockFromIsr();
chSysTimerHandlerI();
- chSysUnlockI();
+ chSysUnlockFromIsr();
}
AT91C_BASE_AIC->AIC_EOICR = 0;
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/board.c b/demos/ARM7-AT91SAM7X-WEB-GCC/board.c index 38c91d9fa..bf5990b0d 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/board.c @@ -45,9 +45,9 @@ static CH_IRQ_HANDLER(SYSIrqHandler) { if (AT91C_BASE_PITC->PITC_PISR & AT91C_PITC_PITS) {
(void) AT91C_BASE_PITC->PITC_PIVR;
- chSysLockI();
+ chSysLockFromIsr();
chSysTimerHandlerI();
- chSysUnlockI();
+ chSysUnlockFromIsr();
}
AT91C_BASE_AIC->AIC_EOICR = 0;
diff --git a/demos/ARM7-LPC214x-G++/board.c b/demos/ARM7-LPC214x-G++/board.c index f6792851a..2bced8d70 100644 --- a/demos/ARM7-LPC214x-G++/board.c +++ b/demos/ARM7-LPC214x-G++/board.c @@ -49,9 +49,9 @@ static CH_IRQ_HANDLER(T0IrqHandler) { CH_IRQ_PROLOGUE();
T0IR = 1; /* Clear interrupt on match MR0. */
- chSysLockI();
+ chSysLockFromIsr();
chSysTimerHandlerI();
- chSysUnlockI();
+ chSysUnlockFromIsr();
VICVectAddr = 0;
CH_IRQ_EPILOGUE();
diff --git a/demos/ARM7-LPC214x-GCC-minimal/board.c b/demos/ARM7-LPC214x-GCC-minimal/board.c index 4ccb5e78c..b234cb7a1 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/board.c +++ b/demos/ARM7-LPC214x-GCC-minimal/board.c @@ -49,9 +49,9 @@ static CH_IRQ_HANDLER(T0IrqHandler) { CH_IRQ_PROLOGUE();
T0IR = 1; /* Clear interrupt on match MR0. */
- chSysLockI();
+ chSysLockFromIsr();
chSysTimerHandlerI();
- chSysUnlockI();
+ chSysUnlockFromIsr();
VICVectAddr = 0;
CH_IRQ_EPILOGUE();
diff --git a/demos/ARM7-LPC214x-GCC/board.c b/demos/ARM7-LPC214x-GCC/board.c index 3de7f82ba..8e0bcfb34 100644 --- a/demos/ARM7-LPC214x-GCC/board.c +++ b/demos/ARM7-LPC214x-GCC/board.c @@ -49,9 +49,9 @@ static CH_IRQ_HANDLER(T0IrqHandler) { CH_IRQ_PROLOGUE();
T0IR = 1; /* Clear interrupt on match MR0. */
- chSysLockI();
+ chSysLockFromIsr();
chSysTimerHandlerI();
- chSysUnlockI();
+ chSysUnlockFromIsr();
VICVectAddr = 0;
CH_IRQ_EPILOGUE();
diff --git a/demos/AVR-AT90CANx-GCC/board.c b/demos/AVR-AT90CANx-GCC/board.c index cf97132cf..96b6c7e53 100644 --- a/demos/AVR-AT90CANx-GCC/board.c +++ b/demos/AVR-AT90CANx-GCC/board.c @@ -26,9 +26,9 @@ CH_IRQ_HANDLER(TIMER0_COMP_vect) { CH_IRQ_PROLOGUE();
- chSysLockI();
+ chSysLockFromIsr();
chSysTimerHandlerI();
- chSysUnlockI();
+ chSysUnlockFromIsr();
CH_IRQ_EPILOGUE();
}
diff --git a/demos/AVR-ATmega128-GCC/board.c b/demos/AVR-ATmega128-GCC/board.c index 0e40c20f4..0a6201eed 100644 --- a/demos/AVR-ATmega128-GCC/board.c +++ b/demos/AVR-ATmega128-GCC/board.c @@ -26,9 +26,9 @@ CH_IRQ_HANDLER(TIMER0_COMP_vect) { CH_IRQ_PROLOGUE();
- chSysLockI();
+ chSysLockFromIsr();
chSysTimerHandlerI();
- chSysUnlockI();
+ chSysUnlockFromIsr();
CH_IRQ_EPILOGUE();
}
diff --git a/demos/MSP430-MSP430x1611-GCC/board.c b/demos/MSP430-MSP430x1611-GCC/board.c index c10e73172..866ff8adf 100644 --- a/demos/MSP430-MSP430x1611-GCC/board.c +++ b/demos/MSP430-MSP430x1611-GCC/board.c @@ -89,9 +89,9 @@ CH_IRQ_HANDLER(TIMERA0_VECTOR) { CH_IRQ_PROLOGUE();
- chSysLockI();
+ chSysLockFromIsr();
chSysTimerHandlerI();
- chSysUnlockI();
+ chSysUnlockFromIsr();
CH_IRQ_EPILOGUE();
}
|