riscv-qemu icon indicating copy to clipboard operation
riscv-qemu copied to clipboard

Mask mie/mip fields depending on whether S mode is enabled (misa.S)

Open michaeljclark opened this issue 6 years ago • 0 comments

When S-mode (misa.S) is not present, writes to mip/mip.SEIP/SSIP/STIP and mie/sie.SEIE/SSIE/STIE need to be masked.

U-mode interrupts and the N-extension are not currently implemented, so these fields are already masked

michaeljclark avatar Mar 05 '18 21:03 michaeljclark