aboutsummaryrefslogtreecommitdiff
path: root/fesvr
diff options
context:
space:
mode:
authorJerry Zhao <jerryz123@berkeley.edu>2023-01-17 13:54:37 -0800
committerGitHub <noreply@github.com>2023-01-17 13:54:37 -0800
commitd02292d928f9978d0b6d69b149b6cf00ab94bab9 (patch)
tree5bd8703b359e6b10de88f49221ef57789bdaebd7 /fesvr
parenta7ac8d85a0f3dcabf181c1858e0e7d02a6cd71e1 (diff)
downloadspike-d02292d928f9978d0b6d69b149b6cf00ab94bab9.zip
spike-d02292d928f9978d0b6d69b149b6cf00ab94bab9.tar.gz
spike-d02292d928f9978d0b6d69b149b6cf00ab94bab9.tar.bz2
Add htif_t tohost/fromhost accessors
Signed-off-by: Jerry Zhao <jerryz123@berkeley.edu>
Diffstat (limited to 'fesvr')
-rw-r--r--fesvr/htif.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fesvr/htif.h b/fesvr/htif.h
index f63ff1c..903e828 100644
--- a/fesvr/htif.h
+++ b/fesvr/htif.h
@@ -69,6 +69,9 @@ class htif_t : public chunked_memif_t
// Given an address, return symbol from addr2symbol map
const char* get_symbol(uint64_t addr);
+
+ addr_t get_tohost_addr() { return tohost_addr; }
+ addr_t get_fromhost_addr() { return fromhost_addr; }
private:
void parse_arguments(int argc, char ** argv);