aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MinGW/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 09:35:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 09:35:58 +0000
commit49fe48fd7a816f46eb50a52342d14173ffbd0c1e (patch)
tree8a19c6499fcf418ec461b8950d7acb5019f4216e /demos/Win32-MinGW/chcore.h
parented0322b9cb4234fdb4c230eee41a1449ae0479cb (diff)
downloadChibiOS-49fe48fd7a816f46eb50a52342d14173ffbd0c1e.tar.gz
ChibiOS-49fe48fd7a816f46eb50a52342d14173ffbd0c1e.tar.bz2
ChibiOS-49fe48fd7a816f46eb50a52342d14173ffbd0c1e.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@601 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MinGW/chcore.h')
-rw-r--r--demos/Win32-MinGW/chcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/Win32-MinGW/chcore.h b/demos/Win32-MinGW/chcore.h
index 6c9bf1f7e..2a9fe7de8 100644
--- a/demos/Win32-MinGW/chcore.h
+++ b/demos/Win32-MinGW/chcore.h
@@ -66,7 +66,7 @@ struct intctx {
* pointer to a @p intctx structure.
*/
typedef struct {
- struct intctx *esp;
+ struct intctx volatile *esp;
} Context;
#define APUSH(p, a) (p) -= sizeof(void *), *(void **)(p) = (void*)(a)