diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-10-23 09:51:12 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-10-23 09:51:12 -0400 |
commit | b48ed9b6c2a8a8aa8eb2182acc77239cc8a3358d (patch) | |
tree | cb34a1417433bae6ddb7eb8a42cbb949ea4f6b19 /src/mem | |
parent | fa32ad4941a80c85513b57a2fa43acb84212e5df (diff) | |
download | gem5-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.hh | 12 |
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; }; |