summaryrefslogtreecommitdiff
path: root/src/mem/dramsim2.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-07-13 08:46:16 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2015-07-13 08:46:16 -0400
commitd870c399d37a341ed6d0f59e892bf012df0e3d8a (patch)
treeee45bf4d2844be36e51dafea8e883cc6a67d58ff /src/mem/dramsim2.cc
parentbfe7ee96ad5abec40639d47dc2b0512d6baa0f81 (diff)
downloadgem5-d870c399d37a341ed6d0f59e892bf012df0e3d8a.tar.xz
mem: Updated DRAMSim2 wrapper to new drain API
Somehow this one slipped through without being updated.
Diffstat (limited to 'src/mem/dramsim2.cc')
-rw-r--r--src/mem/dramsim2.cc2
1 files changed, 1 insertions, 1 deletions
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