mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 17:16:29 +08:00
fix(freertos): fix watch point overflow
This commit is contained in:
@ -101,11 +101,11 @@ _xt_int_exit:
|
|||||||
movi a2, pxCurrentTCB
|
movi a2, pxCurrentTCB
|
||||||
l32i a2, a2, 0
|
l32i a2, a2, 0
|
||||||
l32i a2, a2, 48
|
l32i a2, a2, 48
|
||||||
movi a4, ~(0xf)
|
movi a4, ~(0x7)
|
||||||
and a4, a4, a2
|
and a4, a4, a2
|
||||||
wsr a4, dbreaka0
|
wsr a4, dbreaka0
|
||||||
|
|
||||||
movi a3, 0xc0000030
|
movi a3, 0xc0000038
|
||||||
wsr a3, dbreakc0
|
wsr a3, dbreakc0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -245,11 +245,11 @@ _xt_enter_first_task:
|
|||||||
movi a2, pxCurrentTCB
|
movi a2, pxCurrentTCB
|
||||||
l32i a2, a2, 0
|
l32i a2, a2, 0
|
||||||
l32i a2, a2, 48
|
l32i a2, a2, 48
|
||||||
movi a4, ~(0xf)
|
movi a4, ~(0x7)
|
||||||
and a4, a4, a2
|
and a4, a4, a2
|
||||||
wsr a4, dbreaka0
|
wsr a4, dbreaka0
|
||||||
|
|
||||||
movi a3, 0xc0000030
|
movi a3, 0xc0000038
|
||||||
wsr a3, dbreakc0
|
wsr a3, dbreakc0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user