From 1ca52ff2f1922a1bf679e00156caeb3a08c96d1c Mon Sep 17 00:00:00 2001 From: Prashanth Mundkur Date: Mon, 26 Mar 2018 12:07:03 -0700 Subject: Add an api to get the name for a CSR. --- riscv/disasm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'riscv/disasm.h') 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 { -- cgit v1.1