diff options
author | Andrea Mondelli <Andrea.Mondelli@ucf.edu> | 2019-04-23 13:36:19 -0400 |
---|---|---|
committer | Andrea Mondelli <Andrea.Mondelli@ucf.edu> | 2019-04-24 13:43:23 +0000 |
commit | 57667bad9f6e6920dfbe69b2afc9caaace58bcbe (patch) | |
tree | 93dd06857cf0284e840079e01130460c897a14a3 /src/cpu/simple_thread.hh | |
parent | e52e6cc08cd1a6f421a8f113ee13001173c1bc79 (diff) | |
download | gem5-57667bad9f6e6920dfbe69b2afc9caaace58bcbe.tar.xz |
cpu,mem: missing override specifier
Change-Id: I731d3ef021596450ac307461f215760a148bb28a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18348
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/cpu/simple_thread.hh')
-rw-r--r-- | src/cpu/simple_thread.hh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/cpu/simple_thread.hh b/src/cpu/simple_thread.hh index 46f142f6f..0d415dc16 100644 --- a/src/cpu/simple_thread.hh +++ b/src/cpu/simple_thread.hh @@ -213,26 +213,30 @@ class SimpleThread : public ThreadState, public ThreadContext System *getSystemPtr() override { return system; } TheISA::Kernel::Statistics * - getKernelStats() + getKernelStats() override { return ThreadState::getKernelStats(); } - PortProxy &getPhysProxy() { return ThreadState::getPhysProxy(); } + PortProxy &getPhysProxy() override { return ThreadState::getPhysProxy(); } FSTranslatingPortProxy & - getVirtProxy() + getVirtProxy() override { return ThreadState::getVirtProxy(); } - void initMemProxies(ThreadContext *tc) { ThreadState::initMemProxies(tc); } + void initMemProxies(ThreadContext *tc) override + { + ThreadState::initMemProxies(tc); + } + SETranslatingPortProxy & - getMemProxy() + getMemProxy() override { return ThreadState::getMemProxy(); } - Process *getProcessPtr() { return ThreadState::getProcessPtr(); } + Process *getProcessPtr() override { return ThreadState::getProcessPtr(); } void setProcessPtr(Process *p) override { ThreadState::setProcessPtr(p); } Status status() const override { return _status; } |