Skip to content

Commit

Permalink
Merge pull request riscv#549 from leesum1/trigger-fix
Browse files Browse the repository at this point in the history
debug: Fix nonexistent trigger registers trap handle in entry.S
  • Loading branch information
aap-sc authored May 9, 2024
2 parents 7dfa49b + 7f454c3 commit 29e6bc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debug/programs/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ handle_reset:
beq t0, t1, 1b
.p2align 2
2:
# Restore mtvec
# Restore mtvec and mstatus
csrw mtvec, t2
csrwi mstatus, 0

#ifdef MULTICORE
csrr t0, CSR_MHARTID
Expand Down

0 comments on commit 29e6bc8

Please sign in to comment.