aboutsummaryrefslogtreecommitdiff
path: root/riscv/processor.h
diff options
context:
space:
mode:
authorScott Johnson <scott.johnson@arilinc.com>2021-09-22 18:03:40 -0700
committerScott Johnson <scott.johnson@arilinc.com>2021-09-26 17:17:53 -0700
commitbfcf4707b301230542816fd7bd71f89d57d3ef16 (patch)
tree1adbac86eecb0356df75bac65410b47654e290cf /riscv/processor.h
parentc3f918afad4e57ba9dcc2eb4c00ebb76e981108a (diff)
downloadriscv-isa-sim-bfcf4707b301230542816fd7bd71f89d57d3ef16.zip
riscv-isa-sim-bfcf4707b301230542816fd7bd71f89d57d3ef16.tar.gz
riscv-isa-sim-bfcf4707b301230542816fd7bd71f89d57d3ef16.tar.bz2
Move dcsr_t definition to csrs.h
In prep for its conversion to csr_t.
Diffstat (limited to 'riscv/processor.h')
-rw-r--r--riscv/processor.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/riscv/processor.h b/riscv/processor.h
index 36422b3..a594f6b 100644
--- a/riscv/processor.h
+++ b/riscv/processor.h
@@ -37,18 +37,6 @@ typedef std::unordered_map<reg_t, freg_t> commit_log_reg_t;
// addr, value, size
typedef std::vector<std::tuple<reg_t, uint64_t, uint8_t>> commit_log_mem_t;
-typedef struct
-{
- uint8_t prv;
- bool step;
- bool ebreakm;
- bool ebreakh;
- bool ebreaks;
- bool ebreaku;
- bool halt;
- uint8_t cause;
-} dcsr_t;
-
typedef enum
{
ACTION_DEBUG_EXCEPTION = MCONTROL_ACTION_DEBUG_EXCEPTION,