[libcpu/arm]: fix typo

This commit is contained in:
FrankTan 2022-05-13 00:18:13 +08:00 committed by guo
parent ea6999a700
commit d2909eb16b
3 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ PendSV_Handler:
LDR R0, =rt_thread_switch_interrupt_flag LDR R0, =rt_thread_switch_interrupt_flag
LDR R1, [R0] LDR R1, [R0]
CMP R1, #0x00 CMP R1, #0x00
BEQ pendsv_exit /* pendsv aLReady handled */ BEQ pendsv_exit /* pendsv already handled */
/* clear rt_thread_switch_interrupt_flag to 0 */ /* clear rt_thread_switch_interrupt_flag to 0 */
MOVS R1, #0 MOVS R1, #0

View File

@ -91,7 +91,7 @@ PendSV_Handler:
LDR R0, =rt_thread_switch_interrupt_flag LDR R0, =rt_thread_switch_interrupt_flag
LDR R1, [R0] LDR R1, [R0]
CMP R1, #0x00 CMP R1, #0x00
BEQ pendsv_exit /* pendsv aLReady handled */ BEQ pendsv_exit /* pendsv already handled */
/* clear rt_thread_switch_interrupt_flag to 0 */ /* clear rt_thread_switch_interrupt_flag to 0 */
MOVS R1, #0 MOVS R1, #0

View File

@ -90,7 +90,7 @@ PendSV_Handler:
/* get rt_thread_switch_interrupt_flag */ /* get rt_thread_switch_interrupt_flag */
LDR R0, =rt_thread_switch_interrupt_flag LDR R0, =rt_thread_switch_interrupt_flag
LDR R1, [R0] LDR R1, [R0]
CBZ R1, pendsv_exit /* pendsv aLReady handled */ CBZ R1, pendsv_exit /* pendsv already handled */
/* clear rt_thread_switch_interrupt_flag to 0 */ /* clear rt_thread_switch_interrupt_flag to 0 */
MOV R1, #0 MOV R1, #0