riscv / riscv-fast-interrupt

Proposal for a RISC-V Core-Local Interrupt Controller (CLIC)
https://jira.riscv.org/browse/RVG-63
Creative Commons Attribution 4.0 International
245 stars 49 forks source link

should xintthresh be initialized to 0? #332

Closed dansmathers closed 1 year ago

dansmathers commented 1 year ago

Should xintthresh be initialized to 0? since it is cleared on mrets, maybe it makes sense to add it to the reset section as well?

dansmathers commented 1 year ago

instead of 0, to min

dansmathers commented 1 year ago

since xintthresh can be written and lots of things need to be setup before using clic, don't need to be required. xintstatus is RO so needs the reset requirement so is different.