adapt to change in SCC
This commit is contained in:
parent
9534d58d01
commit
4aa26b85a0
|
@ -302,7 +302,7 @@ public:
|
||||||
|
|
||||||
void write_mstatus(T val) {
|
void write_mstatus(T val) {
|
||||||
auto mask = get_mask();
|
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;
|
mstatus = new_val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue