aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MSVS
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-02 16:52:18 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-02 16:52:18 +0000
commit1b269aa139ba66288cc2c3f1b463c73821343262 (patch)
treed69e3b0f8016def9da728232fc82f6297f4f70ed /demos/Win32-MSVS
parente4e90fae74549139baaf135034b3be2abcf284a6 (diff)
downloadChibiOS-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.vcproj6
-rw-r--r--demos/Win32-MSVS/chcore.h2
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);