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/i8254.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/i8254.hh')
-rw-r--r-- | src/dev/x86/i8254.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dev/x86/i8254.hh b/src/dev/x86/i8254.hh index 86d4f0323..8243f8391 100644 --- a/src/dev/x86/i8254.hh +++ b/src/dev/x86/i8254.hh @@ -81,9 +81,9 @@ class I8254 : public BasicPioDevice pit(p->name, this), intPin(p->int_pin) { } - Tick read(PacketPtr pkt); + Tick read(PacketPtr pkt) override; - Tick write(PacketPtr pkt); + Tick write(PacketPtr pkt) override; bool outputHigh(unsigned int num) @@ -112,7 +112,7 @@ class I8254 : public BasicPioDevice void serialize(CheckpointOut &cp) const override; void unserialize(CheckpointIn &cp) override; - virtual void startup(); + void startup() override; }; |