change packet: reset() to resetMin() resetAll() which reset the minium
authorAli Saidi <saidi@eecs.umich.edu>
Mon, 17 Apr 2006 18:55:15 +0000 (14:55 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Mon, 17 Apr 2006 18:55:15 +0000 (14:55 -0400)
and the entire packet respectively.

--HG--
extra : convert_revision : 70b8bc8a2cf304d4c955d1a997df4a9a8edd4989

cpu/simple/cpu.cc
mem/request.hh

index 85a38f99cd90941004e4d3863f3e86196cea91ef..0f1f9574a9b52ccd639b180fab8d0cb6c5fc4653 100644 (file)
@@ -973,7 +973,7 @@ SimpleCPU::tick()
         ifetch_req->setSize(sizeof(MachInst));
 #endif
 
-        ifetch_req->reset(true);
+        ifetch_req->resetMin();
         ifetch_req->setVaddr(cpuXC->readPC() & ~3);
         ifetch_req->setTime(curTick);
 #if FULL_SYSTEM
index 6bcfd9c5bc194381250d8cf25c4aaa1f3c38b300..903e7503cb1363d0bf861af861f44293289f3a77 100644 (file)
@@ -66,9 +66,12 @@ class Request
     /** Constructor, needs a bool to signify if it is/isn't Cpu Request. */
     Request(bool isCpu);
 
-    /** reset the request to it's initial state so it can be reused by the
-     * CPU.*/
-    void reset(bool isCpu);
+    /** reset the request to it's initial state so it can be reused.*/
+    void resetAll(bool isCpu);
+
+    /** reset the request's addrs times, etc, so but not everything to same
+     * time. */
+    void resetMin();
 
 //First non-cpu request fields
   private: