diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2023-01-26 10:09:58 -0800 |
---|---|---|
committer | Scott Johnson <scott.johnson@arilinc.com> | 2023-03-09 14:07:04 -0800 |
commit | 747c1a529ed824aa12b5d1fa2e6911794eb632d8 (patch) | |
tree | e85c7122501e5934cef2bae11652aaf845adf7ff /riscv/debug_module.cc | |
parent | d7632c8d7f5166ab4bd6d6975a836958b26eee64 (diff) | |
download | riscv-isa-sim-747c1a529ed824aa12b5d1fa2e6911794eb632d8.zip riscv-isa-sim-747c1a529ed824aa12b5d1fa2e6911794eb632d8.tar.gz riscv-isa-sim-747c1a529ed824aa12b5d1fa2e6911794eb632d8.tar.bz2 |
Switch debug_module to use simif_t instead of sim_t
In keeping with the spirit of simif_t.
Diffstat (limited to 'riscv/debug_module.cc')
-rw-r--r-- | riscv/debug_module.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/riscv/debug_module.cc b/riscv/debug_module.cc index bdb3605..27dbe66 100644 --- a/riscv/debug_module.cc +++ b/riscv/debug_module.cc @@ -1,6 +1,7 @@ #include <cassert> -#include "sim.h" +#include "simif.h" +#include "devices.h" #include "debug_module.h" #include "debug_defines.h" #include "opcodes.h" @@ -31,7 +32,7 @@ static unsigned field_width(unsigned n) ///////////////////////// debug_module_t -debug_module_t::debug_module_t(sim_t *sim, const debug_module_config_t &config) : +debug_module_t::debug_module_t(simif_t *sim, const debug_module_config_t &config) : config(config), program_buffer_bytes((config.support_impebreak ? 4 : 0) + 4*config.progbufsize), debug_progbuf_start(debug_data_start - program_buffer_bytes), |