Skip to content

Commit

Permalink
debug: Fix nonexistent trigger registers trap handle in entry.S
Browse files Browse the repository at this point in the history
  • Loading branch information
leesum1 committed Apr 17, 2024
1 parent 6b1d737 commit 7f454c3
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 7f454c3

Please sign in to comment.