Fix MSP initial value and improve chx_sched

This commit is contained in:
NIIBE Yutaka
2016-04-07 09:57:26 +09:00
parent 6db2dd96c5
commit 35426d7715
3 changed files with 30 additions and 20 deletions

View File

@@ -1,3 +1,11 @@
2016-04-07 Niibe Yutaka <gniibe@fsij.org>
* entry.c (vector_table): Since IDLE thread runs with PSP now, use
different value for MSP.
* chopstx.c (chx_sched): Push LR value to PC slot on stack, so
that it returns directly to caller.
2016-04-06 Niibe Yutaka <gniibe@fsij.org>
* chopstx.c (struct chx_pq): New struct for priority queue.