Now, it works with svc holding lock.

This commit is contained in:
NIIBE Yutaka
2013-06-04 10:20:53 +09:00
parent ca47da23f1
commit 7a09ac9a10
4 changed files with 75 additions and 46 deletions

View File

@@ -1,3 +1,12 @@
2013-06-04 Niibe Yutaka <gniibe@fsij.org>
* chopstx.c (AIRCR): New.
(chx_init): Setting for PRIGROUP 2-bit:2-bit.
(sched): Unlock cpu_sched_lock on return to thread.
(preempt, chx_timer_expired, chx_handle_intr): Those can be
considered holding cpu_sched_lock (by its equal exception
priorities), thus no acquiring lock required.
2013-06-03 Niibe Yutaka <gniibe@fsij.org>
* chopstx.c (chx_spin_lock, chx_spin_unlock): Rename.