diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2016-02-15 03:40:32 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2016-02-15 03:40:32 -0500 |
commit | 0d50979888c1653e9ceb856c6bffa3f5062adeb9 (patch) | |
tree | deb050fe28786751a76cdfaef40f4f79aaa72ba2 /src/cpu/kvm/base.hh | |
parent | 407233f5d80d04e27234eb70750a7f6ee13acd4f (diff) | |
download | gem5-0d50979888c1653e9ceb856c6bffa3f5062adeb9.tar.xz |
misc: Add missing overrides to appease clang
Since the last round of fixes a few new issues have snuck in. We
should consider switching the regression runs to clang.
Diffstat (limited to 'src/cpu/kvm/base.hh')
-rw-r--r-- | src/cpu/kvm/base.hh | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/cpu/kvm/base.hh b/src/cpu/kvm/base.hh index d57ac3421..4aeed2286 100644 --- a/src/cpu/kvm/base.hh +++ b/src/cpu/kvm/base.hh @@ -80,9 +80,9 @@ class BaseKvmCPU : public BaseCPU BaseKvmCPU(BaseKvmCPUParams *params); virtual ~BaseKvmCPU(); - void init(); - void startup(); - void regStats(); + void init() override; + void startup() override; + void regStats() override; void serializeThread(CheckpointOut &cp, ThreadID tid) const override; void unserializeThread(CheckpointIn &cp, ThreadID tid) override; @@ -90,24 +90,24 @@ class BaseKvmCPU : public BaseCPU DrainState drain() override; void drainResume() override; - void switchOut(); - void takeOverFrom(BaseCPU *cpu); + void switchOut() override; + void takeOverFrom(BaseCPU *cpu) override; - void verifyMemoryMode() const; + void verifyMemoryMode() const override; - MasterPort &getDataPort() { return dataPort; } - MasterPort &getInstPort() { return instPort; } + MasterPort &getDataPort() override { return dataPort; } + MasterPort &getInstPort() override { return instPort; } void wakeup(ThreadID tid = 0) override; - void activateContext(ThreadID thread_num); - void suspendContext(ThreadID thread_num); + void activateContext(ThreadID thread_num) override; + void suspendContext(ThreadID thread_num) override; void deallocateContext(ThreadID thread_num); - void haltContext(ThreadID thread_num); + void haltContext(ThreadID thread_num) override; - ThreadContext *getContext(int tn); + ThreadContext *getContext(int tn) override; - Counter totalInsts() const; - Counter totalOps() const; + Counter totalInsts() const override; + Counter totalOps() const override; /** Dump the internal state to the terminal. */ virtual void dump() const; |