Browse Source
Merge pull request #1272 from sagark/targs-protected
make target_args() protected instead of private to allow subclasses to inject args
pull/1275/head
Jerry Zhao
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
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; |
|
|
|