Fix the previous commit.

Handle the case when multiple interrupts are active simultaneously.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka
2021-02-05 09:38:38 +09:00
parent 8b6c1ebd24
commit 7035103a49
2 changed files with 29 additions and 29 deletions

View File

@@ -1,3 +1,9 @@
2021-02-05 NIIBE Yutaka <gniibe@fsij.org>
* chopstx-cortex-m.c (chx_request_preemption_possibly): New.
(chx_timer_handler, chx_handle_intr): Use the new function.
[__ARM_ARCH_6M__] (preempt): Clear PREEMPTING.
2021-02-04 NIIBE Yutaka <gniibe@fsij.org>
* chopstx-cortex-m.c [__ARM_ARCH_6M__] (preempting): New value to