Browse Source

make target_args() protected instead of private to allow subclasses to inject args

pull/1272/head
Sagar Karandikar 3 years ago
parent
commit
34b018ab3a
  1. 3
      fesvr/htif.h

3
fesvr/htif.h

@ -63,6 +63,7 @@ class htif_t : public chunked_memif_t
virtual void idle() {} virtual void idle() {}
const std::vector<std::string>& host_args() { return hargs; } const std::vector<std::string>& host_args() { return hargs; }
std::vector<std::string>& target_args() { return targs; }
reg_t get_entry_point() { return entry; } 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<device_t*> dynamic_devices;
std::vector<std::string> payloads; std::vector<std::string> payloads;
const std::vector<std::string>& target_args() { return targs; }
std::map<uint64_t, std::string> addr2symbol; std::map<uint64_t, std::string> addr2symbol;
friend class memif_t; friend class memif_t;

Loading…
Cancel
Save