aboutsummaryrefslogtreecommitdiff
path: root/riscv/trap.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-05-28 21:59:25 -0700
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-05-28 21:59:25 -0700
commit605d638068d80b4977030bfbb56fd7376a9debe5 (patch)
tree8ef668bb072a1a3c8fa7a9b6889afaecf887597d /riscv/trap.h
parentc42bce582a7987856f63165abddaf4cd48e3b448 (diff)
downloadspike-605d638068d80b4977030bfbb56fd7376a9debe5.zip
spike-605d638068d80b4977030bfbb56fd7376a9debe5.tar.gz
spike-605d638068d80b4977030bfbb56fd7376a9debe5.tar.bz2
[fesvr,xcc,sim] fixed multicore sim for akaros
Diffstat (limited to 'riscv/trap.h')
-rw-r--r--riscv/trap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/trap.h b/riscv/trap.h
index 1a6db73..12a1c04 100644
--- a/riscv/trap.h
+++ b/riscv/trap.h
@@ -36,6 +36,8 @@ enum trap_t
NUM_TRAPS
};
+struct halt_t {}; // thrown to stop the processor from running
+
extern "C" const char* trap_name(trap_t t);
#endif