diff options
author | Sagar Karandikar <sagark@eecs.berkeley.edu> | 2023-03-07 11:05:03 -0800 |
---|---|---|
committer | Sagar Karandikar <sagark@eecs.berkeley.edu> | 2023-03-07 11:05:03 -0800 |
commit | 34b018ab3a0b8beee6947cf4a08843a536409592 (patch) | |
tree | f0b782b66661751a991beb7e654b590c868ac344 | |
parent | 6d6858ce7e18409238fdd11e60d208b0f857a8f8 (diff) | |
download | spike-34b018ab3a0b8beee6947cf4a08843a536409592.zip spike-34b018ab3a0b8beee6947cf4a08843a536409592.tar.gz spike-34b018ab3a0b8beee6947cf4a08843a536409592.tar.bz2 |
make target_args() protected instead of private to allow subclasses to inject args
-rw-r--r-- | fesvr/htif.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fesvr/htif.h b/fesvr/htif.h index 4eb2a21..32cd07d 100644 --- a/fesvr/htif.h +++ b/fesvr/htif.h @@ -63,6 +63,7 @@ class htif_t : public chunked_memif_t virtual void idle() {} const std::vector<std::string>& host_args() { return hargs; } + std::vector<std::string>& target_args() { return targs; } reg_t get_entry_point() { return entry; } @@ -98,8 +99,6 @@ class htif_t : public chunked_memif_t std::vector<device_t*> dynamic_devices; std::vector<std::string> payloads; - const std::vector<std::string>& target_args() { return targs; } - std::map<uint64_t, std::string> addr2symbol; friend class memif_t; |