summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-10-23 09:51:12 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2015-10-23 09:51:12 -0400
commitb48ed9b6c2a8a8aa8eb2182acc77239cc8a3358d (patch)
treecb34a1417433bae6ddb7eb8a42cbb949ea4f6b19 /src/mem
parentfa32ad4941a80c85513b57a2fa43acb84212e5df (diff)
downloadgem5-b48ed9b6c2a8a8aa8eb2182acc77239cc8a3358d.tar.xz
x86: Add missing explicit overrides for X86 devices
Make clang >= 3.5 happy when compiling build/X86/gem5.opt on OSX.
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/multi_level_page_table.hh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mem/multi_level_page_table.hh b/src/mem/multi_level_page_table.hh
index b9e020460..a1d3fbc39 100644
--- a/src/mem/multi_level_page_table.hh
+++ b/src/mem/multi_level_page_table.hh
@@ -145,14 +145,14 @@ public:
System *_sys);
~MultiLevelPageTable();
- void initState(ThreadContext* tc);
+ void initState(ThreadContext* tc) override;
void map(Addr vaddr, Addr paddr, int64_t size,
- uint64_t flags = 0);
- void remap(Addr vaddr, int64_t size, Addr new_vaddr);
- void unmap(Addr vaddr, int64_t size);
- bool isUnmapped(Addr vaddr, int64_t size);
- bool lookup(Addr vaddr, TheISA::TlbEntry &entry);
+ uint64_t flags = 0) override;
+ void remap(Addr vaddr, int64_t size, Addr new_vaddr) override;
+ void unmap(Addr vaddr, int64_t size) override;
+ bool isUnmapped(Addr vaddr, int64_t size) override;
+ bool lookup(Addr vaddr, TheISA::TlbEntry &entry) override;
void serialize(CheckpointOut &cp) const override;
void unserialize(CheckpointIn &cp) override;
};