projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't clear triggers during execution.
[riscv-tests.git]
/
debug
/
programs
/
entry.S
diff --git
a/debug/programs/entry.S
b/debug/programs/entry.S
index ff8ae3092a517ad20ce2860b7b56ac2d1cd05b5a..302d409c55bb3d297c5fc8a1dc5019d27b83f82d 100755
(executable)
--- a/
debug/programs/entry.S
+++ b/
debug/programs/entry.S
@@
-64,15
+64,6
@@
handle_reset:
# initialize stack pointer
la sp, stack_top
# initialize stack pointer
la sp, stack_top
- # Clear all hardware triggers
- li t0, ~0
-1:
- addi t0, t0, 1
- csrw CSR_TSELECT, t0
- csrw CSR_TDATA1, zero
- csrr t1, CSR_TSELECT
- beq t0, t1, 1b
-
# perform the rest of initialization in C
j _init
# perform the rest of initialization in C
j _init