add proper handling of store access fault (hart_mu_p)

This commit is contained in:
Eyck Jentzsch 2021-11-06 13:29:11 +01:00
parent 039746112b
commit 459794b863
1 changed files with 1 additions and 0 deletions

View File

@ -1235,6 +1235,7 @@ template <typename BASE, features_e FEAT> uint64_t riscv_hart_mu_p<BASE, FEAT>::
break;
case 4:
case 6:
case 7:
csr[utval | (new_priv << 8)] = fault_data;
break;
default: