diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-10-02 16:52:18 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-10-02 16:52:18 +0000 |
commit | 1b269aa139ba66288cc2c3f1b463c73821343262 (patch) | |
tree | d69e3b0f8016def9da728232fc82f6297f4f70ed /demos/Win32-MSVS | |
parent | e4e90fae74549139baaf135034b3be2abcf284a6 (diff) | |
download | ChibiOS-1b269aa139ba66288cc2c3f1b463c73821343262.tar.gz ChibiOS-1b269aa139ba66288cc2c3f1b463c73821343262.tar.bz2 ChibiOS-1b269aa139ba66288cc2c3f1b463c73821343262.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@29 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MSVS')
-rw-r--r-- | demos/Win32-MSVS/ch.vcproj | 6 | ||||
-rw-r--r-- | demos/Win32-MSVS/chcore.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/demos/Win32-MSVS/ch.vcproj b/demos/Win32-MSVS/ch.vcproj index b1619033c..185e65dc1 100644 --- a/demos/Win32-MSVS/ch.vcproj +++ b/demos/Win32-MSVS/ch.vcproj @@ -151,6 +151,9 @@ RelativePath="..\..\src\chinit.c">
</File>
<File
+ RelativePath="..\..\src\chlists.c">
+ </File>
+ <File
RelativePath="..\..\src\chmsg.c">
</File>
<File
@@ -206,6 +209,9 @@ RelativePath="..\..\src\include\events.h">
</File>
<File
+ RelativePath="..\..\src\include\lists.h">
+ </File>
+ <File
RelativePath="..\..\src\include\messages.h">
</File>
<File
diff --git a/demos/Win32-MSVS/chcore.h b/demos/Win32-MSVS/chcore.h index 487dd175a..26e0b66bf 100644 --- a/demos/Win32-MSVS/chcore.h +++ b/demos/Win32-MSVS/chcore.h @@ -63,7 +63,7 @@ typedef struct { #define INT_REQUIRED_STACK 0x0
-#define UserStackSize(n) (sizeof(Thread) + sizeof(PTR_EQ) + sizeof(PTR_EQ) + \
+#define UserStackSize(n) (sizeof(Thread) + sizeof(void *)*2 + \
sizeof(struct stackregs) + (n) + (INT_REQUIRED_STACK))
void __fastcall chSysHalt(void);
|