diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-07 14:07:06 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-07 14:07:06 +0000 |
commit | 9faa84cac88d424785c1fb215658231fbcc9812d (patch) | |
tree | c67a4b92049a49eede01304ebc67b71a94ae4047 /os/kernel/ports | |
parent | 68ea680d84c9de5f17618321a8360dab67203677 (diff) | |
download | ChibiOS-9faa84cac88d424785c1fb215658231fbcc9812d.tar.gz ChibiOS-9faa84cac88d424785c1fb215658231fbcc9812d.tar.bz2 ChibiOS-9faa84cac88d424785c1fb215658231fbcc9812d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6099 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/ports')
-rw-r--r-- | os/kernel/ports/ARMCMx/chcore.h | 2 | ||||
-rw-r--r-- | os/kernel/ports/ARMCMx/chcore_v7m.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/ports/ARMCMx/chcore.h b/os/kernel/ports/ARMCMx/chcore.h index 62363f3fc..84de8c382 100644 --- a/os/kernel/ports/ARMCMx/chcore.h +++ b/os/kernel/ports/ARMCMx/chcore.h @@ -166,7 +166,7 @@ struct intctx {}; /**
* @brief Priority level to priority mask conversion macro.
*/
-#define CORTEX_PRIORITY_MASK(n) \
+#define CORTEX_PRIO_MASK(n) \
((n) << (8 - CORTEX_PRIORITY_BITS))
/*===========================================================================*/
diff --git a/os/kernel/ports/ARMCMx/chcore_v7m.h b/os/kernel/ports/ARMCMx/chcore_v7m.h index cdb393fd4..cf1f04d08 100644 --- a/os/kernel/ports/ARMCMx/chcore_v7m.h +++ b/os/kernel/ports/ARMCMx/chcore_v7m.h @@ -197,7 +197,7 @@ * @note In compact kernel mode this constant value is enforced to zero.
*/
#define CORTEX_BASEPRI_KERNEL \
- CORTEX_PRIORITY_MASK(CORTEX_MAX_KERNEL_PRIORITY)
+ CORTEX_PRIO_MASK(CORTEX_MAX_KERNEL_PRIORITY)
#else
#define CORTEX_MAX_KERNEL_PRIORITY 1
|