diff options
author | Andrea Mondelli <Andrea.Mondelli@ucf.edu> | 2019-12-04 11:31:24 -0500 |
---|---|---|
committer | Andrea Mondelli <Andrea.Mondelli@ucf.edu> | 2019-12-05 03:56:46 +0000 |
commit | 7dd740d93a254cbe901ab76240b98719ae0ab82e (patch) | |
tree | 090850ee3d113c670eb50011cd980923eecd990b /src/arch | |
parent | 18cbc34a56b91133ba9ea418bfaf793a43dc212a (diff) | |
download | gem5-7dd740d93a254cbe901ab76240b98719ae0ab82e.tar.xz |
arch-x86: missing override specifier
Change-Id: I5a6db4632ec5b670cbfeb7d52190a7545c0b985f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23380
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/interrupts.hh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/arch/x86/interrupts.hh b/src/arch/x86/interrupts.hh index 3c383ab92..5a07dad51 100644 --- a/src/arch/x86/interrupts.hh +++ b/src/arch/x86/interrupts.hh @@ -196,7 +196,7 @@ class Interrupts : public BaseInterrupts */ typedef X86LocalApicParams Params; - void setCPU(BaseCPU * newCPU); + void setCPU(BaseCPU * newCPU) override; const Params * params() const @@ -264,7 +264,7 @@ class Interrupts : public BaseInterrupts * Functions for retrieving interrupts for the CPU to handle. */ - bool checkInterrupts(ThreadContext *tc) const; + bool checkInterrupts(ThreadContext *tc) const override; /** * Check if there are pending interrupts without ignoring the * interrupts disabled flag. @@ -278,8 +278,8 @@ class Interrupts : public BaseInterrupts * @return true there are unmaskable interrupts pending. */ bool hasPendingUnmaskable() const { return pendingUnmaskableInt; } - Fault getInterrupt(ThreadContext *tc); - void updateIntrInfo(ThreadContext *tc); + Fault getInterrupt(ThreadContext *tc) override; + void updateIntrInfo(ThreadContext *tc) override; /* * Serialization. @@ -292,19 +292,19 @@ class Interrupts : public BaseInterrupts * eventually. */ void - post(int int_num, int index) + post(int int_num, int index) override { panic("Interrupts::post unimplemented!\n"); } void - clear(int int_num, int index) + clear(int int_num, int index) override { panic("Interrupts::clear unimplemented!\n"); } void - clearAll() + clearAll() override { panic("Interrupts::clearAll unimplemented!\n"); } |