aboutsummaryrefslogtreecommitdiff
path: root/riscv/sim.h
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2010-09-08 15:58:39 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2010-09-08 15:58:39 -0700
commita9176ab510f8f45990a46da2d5fbe4c4fb4a217c (patch)
treec948805c256621681b6e280ff2a230e04c6b551f /riscv/sim.h
parent9beab4ff43f83bef9219f37955a27d9b415639b3 (diff)
downloadriscv-isa-sim-a9176ab510f8f45990a46da2d5fbe4c4fb4a217c.zip
riscv-isa-sim-a9176ab510f8f45990a46da2d5fbe4c4fb4a217c.tar.gz
riscv-isa-sim-a9176ab510f8f45990a46da2d5fbe4c4fb4a217c.tar.bz2
[sim] add while to interactive_until
Diffstat (limited to 'riscv/sim.h')
-rw-r--r--riscv/sim.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/riscv/sim.h b/riscv/sim.h
index 4072fcf..4763713 100644
--- a/riscv/sim.h
+++ b/riscv/sim.h
@@ -32,26 +32,27 @@ private:
void step_all(size_t n, size_t interleave, bool noisy);
- void interactive_quit(const std::vector<std::string>& args);
+ void interactive_quit(const std::string& cmd, const std::vector<std::string>& args);
- void interactive_run(const std::vector<std::string>& args, bool noisy);
- void interactive_run_noisy(const std::vector<std::string>& args);
- void interactive_run_silent(const std::vector<std::string>& args);
+ void interactive_run(const std::string& cmd, const std::vector<std::string>& args, bool noisy);
+ void interactive_run_noisy(const std::string& cmd, const std::vector<std::string>& args);
+ void interactive_run_silent(const std::string& cmd, const std::vector<std::string>& args);
- void interactive_run_proc(const std::vector<std::string>& args, bool noisy);
- void interactive_run_proc_noisy(const std::vector<std::string>& args);
- void interactive_run_proc_silent(const std::vector<std::string>& args);
+ void interactive_run_proc(const std::string& cmd, const std::vector<std::string>& args, bool noisy);
+ void interactive_run_proc_noisy(const std::string& cmd, const std::vector<std::string>& args);
+ void interactive_run_proc_silent(const std::string& cmd, const std::vector<std::string>& args);
- void interactive_reg(const std::vector<std::string>& args);
- void interactive_fregs(const std::vector<std::string>& args);
- void interactive_fregd(const std::vector<std::string>& args);
- void interactive_mem(const std::vector<std::string>& args);
- void interactive_until(const std::vector<std::string>& args);
+ void interactive_reg(const std::string& cmd, const std::vector<std::string>& args);
+ void interactive_fregs(const std::string& cmd, const std::vector<std::string>& args);
+ void interactive_fregd(const std::string& cmd, const std::vector<std::string>& args);
+ void interactive_mem(const std::string& cmd, const std::vector<std::string>& args);
+ void interactive_until(const std::string& cmd, const std::vector<std::string>& args);
reg_t get_reg(const std::vector<std::string>& args);
reg_t get_freg(const std::vector<std::string>& args);
reg_t get_mem(const std::vector<std::string>& args);
reg_t get_pc(const std::vector<std::string>& args);
+ reg_t get_tohost(const std::vector<std::string>& args);
friend class appserver_link_t;
};