Skip to content

Commit

Permalink
Merge pull request #1217 from sobuch/not_cachable_mcause_mstatus
Browse files Browse the repository at this point in the history
target/riscv: dont set mcause and mstatus as cachable
  • Loading branch information
en-sc authored Jan 31, 2025
2 parents 9d431c3 + 94d739a commit 8f59570
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/target/riscv/riscv_reg_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,7 @@ static inline bool riscv_reg_impl_gdb_regno_cacheable(enum gdb_regno regno,
case GDB_REGNO_MISA:
case GDB_REGNO_DCSR:
case GDB_REGNO_DSCRATCH0:
case GDB_REGNO_MSTATUS:
case GDB_REGNO_MEPC:
case GDB_REGNO_MCAUSE:
case GDB_REGNO_SATP:
/*
* WARL registers might not contain the value we just wrote, but
Expand Down

0 comments on commit 8f59570

Please sign in to comment.