Commit 70e1df6
Remove sched_elect() in serialchar_callback()
Early triggering scheduler results in failure of
unstacking in exception return.
Unexpected exception return increases the probability
of occurrence of faults, such as INVPC, INVSTATE. In
this situation, we can't make sure that it wouldn't
cause faults or invalid interrupt raising due to
unfinished interrupt handling.
For example, if a context switch is done inside the irq,
it will make v7m-head.S `pop {pc}` to a undefined place.
Closed: #121 parent 746cfb3 commit 70e1df6
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
0 commit comments