From: Ron Dreslinski Date: Wed, 18 Oct 2006 20:38:02 +0000 (-0400) Subject: Fix WriteInvalidateResp X-Git-Tag: m5_2.0_beta2~83^2~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5bcdc74fe20f17f1bcacf35473d290edc4f87aa5;p=gem5.git Fix WriteInvalidateResp --HG-- extra : convert_revision : ac4281944202a9a2f166b305a1eaea507e484bcc --- 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