diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-29 14:17:19 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-29 14:17:19 +0000 |
commit | dab1cdc3618aab000313ede3412a7b43c1aa2473 (patch) | |
tree | f72e4e009dd82706084375d69e99c1fb701fdad0 /ports | |
parent | 21c82221ac2b03ff34f3e9aa0e6f2412d0cd9fe2 (diff) | |
download | ChibiOS-dab1cdc3618aab000313ede3412a7b43c1aa2473.tar.gz ChibiOS-dab1cdc3618aab000313ede3412a7b43c1aa2473.tar.bz2 ChibiOS-dab1cdc3618aab000313ede3412a7b43c1aa2473.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@527 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/MSP430/chcore.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h index 4333ca841..5246b2621 100644 --- a/ports/MSP430/chcore.h +++ b/ports/MSP430/chcore.h @@ -84,17 +84,17 @@ typedef struct { #define INT_REQUIRED_STACK 32
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
-//#define StackAlign(n) STACK_ALIGN(n)
+#define StackAlign(n) STACK_ALIGN(n)
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
sizeof(struct intctx) + \
sizeof(struct extctx) + \
(n) + \
INT_REQUIRED_STACK)
-//#define UserStackSize(n) THD_WA_SIZE(n)
+#define UserStackSize(n) THD_WA_SIZE(n)
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
-//#define WorkingArea(s, n) WORKING_AREA(s, n)
+#define WorkingArea(s, n) WORKING_AREA(s, n)
#define chSysLock() asm volatile ("dint")
#define chSysUnlock() asm volatile ("eint")
|