From: Ron Dreslinski Date: Tue, 31 Jan 2006 20:03:04 +0000 (-0500) Subject: Remove non-needed functions, fix return values of completion handler. X-Git-Tag: m5_2.0_beta1~239 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c40848dcc4ac02072d18520da9190f4afe33282;p=gem5.git Remove non-needed functions, fix return values of completion handler. --HG-- extra : convert_revision : 7c0cb6b13ba68650d54cdc35779517e8c4b5e3ff --- 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();