From: Andreas Hansson Date: Mon, 13 Jul 2015 12:46:16 +0000 (-0400) Subject: mem: Updated DRAMSim2 wrapper to new drain API X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d870c399d37a341ed6d0f59e892bf012df0e3d8a;p=gem5.git mem: Updated DRAMSim2 wrapper to new drain API Somehow this one slipped through without being updated. --- diff --git a/src/mem/dramsim2.cc b/src/mem/dramsim2.cc index 6d0b84336..64acc5b57 100644 --- a/src/mem/dramsim2.cc +++ b/src/mem/dramsim2.cc @@ -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