diff options
Diffstat (limited to 'riscv/processor.h')
-rw-r--r-- | riscv/processor.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/riscv/processor.h b/riscv/processor.h index 8ac8507..1eabee4 100644 --- a/riscv/processor.h +++ b/riscv/processor.h @@ -90,15 +90,6 @@ struct state_t #endif }; -typedef enum { - HR_NONE, - HR_STEPPED, // A single step was completed - HR_SWBP, // sbreak was executed - HR_INTERRUPT, // Execution interrupted by debugger - HR_CMDLINE, // Command line requested that the processor start halted - HR_ATTACHED // Halted because a debugger attached -} halt_reason_t; - // this class represents one processor in a RISC-V machine. class processor_t : public abstract_device_t { @@ -106,6 +97,7 @@ public: processor_t(const char* isa, sim_t* sim, uint32_t id); ~processor_t(); + void set_debug_int(); void set_debug(bool value); void set_histogram(bool value); void reset(bool value); |