diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-22 18:03:40 -0700 |
---|---|---|
committer | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-26 17:17:53 -0700 |
commit | bfcf4707b301230542816fd7bd71f89d57d3ef16 (patch) | |
tree | 1adbac86eecb0356df75bac65410b47654e290cf /riscv/processor.h | |
parent | c3f918afad4e57ba9dcc2eb4c00ebb76e981108a (diff) | |
download | riscv-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.h | 12 |
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, |