adapt to change in SCC

This commit is contained in:
Eyck Jentzsch 2021-03-01 06:36:27 +00:00
parent 9534d58d01
commit 4aa26b85a0

View File

@ -302,7 +302,7 @@ public:
void write_mstatus(T val) {
auto mask = get_mask();
auto new_val = (mstatus.storage.val & ~mask) | (val & mask);
auto new_val = (mstatus.backing.val & ~mask) | (val & mask);
mstatus = new_val;
}