diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-24 16:07:42 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-24 16:07:42 +0000 |
commit | e9274448e9058df5a32e43212ee9858006fe1c4d (patch) | |
tree | 951171f94949354b24f6f243538032fbb8706a5e /ports/AVR | |
parent | d425f2ec12b111f01dfe854c638c18da2a279881 (diff) | |
download | ChibiOS-e9274448e9058df5a32e43212ee9858006fe1c4d.tar.gz ChibiOS-e9274448e9058df5a32e43212ee9858006fe1c4d.tar.bz2 ChibiOS-e9274448e9058df5a32e43212ee9858006fe1c4d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@802 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/AVR')
-rw-r--r-- | ports/AVR/chcore.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h index 1bb142b55..30eb905fc 100644 --- a/ports/AVR/chcore.h +++ b/ports/AVR/chcore.h @@ -175,16 +175,16 @@ struct context { * This code tricks the compiler to save all the specified registers by
* "touching" them. */
-#define PORT_IRQ_PROLOGUE() { \
-asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \
- "r25", "r26", "r27", "r30", "r31"); \
+#define PORT_IRQ_PROLOGUE() { \
+ asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \
+ "r25", "r26", "r27", "r30", "r31"); \
}
/**
* IRQ epilogue code, inserted at the end of all IRQ handlers enabled to
* invoke system APIs.
*/
-#define PORT_IRQ_EPILOGUE() { \
+#define PORT_IRQ_EPILOGUE() { \
if (chSchRescRequiredI()) \
chSchDoRescheduleI(); \
}
@@ -240,7 +240,7 @@ asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \ * This port function is implemented as inlined code for performance reasons.
*/
#if ENABLE_WFI_IDLE != 0
-#define port_wait_for_interrupt() { \
+#define port_wait_for_interrupt() { \
asm volatile ("sleep"); \
}
#else
|