summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-10-18 16:38:02 -0400
committerRon Dreslinski <rdreslin@umich.edu>2006-10-18 16:38:02 -0400
commit5bcdc74fe20f17f1bcacf35473d290edc4f87aa5 (patch)
treec28a779dafcfa19c89ef81093daa7205d40cc43e /src/mem
parent63c2a782d60dffaf7150ed0799767b215bbce6fb (diff)
downloadgem5-5bcdc74fe20f17f1bcacf35473d290edc4f87aa5.tar.xz
Fix WriteInvalidateResp
--HG-- extra : convert_revision : ac4281944202a9a2f166b305a1eaea507e484bcc
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/packet.cc3
-rw-r--r--src/mem/packet.hh3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mem/packet.cc b/src/mem/packet.cc
index 64c65dcca..a16e590e3 100644
--- a/src/mem/packet.cc
+++ b/src/mem/packet.cc
@@ -51,6 +51,7 @@ static const std::string HardPFReqString("HardPFReq");
static const std::string HardPFRespString("HardPFResp");
static const std::string InvalidateReqString("InvalidateReq");
static const std::string WriteInvalidateReqString("WriteInvalidateReq");
+static const std::string WriteInvalidateRespString("WriteInvalidateResp");
static const std::string UpgradeReqString("UpgradeReq");
static const std::string ReadExReqString("ReadExReq");
static const std::string ReadExRespString("ReadExResp");
@@ -71,6 +72,7 @@ Packet::cmdString() const
case HardPFResp: return HardPFRespString;
case InvalidateReq: return InvalidateReqString;
case WriteInvalidateReq:return WriteInvalidateReqString;
+ case WriteInvalidateResp:return WriteInvalidateRespString;
case UpgradeReq: return UpgradeReqString;
case ReadExReq: return ReadExReqString;
case ReadExResp: return ReadExRespString;
@@ -93,6 +95,7 @@ Packet::cmdIdxToString(Packet::Command idx)
case HardPFResp: return HardPFRespString;
case InvalidateReq: return InvalidateReqString;
case WriteInvalidateReq:return WriteInvalidateReqString;
+ case WriteInvalidateResp:return WriteInvalidateRespString;
case UpgradeReq: return UpgradeReqString;
case ReadExReq: return ReadExReqString;
case ReadExResp: return ReadExRespString;
diff --git a/src/mem/packet.hh b/src/mem/packet.hh
index 319a4e534..f6197885e 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -204,7 +204,8 @@ class Packet
InvalidateReq = IsInvalidate | IsRequest,
WriteInvalidateReq = IsWrite | IsInvalidate | IsRequest
| HasData | NeedsResponse,
- WriteInvalidateResp = IsWrite | IsInvalidate | IsRequest | NeedsResponse,
+ WriteInvalidateResp = IsWrite | IsInvalidate | IsRequest | NeedsResponse
+ | IsResponse,
UpgradeReq = IsInvalidate | IsRequest | IsUpgrade,
ReadExReq = IsRead | IsInvalidate | IsRequest | NeedsResponse,
ReadExResp = IsRead | IsInvalidate | IsResponse