4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 13:13:31 +08:00

Merge pull request #2794 from zhaohengbo/master

[libcpu][c28x] Fix bugs of old c28x interrupt api
This commit is contained in:
Bernard Xiong 2019-06-19 04:13:15 +08:00 committed by GitHub
commit 7dd1cd42db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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