summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/sparc/system.hh2
-rw-r--r--src/arch/sparc/tlb.hh6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/sparc/system.hh b/src/arch/sparc/system.hh
index 68a192cb9..d4b61bd95 100644
--- a/src/arch/sparc/system.hh
+++ b/src/arch/sparc/system.hh
@@ -48,7 +48,7 @@ class SparcSystem : public System
SparcSystem(Params *p);
~SparcSystem();
- virtual void initState();
+ void initState() override;
/**
* Serialization stuff
diff --git a/src/arch/sparc/tlb.hh b/src/arch/sparc/tlb.hh
index cd4634ab8..65b6aff72 100644
--- a/src/arch/sparc/tlb.hh
+++ b/src/arch/sparc/tlb.hh
@@ -115,7 +115,7 @@ class TLB : public BaseTLB
bool update_used = true);
/** Remove all entries from the TLB */
- void flushAll();
+ void flushAll() override;
protected:
/** Insert a PTE into the TLB. */
@@ -153,10 +153,10 @@ class TLB : public BaseTLB
typedef SparcTLBParams Params;
TLB(const Params *p);
- void takeOverFrom(BaseTLB *otlb) {}
+ void takeOverFrom(BaseTLB *otlb) override {}
void
- demapPage(Addr vaddr, uint64_t asn)
+ demapPage(Addr vaddr, uint64_t asn) override
{
panic("demapPage(Addr) is not implemented.\n");
}