diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-02-16 19:21:42 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-02-16 19:21:42 +0000 |
commit | 0c85d7906646524a75121867ba02dd1bb809cd21 (patch) | |
tree | e47f6a218a4ebc0eef1fe9d60e7eadf4ef9ab6ff /os/ports | |
parent | b8e3f8794e1d3437ceb0b5a10226887b391e0c7b (diff) | |
download | ChibiOS-0c85d7906646524a75121867ba02dd1bb809cd21.tar.gz ChibiOS-0c85d7906646524a75121867ba02dd1bb809cd21.tar.bz2 ChibiOS-0c85d7906646524a75121867ba02dd1bb809cd21.zip |
Tentative fix for bug 2952961.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1619 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports')
-rw-r--r-- | os/ports/GCC/SIMIA32/chcore.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/os/ports/GCC/SIMIA32/chcore.h b/os/ports/GCC/SIMIA32/chcore.h index a0e26bf29..114e9ef43 100644 --- a/os/ports/GCC/SIMIA32/chcore.h +++ b/os/ports/GCC/SIMIA32/chcore.h @@ -36,9 +36,11 @@ #define CH_ARCHITECTURE_NAME "x86 Simulator"
/**
- * 32 bit stack alignment.
+ * 16 bytes stack alignment.
*/
-typedef uint32_t stkalign_t;
+typedef struct {
+ uint8_t a[16];
+} stkalign_t __attribute__((aligned(16)));
/**
* Generic x86 register. |