bao-project / bao-hypervisor

Bao, a Lightweight Static Partitioning Hypervisor
Apache License 2.0
379 stars 128 forks source link

fix(riscv): add low order bits to faulting address #190

Closed josecm closed 3 weeks ago

josecm commented 3 weeks ago

This PR fixes an issue identified in #188 where the address for trapped byte and halfword accesses did not result in the correct trapped address because the two lower order bits were not retrieved from stval.