summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-10-10 02:21:03 -0400
committerRon Dreslinski <rdreslin@umich.edu>2006-10-10 02:21:03 -0400
commitb40798070ba2e2b0a7c94f2afaf79574123a0592 (patch)
treec116f0e137a119387c4ca8874898f36db1dc729a /src
parent89e80ccc203891f056a587b777fde9efddaba18f (diff)
downloadgem5-b40798070ba2e2b0a7c94f2afaf79574123a0592.tar.xz
Actually set the HasData attribute on Read Responses
--HG-- extra : convert_revision : 129dadbf8091ab00fb7f16eace59df265fc3718c
Diffstat (limited to 'src')
-rw-r--r--src/mem/packet.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh
index 3d43615bf..998419156 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -325,6 +325,8 @@ class Packet
int icmd = (int)cmd;
icmd &= ~(IsRequest);
icmd |= IsResponse;
+ if (isRead())
+ icmd |= HasData;
cmd = (Command)icmd;
dest = src;
srcValid = false;