aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARMCM3
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-06 09:32:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-06 09:32:35 +0000
commit9f6887fdd7c0abe03144f29d9585ee71c645c8dc (patch)
treece31ae2127becc36ddd64b6577e8e83a06f49405 /ports/ARMCM3
parentfee14cb4ce565ed6c47c675a14cfb9480cb52886 (diff)
downloadChibiOS-9f6887fdd7c0abe03144f29d9585ee71c645c8dc.tar.gz
ChibiOS-9f6887fdd7c0abe03144f29d9585ee71c645c8dc.tar.bz2
ChibiOS-9f6887fdd7c0abe03144f29d9585ee71c645c8dc.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@588 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARMCM3')
-rw-r--r--ports/ARMCM3/chcore.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ports/ARMCM3/chcore.h b/ports/ARMCM3/chcore.h
index cdd4a0625..36ee1f93b 100644
--- a/ports/ARMCM3/chcore.h
+++ b/ports/ARMCM3/chcore.h
@@ -135,10 +135,10 @@ typedef struct {
/**
* Computes the thread working area global size.
*/
-#define THD_WA_SIZE(n) StackAlign(sizeof(Thread) + \
- sizeof(struct intctx) + \
- sizeof(struct extctx) + \
- (n) + (INT_REQUIRED_STACK))
+#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
+ sizeof(struct intctx) + \
+ sizeof(struct extctx) + \
+ (n) + (INT_REQUIRED_STACK))
/**
* Macro used to allocate a thread working area aligned as both position and
@@ -209,6 +209,7 @@ extern "C" {
#endif
void sys_puts(char *msg);
void sys_halt(void);
+ void threadstart(void);
#ifdef __cplusplus
}
#endif