diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-11 10:28:46 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-11 10:28:46 +0000 |
commit | ce006bda5a48116c5a6a9b3bf6cd6c3e60f4a5fc (patch) | |
tree | e07f3f3ee70e4f45ca5f9a85a9559932ecd4a72a /ports | |
parent | 122015057a398b5132960577ac7ba4e7c1cb5b88 (diff) | |
download | ChibiOS-ce006bda5a48116c5a6a9b3bf6cd6c3e60f4a5fc.tar.gz ChibiOS-ce006bda5a48116c5a6a9b3bf6cd6c3e60f4a5fc.tar.bz2 ChibiOS-ce006bda5a48116c5a6a9b3bf6cd6c3e60f4a5fc.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@617 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ARM7/chcore.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ports/ARM7/chcore.h b/ports/ARM7/chcore.h index a446fdb7e..ed994ac10 100644 --- a/ports/ARM7/chcore.h +++ b/ports/ARM7/chcore.h @@ -142,7 +142,11 @@ typedef struct { * IRQ prologue code, inserted at the start of all IRQ handlers enabled to
* invoke system APIs.
* @note This macro has a different implementation depending if compiled in
- * ARM or THUMB mode. + * ARM or THUMB mode.
+ * @note The THUMB implementation starts with ARM code because interrupt
+ * vectors are always invoked in ARM mode regardless the bit 0
+ * value. The switch in THUMB mode is done in the function prologue so
+ * it is transparent to the user code. */
#ifdef THUMB
#define SYS_IRQ_PROLOGUE() { \
|