Skip to content
Commit 4f1988fb authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Marti Bolivar
Browse files

riscv: small arch_irq_* cleanup and optimization



- Allow immediate argument with the csrrc instruction
- Replace csrrs with csrs and avoid a needless register allocation
- Mask the MSTATUS_IEN only at the consumer
- Remove unappropriate comment

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent 1105017c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment