aboutsummaryrefslogtreecommitdiff
path: root/fesvr
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2019-07-05 14:32:45 -0700
committerChih-Min Chao <chihmin.chao@sifive.com>2019-07-22 02:11:03 -0700
commit5dbbf4bcbca391287f92d3dead72d430833cb4e1 (patch)
tree77597523387465c481d4a9ae90e3bde5f2763790 /fesvr
parentf4a67108d3e617b31ae5be4f1df0e66cbf49de55 (diff)
downloadspike-5dbbf4bcbca391287f92d3dead72d430833cb4e1.zip
spike-5dbbf4bcbca391287f92d3dead72d430833cb4e1.tar.gz
spike-5dbbf4bcbca391287f92d3dead72d430833cb4e1.tar.bz2
Add override modifier to fix clang warnings
Diffstat (limited to 'fesvr')
-rw-r--r--fesvr/tsi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fesvr/tsi.h b/fesvr/tsi.h
index cd47811..825a3a0 100644
--- a/fesvr/tsi.h
+++ b/fesvr/tsi.h
@@ -37,8 +37,8 @@ class tsi_t : public htif_t
void write_chunk(addr_t taddr, size_t nbytes, const void* src) override;
void switch_to_target();
- size_t chunk_align() { return 4; }
- size_t chunk_max_size() { return 1024; }
+ size_t chunk_align() override { return 4; }
+ size_t chunk_max_size() override { return 1024; }
int get_ipi_addrs(addr_t *addrs);