提交 022d9065 编写于 作者: L LinJiawei

Merge branch 'master' of https://github.com/RISCVERS/nexus-am

......@@ -81,4 +81,6 @@ int _intr_read() {
}
void _intr_write(int enable) {
if (enable) asm volatile("csrs sstatus, 0x2");
else asm volatile("csrc sstatus, 0x2");
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册