diff options
-rw-r--r-- | fesvr/device.cc | 2 | ||||
-rw-r--r-- | fesvr/htif.h | 2 | ||||
-rw-r--r-- | fesvr/htif_hexwriter.h | 2 | ||||
-rw-r--r-- | fesvr/memif.h | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/fesvr/device.cc b/fesvr/device.cc index b149f3c..cbfdb50 100644 --- a/fesvr/device.cc +++ b/fesvr/device.cc @@ -33,7 +33,7 @@ void device_t::handle_command(command_t cmd) command_handlers[cmd.cmd()](cmd); } -void device_t::handle_null_command(command_t cmd) +void device_t::handle_null_command(command_t) { } diff --git a/fesvr/htif.h b/fesvr/htif.h index cf8b2d5..5767e31 100644 --- a/fesvr/htif.h +++ b/fesvr/htif.h @@ -65,7 +65,7 @@ class htif_t : public chunked_memif_t // indicates that the initial program load can skip writing this address // range to memory, because it has already been loaded through a sideband - virtual bool is_address_preloaded(addr_t taddr, size_t len) { return false; } + virtual bool is_address_preloaded(addr_t, size_t) { return false; } // Given an address, return symbol from addr2symbol map const char* get_symbol(uint64_t addr); diff --git a/fesvr/htif_hexwriter.h b/fesvr/htif_hexwriter.h index 7256166..0cd859b 100644 --- a/fesvr/htif_hexwriter.h +++ b/fesvr/htif_hexwriter.h @@ -21,7 +21,7 @@ protected: void read_chunk(addr_t taddr, size_t len, void* dst); void write_chunk(addr_t taddr, size_t len, const void* src); - void clear_chunk(addr_t taddr, size_t len) {} + void clear_chunk(addr_t, size_t) {} size_t chunk_max_size() { return width; } size_t chunk_align() { return width; } diff --git a/fesvr/memif.h b/fesvr/memif.h index 3f9bd2d..9eebed4 100644 --- a/fesvr/memif.h +++ b/fesvr/memif.h @@ -28,7 +28,8 @@ public: virtual size_t chunk_align() = 0; virtual size_t chunk_max_size() = 0; - virtual void set_target_endianness(memif_endianness_t endianness) {} + virtual void set_target_endianness(memif_endianness_t) {} + virtual memif_endianness_t get_target_endianness() const { return memif_endianness_undecided; } |