未验证 提交 7dd1cd42 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2794 from zhaohengbo/master

[libcpu][c28x] Fix bugs of old c28x interrupt api
......@@ -73,7 +73,9 @@ RT_CTX_RESTORE .macro
;
.asmfunc
_rt_hw_interrupt_disable:
DINT
PUSH ST1
SETC INTM,DBGM
MOV AL, *--SP
LRETR
.endasmfunc
......@@ -82,7 +84,8 @@ _rt_hw_interrupt_disable:
;
.asmfunc
_rt_hw_interrupt_enable:
EINT
MOV *SP++, AL
POP ST1
LRETR
.endasmfunc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册