projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
at91sam7x: force inlining of all the UART ISR functions.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
drv
/
timer_lm3s.h
diff --git
a/bertos/cpu/cortex-m3/drv/timer_lm3s.h
b/bertos/cpu/cortex-m3/drv/timer_lm3s.h
index e14cf3907fab0e871ee43e681058de00ef0db6d3..00c532f206ec49345361a15cbb2e4b7b5d75f4a8 100644
(file)
--- a/
bertos/cpu/cortex-m3/drv/timer_lm3s.h
+++ b/
bertos/cpu/cortex-m3/drv/timer_lm3s.h
@@
-30,7
+30,7
@@
*
* -->
*
*
* -->
*
- * \brief Low-level timer driver for LM3S1968.
+ * \brief Low-level timer driver
(SysTick)
for LM3S1968.
*
* \author Andrea Righi <arighi@develer.com>
*/
*
* \author Andrea Righi <arighi@develer.com>
*/
@@
-54,8
+54,8
@@
typedef uint32_t hptime_t;
#define SIZEOF_HPTIME_T 4
/* Timer ISR prototype */
#define SIZEOF_HPTIME_T 4
/* Timer ISR prototype */
-#define DEFINE_TIMER_ISR void timer_handler(void); \
-
void timer_handler(void
)
+ISR_PROTO_CONTEXT_SWITCH(timer_handler);
+
#define DEFINE_TIMER_ISR DECLARE_ISR_CONTEXT_SWITCH(timer_handler
)
INLINE void timer_hw_irq(void)
{
INLINE void timer_hw_irq(void)
{