aboutsummaryrefslogtreecommitdiff
path: root/pk
diff options
context:
space:
mode:
authorChristopher Celio <celio@eecs.berkeley.edu>2014-06-25 18:52:19 -0700
committerChristopher Celio <celio@eecs.berkeley.edu>2014-06-25 18:52:19 -0700
commit0ea44d8707e796d8b68a026b243f35b25d2f81a0 (patch)
treed2bb8cbb1fc3767084cfe4327932e9c0fcd25b57 /pk
parent7b6a968c83af5c64db7b874e3b318ee2882b5cf1 (diff)
downloadpk-0ea44d8707e796d8b68a026b243f35b25d2f81a0.zip
pk-0ea44d8707e796d8b68a026b243f35b25d2f81a0.tar.gz
pk-0ea44d8707e796d8b68a026b243f35b25d2f81a0.tar.bz2
Let timer interrupt stay set on pk start (IP[7]).
Otherwise, the HW will trip the timer interrupt 4B cycles later and thus not match spike.
Diffstat (limited to 'pk')
-rw-r--r--pk/pk.S3
1 files changed, 0 insertions, 3 deletions
diff --git a/pk/pk.S b/pk/pk.S
index e34d3e2..c65a4cd 100644
--- a/pk/pk.S
+++ b/pk/pk.S
@@ -12,9 +12,6 @@ _start:
csrw evec, a0
# clear any pending interrupts
- li t0, -1
- csrw compare, t0
- csrw count,zero
csrwi clear_ipi, 0
li a0, SR_S | SR_PS | SR_EI | SR_S64 | SR_U64