summaryrefslogtreecommitdiff
path: root/src/dev/x86/i8042.hh
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/dev/x86/i8042.hh
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/dev/x86/i8042.hh')
-rw-r--r--src/dev/x86/i8042.hh10
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;