Commit 576f105
committed
Fix incorrect MSTATUS_MXR_SHIFT definition
The macro `MSTATUS_MXR_SHIFT` was wrongly defined as 18, duplicating the shift value of SUM.
This commit corrects it to 19, which matches the specification.
Key changes:
Changed `#define MSTATUS_MXR_SHIFT` from 18 → 19 in src/riscv.h
Signed-off-by: snnbyyds <snnbyyds@gmail.com>1 parent ccdcc30 commit 576f105
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments