diff options
author | Christopher Celio <celio@eecs.berkeley.edu> | 2014-06-25 18:52:19 -0700 |
---|---|---|
committer | Christopher Celio <celio@eecs.berkeley.edu> | 2014-06-25 18:52:19 -0700 |
commit | 0ea44d8707e796d8b68a026b243f35b25d2f81a0 (patch) | |
tree | d2bb8cbb1fc3767084cfe4327932e9c0fcd25b57 | |
parent | 7b6a968c83af5c64db7b874e3b318ee2882b5cf1 (diff) | |
download | pk-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.
-rw-r--r-- | pk/pk.S | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 |