summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu/simple/cpu.hh8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpu/simple/cpu.hh b/cpu/simple/cpu.hh
index ac4e1cf22..8573a5258 100644
--- a/cpu/simple/cpu.hh
+++ b/cpu/simple/cpu.hh
@@ -80,10 +80,10 @@ class SimpleCPU : public BaseCPU
protected:
virtual bool recvTiming(Packet &pkt)
- { return cpu->processCacheCompletion(pkt); }
+ { cpu->processCacheCompletion(pkt); return true; }
virtual Tick recvAtomic(Packet &pkt)
- { return cpu->processCacheCompletion(pkt); }
+ { cpu->processCacheCompletion(pkt); return CurTick; }
virtual void recvFunctional(Packet &pkt)
{ cpu->processCacheCompletion(pkt); }
@@ -96,10 +96,6 @@ class SimpleCPU : public BaseCPU
CpuPort icache_port;
CpuPort dcache_port;
- bool recvTiming(Packet &pkt);
- Tick recvAtomic(Packet &pkt);
- void recvFunctional(Packet &pkt);
-
public:
// main simulation loop (one cycle)
void tick();