mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-20 20:17:29 +08:00
修改了上下文切换退出时的bug,该bug会导致中断被提前打开造成死锁
This commit is contained in:
parent
2c55f11b67
commit
80a4912baf
@ -175,7 +175,7 @@ rt_hw_context_switch_exit:
|
||||
LOAD x1, 1 * REGBYTES(sp)
|
||||
|
||||
li t0, 0x00001800
|
||||
csrs mstatus, t0
|
||||
csrw mstatus, t0
|
||||
LOAD a0, 2 * REGBYTES(sp)
|
||||
csrs mstatus, a0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user