mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-10-06 04:59:34 +08:00
update Port/Cortex-M/port_cmx_s.c.
Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
@@ -180,7 +180,7 @@ __LOOP mov rx, r1
|
||||
strh r2, [rx]
|
||||
cmp rx, r1
|
||||
bne __LOOP
|
||||
dmb
|
||||
|
||||
cmp r3, #0
|
||||
beq __RESrx
|
||||
ldr rx, =mPendSV_FIFO_X
|
||||
@@ -376,7 +376,7 @@ void mPendSV_FIFOLoader(void *sv)
|
||||
"strh r2, "sDefStr([rx] \n)
|
||||
"cmp "sDefStr(rx)", r1 \n"
|
||||
"bne __LOOP \n"
|
||||
"dmb \n"
|
||||
|
||||
"cmp r3, #0 \n"
|
||||
"beq __RESrx \n"
|
||||
"ldr "sDefStr(rx)", =mPendSV_FIFO_X \n"
|
||||
|
||||
Reference in New Issue
Block a user