aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MinGW/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-22 15:24:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-22 15:24:50 +0000
commit97bf45204321755cf2e78a7cc7ff616edaec59c4 (patch)
tree12d06ab98ac32707ddb3ee228c4ed7f9e2870b1e /demos/Win32-MinGW/chcore.h
parent080fb7d084f878e792563a60a255b5fc993ae0ba (diff)
downloadChibiOS-97bf45204321755cf2e78a7cc7ff616edaec59c4.tar.gz
ChibiOS-97bf45204321755cf2e78a7cc7ff616edaec59c4.tar.bz2
ChibiOS-97bf45204321755cf2e78a7cc7ff616edaec59c4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@105 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MinGW/chcore.h')
-rw-r--r--demos/Win32-MinGW/chcore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/Win32-MinGW/chcore.h b/demos/Win32-MinGW/chcore.h
index a28aa2833..c79b9bf81 100644
--- a/demos/Win32-MinGW/chcore.h
+++ b/demos/Win32-MinGW/chcore.h
@@ -65,6 +65,8 @@ typedef struct {
#define UserStackSize(n) (sizeof(Thread) + sizeof(void *) * 2 + \
sizeof(struct stackregs) + (n) + (INT_REQUIRED_STACK))
+#define WorkingArea(s, n) ULONG32 s[UserStackSize(n) >> 2];
+
#define IDLE_THREAD_STACK_SIZE 16384
t_msg _IdleThread(void *p);