summaryrefslogtreecommitdiff
path: root/src/mem/cache/queue_entry.hh
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2018-02-02 17:34:40 +0000
committerNikos Nikoleris <nikos.nikoleris@arm.com>2018-05-31 15:12:04 +0000
commit41db9b95aa234094da62fdd3a863870b175d8f97 (patch)
tree433ad327b0e148bbacc65e1fcfdb87e41f1c4cb4 /src/mem/cache/queue_entry.hh
parentd5c4dd986a48f13cc774e487993634d8c2b68e10 (diff)
downloadgem5-41db9b95aa234094da62fdd3a863870b175d8f97.tar.xz
mem-cache: Adopt a more sensible cache class hierarchy
This patch changes what goes into the BaseCache and what goes into the Cache, to make it easier to add a NoncoherentCache with as much re-use as possible. A number of redundant members and definitions are also removed in the process. This is a modified version of a changeset put together by Andreas Hansson <andreas.hansson@arm.com> Change-Id: Ie9dd73c4ec07732e778e7416b712dad8b4bd5d4b Reviewed-on: https://gem5-review.googlesource.com/10431 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache/queue_entry.hh')
-rw-r--r--src/mem/cache/queue_entry.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/cache/queue_entry.hh b/src/mem/cache/queue_entry.hh
index 02daee01a..8923d860b 100644
--- a/src/mem/cache/queue_entry.hh
+++ b/src/mem/cache/queue_entry.hh
@@ -51,7 +51,7 @@
#include "mem/packet.hh"
-class Cache;
+class BaseCache;
/**
* A queue entry base class, to be used by both the MSHRs and
@@ -102,7 +102,7 @@ class QueueEntry : public Packet::SenderState
* Send this queue entry as a downstream packet, with the exact
* behaviour depending on the specific entry type.
*/
- virtual bool sendPacket(Cache &cache) = 0;
+ virtual bool sendPacket(BaseCache &cache) = 0;
};