diff options
author | Jerry Zhao <jerryz123@berkeley.edu> | 2022-10-25 11:37:44 -0700 |
---|---|---|
committer | Jerry Zhao <jerryz123@berkeley.edu> | 2022-10-25 11:49:33 -0700 |
commit | b265325d19fe9eb9145c65fe110735ff03c1b90c (patch) | |
tree | 5d1826b2eb8f1e0af019c7d1f833880da256f26a /fesvr/memif.h | |
parent | cefccba8cf1008691a1bb5d36bd318e281ffc635 (diff) | |
download | riscv-isa-sim-b265325d19fe9eb9145c65fe110735ff03c1b90c.zip riscv-isa-sim-b265325d19fe9eb9145c65fe110735ff03c1b90c.tar.gz riscv-isa-sim-b265325d19fe9eb9145c65fe110735ff03c1b90c.tar.bz2 |
Remove set_target_endianness | add --big-endian flag
Set target endianess in constructors
Diffstat (limited to 'fesvr/memif.h')
-rw-r--r-- | fesvr/memif.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fesvr/memif.h b/fesvr/memif.h index 7a005f2..e641d21 100644 --- a/fesvr/memif.h +++ b/fesvr/memif.h @@ -27,8 +27,6 @@ public: virtual size_t chunk_align() = 0; virtual size_t chunk_max_size() = 0; - virtual void set_target_endianness(memif_endianness_t) {} - virtual memif_endianness_t get_target_endianness() const { return memif_endianness_little; } @@ -71,9 +69,6 @@ public: virtual void write_int64(addr_t addr, target_endian<int64_t> val); // endianness - virtual void set_target_endianness(memif_endianness_t endianness) { - cmemif->set_target_endianness(endianness); - } virtual memif_endianness_t get_target_endianness() const { return cmemif->get_target_endianness(); } |