SVC is required for Cortex-M3

This commit is contained in:
NIIBE Yutaka
2016-04-07 14:36:41 +09:00
parent 35426d7715
commit 674c19c495
3 changed files with 203 additions and 85 deletions

View File

@@ -1,3 +1,10 @@
2016-04-07 Niibe Yutaka <gniibe@fsij.org>
* chopstx.c (chx_cpu_sched_lock, chx_cpu_sched_unlock): Use SVC
for Cortex-M3, because of ICI/IT of ESPR.
(chx_sched): Invoke svc for Cortex-M3.
(preempt, svc): Change back for Cortex-M3.
2016-04-07 Niibe Yutaka <gniibe@fsij.org>
* entry.c (vector_table): Since IDLE thread runs with PSP now, use