aboutsummaryrefslogtreecommitdiff
path: root/riscv/execute.cc
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-02-02 19:25:49 -0800
committerAndrew Waterman <andrew@sifive.com>2017-02-02 19:25:49 -0800
commit9e012462f53113dc9ed00d7fbb89aeafeb9b89e9 (patch)
tree6b0b8e42d770f5ea5a1e6188eabac803d51876d0 /riscv/execute.cc
parent6642f8c745b320bdb7bab2470c62defb1b1bb9e2 (diff)
downloadspike-9e012462f53113dc9ed00d7fbb89aeafeb9b89e9.zip
spike-9e012462f53113dc9ed00d7fbb89aeafeb9b89e9.tar.gz
spike-9e012462f53113dc9ed00d7fbb89aeafeb9b89e9.tar.bz2
Fix interrupt delegation for coprocessors
Diffstat (limited to 'riscv/execute.cc')
-rw-r--r--riscv/execute.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/execute.cc b/riscv/execute.cc
index eb9fe4b..ebc9dc7 100644
--- a/riscv/execute.cc
+++ b/riscv/execute.cc
@@ -96,7 +96,7 @@ void processor_t::step(size_t n)
try
{
- take_interrupt();
+ take_pending_interrupt();
if (unlikely(slow_path()))
{