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

Refactor PTE update code & fix reachable assertion

Open Timmmm opened this issue 8 months ago • 2 comments

Deduplicate the code to write the PTE, and in the process remove the reachable (I think) assertion "invalid physical address in TLB".

It actually ended up being basically the same amount of code, so we may want to e.g. inline update_pte_bits. However I haven't done that because this code is going to get a bit more complex with CHERI.

Timmmm avatar Feb 06 '25 10:02 Timmmm