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/dev/x86/i8042.hh | |
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/dev/x86/i8042.hh')
-rw-r--r-- | src/dev/x86/i8042.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dev/x86/i8042.hh b/src/dev/x86/i8042.hh index bddbe9b27..82d07e9cf 100644 --- a/src/dev/x86/i8042.hh +++ b/src/dev/x86/i8042.hh @@ -118,7 +118,7 @@ class PS2Mouse : public PS2Device PS2Mouse() : PS2Device(), status(0), resolution(4), sampleRate(100) {} - bool processData(uint8_t data); + bool processData(uint8_t data) override; void serialize(const std::string &base, CheckpointOut &cp) const override; void unserialize(const std::string &base, CheckpointIn &cp) override; @@ -151,7 +151,7 @@ class PS2Keyboard : public PS2Device }; public: - bool processData(uint8_t data); + bool processData(uint8_t data) override; }; class I8042 : public BasicPioDevice @@ -241,11 +241,11 @@ class I8042 : public BasicPioDevice I8042(Params *p); - AddrRangeList getAddrRanges() const; + AddrRangeList getAddrRanges() const override; - Tick read(PacketPtr pkt); + Tick read(PacketPtr pkt) override; - Tick write(PacketPtr pkt); + Tick write(PacketPtr pkt) override; void serialize(CheckpointOut &cp) const override; void unserialize(CheckpointIn &cp) override; |