summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-08-21 07:03:24 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2015-08-21 07:03:24 -0400
commitbda79817c86137a4576b4bc2fe241a67f1740f60 (patch)
treeed6b144cba1ad6577232d58b1c1fda16895f4531 /src/mem/cache/cache.cc
parentddfa96cf455ba4a287930942514cdf0f7f2afa77 (diff)
downloadgem5-bda79817c86137a4576b4bc2fe241a67f1740f60.tar.xz
mem: Remove unused cache squash functionality
Tidying up.
Diffstat (limited to 'src/mem/cache/cache.cc')
-rw-r--r--src/mem/cache/cache.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mem/cache/cache.cc b/src/mem/cache/cache.cc
index 911785479..215fc323a 100644
--- a/src/mem/cache/cache.cc
+++ b/src/mem/cache/cache.cc
@@ -263,28 +263,6 @@ Cache::markInService(MSHR *mshr, bool pending_dirty_resp)
markInServiceInternal(mshr, pending_dirty_resp);
}
-
-void
-Cache::squash(int threadNum)
-{
- bool unblock = false;
- BlockedCause cause = NUM_BLOCKED_CAUSES;
-
- if (noTargetMSHR && noTargetMSHR->threadNum == threadNum) {
- noTargetMSHR = NULL;
- unblock = true;
- cause = Blocked_NoTargets;
- }
- if (mshrQueue.isFull()) {
- unblock = true;
- cause = Blocked_NoMSHRs;
- }
- mshrQueue.squash(threadNum);
- if (unblock && !mshrQueue.isFull()) {
- clearBlocked(cause);
- }
-}
-
/////////////////////////////////////////////////////
//
// Access path: requests coming in from the CPU side