From 4c40848dcc4ac02072d18520da9190f4afe33282 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Tue, 31 Jan 2006 15:03:04 -0500 Subject: [PATCH] Remove non-needed functions, fix return values of completion handler. --HG-- extra : convert_revision : 7c0cb6b13ba68650d54cdc35779517e8c4b5e3ff --- cpu/simple/cpu.hh | 8 ++------ 1 file 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(); -- 2.30.2