We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c4d2e commit 86216ceCopy full SHA for 86216ce
libcpu/mips/loongson_1c/context_gcc.S
@@ -36,7 +36,14 @@ rt_hw_interrupt_disable:
36
*/
37
.globl rt_hw_interrupt_enable
38
rt_hw_interrupt_enable:
39
+ ori a0, 0x00000800
40
mtc0 a0, CP0_STATUS
41
+ ehb
42
+ mfc0 v0, CP0_CAUSE
43
44
+ or v1, v0, 0x800000 //EBASE + 0x200
45
+ mtc0 v1, CP0_CAUSE
46
47
jr ra
48
nop
49
0 commit comments