mem: Updated DRAMSim2 wrapper to new drain API
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 13 Jul 2015 12:46:16 +0000 (08:46 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 13 Jul 2015 12:46:16 +0000 (08:46 -0400)
Somehow this one slipped through without being updated.

src/mem/dramsim2.cc

index 6d0b843369600e87f2d834d7d6ee4f24432b1513..64acc5b573cd394dbb3a168c7623dd441e85e99c 100644 (file)
@@ -349,7 +349,7 @@ DRAMSim2::getSlavePort(const std::string &if_name, PortID idx)
     }
 }
 
-unsigned int
+DrainState
 DRAMSim2::drain()
 {
     // check our outstanding reads and writes and if any they need to