diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-10-10 02:21:03 -0400 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-10-10 02:21:03 -0400 |
commit | b40798070ba2e2b0a7c94f2afaf79574123a0592 (patch) | |
tree | c116f0e137a119387c4ca8874898f36db1dc729a /src/mem | |
parent | 89e80ccc203891f056a587b777fde9efddaba18f (diff) | |
download | gem5-b40798070ba2e2b0a7c94f2afaf79574123a0592.tar.xz |
Actually set the HasData attribute on Read Responses
--HG--
extra : convert_revision : 129dadbf8091ab00fb7f16eace59df265fc3718c
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/packet.hh | 2 |
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; |