aboutsummaryrefslogtreecommitdiff
path: root/riscv/disasm.h
diff options
context:
space:
mode:
authorPrashanth Mundkur <prashanth.mundkur@gmail.com>2018-03-26 12:07:03 -0700
committerPrashanth Mundkur <prashanth.mundkur@gmail.com>2018-03-26 12:07:03 -0700
commitfa2aaa3f8ad1284f4ca2ae17ad173eb1605fea1a (patch)
tree5a9c1fd21b7832d2b7c31f0a8167baf271a39dec /riscv/disasm.h
parent1da69b975beeda193d5fa47950be5883ca20ad13 (diff)
downloadriscv-isa-sim-fa2aaa3f8ad1284f4ca2ae17ad173eb1605fea1a.zip
riscv-isa-sim-fa2aaa3f8ad1284f4ca2ae17ad173eb1605fea1a.tar.gz
riscv-isa-sim-fa2aaa3f8ad1284f4ca2ae17ad173eb1605fea1a.tar.bz2
Add an api to get the name for a CSR.
Diffstat (limited to 'riscv/disasm.h')
-rw-r--r--riscv/disasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/disasm.h b/riscv/disasm.h
index e2981d4..94e007a 100644
--- a/riscv/disasm.h
+++ b/riscv/disasm.h
@@ -10,6 +10,7 @@
extern const char* xpr_name[NXPR];
extern const char* fpr_name[NFPR];
+extern const char* csr_name(int which);
class arg_t
{