Skip to content

Commit

Permalink
riscv_csr: Fix MPIE bit being available via sstatus CSR
Browse files Browse the repository at this point in the history
  • Loading branch information
LekKit committed Dec 24, 2024
1 parent efb10a8 commit a45c915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riscv_csr.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ file, You can obtain one at https://mozilla.org/MPL/2.0/.
#define CSR_FCSR_MASK 0xFF

#define CSR_MSTATUS_MASK 0xF007FFFAAULL
#define CSR_SSTATUS_MASK 0x3000DE7A2ULL
#define CSR_SSTATUS_MASK 0x3000DE722ULL
#define CSR_STATUS_FS_MASK 0x6000

#define CSR_MEDELEG_MASK 0xB109
Expand Down

0 comments on commit a45c915

Please sign in to comment.