summaryrefslogtreecommitdiff
path: root/chopstx.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2013-11-08 11:37:53 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2013-11-08 11:37:53 +0900
commit21c3f461c56832329a4968103c060ffc22545e96 (patch)
treedb7bbbffcd56eef4c680ace4bcbd6c20b77e77ab /chopstx.c
parente957d1aff84b2d7020dd6ad453363da4ffdd5983 (diff)
Version 0.02release/0.02
Diffstat (limited to 'chopstx.c')
-rw-r--r--chopstx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/chopstx.c b/chopstx.c
index ad5b97f..231644c 100644
--- a/chopstx.c
+++ b/chopstx.c
@@ -54,9 +54,8 @@
* Prio 0x30: svc
* ---------------------
* Prio 0x40: thread temporarily inhibiting schedule for critical region
- * Prio 0x50: systick
* ...
- * Prio 0xb0: external interrupt
+ * Prio 0xb0: systick, external interrupt
* Prio 0xc0: pendsv
*/
@@ -65,8 +64,8 @@
#define CPU_EXCEPTION_PRIORITY_SVC 0x30
#define CPU_EXCEPTION_PRIORITY_INHIBIT_SCHED 0x40
-#define CPU_EXCEPTION_PRIORITY_SYSTICK 0x50
/* ... */
+#define CPU_EXCEPTION_PRIORITY_SYSTICK CPU_EXCEPTION_PRIORITY_INTERRUPT
#define CPU_EXCEPTION_PRIORITY_INTERRUPT 0xb0
#define CPU_EXCEPTION_PRIORITY_PENDSV 0xc0