CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/05/13 00:44:11
Modified files:
sys/arch/riscv64/riscv64: exception.S
Log message:
When doing AST processing:
1) block interrupts, then check for ASTs
2) if no ASTs, return with interrupts blocked, so they can be re-enabled
ATOMICALLY in the return to userspace
3) if an AST happened, then re-enable interrupts, call ast(), then goto 1
ok jsg@
