Remove non-needed functions, fix return values of completion handler.
authorRon Dreslinski <rdreslin@umich.edu>
Tue, 31 Jan 2006 20:03:04 +0000 (15:03 -0500)
committerRon Dreslinski <rdreslin@umich.edu>
Tue, 31 Jan 2006 20:03:04 +0000 (15:03 -0500)
--HG--
extra : convert_revision : 7c0cb6b13ba68650d54cdc35779517e8c4b5e3ff

cpu/simple/cpu.hh

index ac4e1cf2241e60d67957483b1988887a259b239d..8573a5258e8219dda1ab03243516c6f1f1a5259e 100644 (file)
@@ -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();