Browse Source
The mip.SEIP is the logical-OR of a software-writable bit and signal from an external interrupt controller (e.g., APLIC or IMSIC). The AIA spec lets the software-writable bit be the mvip.SEIP. This commit follows the concept that the mvip.SEIP is a sub-component of mip.SEIP. Writing mip.SEIP actually updates the software-writable bit, i.e., mvip.SEIP. Reading mip.SEIP returns a value consisting of the software-writable bit, i.e., mvip.SEIP. The SEIP bit in mip::val becomes a placeholder for the external interrupt controller. Accessing mvip.SEIP reads from and writes to mvip.SEIP normally. Reference: https://github.com/riscv/riscv-aia/issues/64pull/1988/head
committed by
Binno
2 changed files with 20 additions and 5 deletions
Loading…
Reference in new issue