aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARM7
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-29 10:55:24 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-29 10:55:24 +0000
commit1e6c6670d20e415d87ec15fa46c801f442e573a6 (patch)
tree0fedca2909d3c208b52396c444331d50b87aa926 /ports/ARM7
parent27509eaf32506afa5964a6abf3cf211092a1a023 (diff)
downloadChibiOS-1e6c6670d20e415d87ec15fa46c801f442e573a6.tar.gz
ChibiOS-1e6c6670d20e415d87ec15fa46c801f442e573a6.tar.bz2
ChibiOS-1e6c6670d20e415d87ec15fa46c801f442e573a6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@555 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARM7')
-rw-r--r--ports/ARM7/chcore.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/ARM7/chcore.h b/ports/ARM7/chcore.h
index 1c90eff99..b1f5505d3 100644
--- a/ports/ARM7/chcore.h
+++ b/ports/ARM7/chcore.h
@@ -119,11 +119,13 @@ extern "C" {
#endif /* !REENTRANT_LOCKS */
#endif /* THUMB */
+#ifndef INT_REQUIRED_STACK
#ifdef THUMB
#define INT_REQUIRED_STACK 0x10
#else /* !THUMB */
-#define INT_REQUIRED_STACK 0
+#define INT_REQUIRED_STACK 0x10
#endif /* !THUMB */
+#endif
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)