summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-10-10 02:33:30 -0400
committerRon Dreslinski <rdreslin@umich.edu>2006-10-10 02:33:30 -0400
commit3fa5e4b6b8c402558caecb2a93ed0be38700e1bc (patch)
tree6fa1f0e99b2a54014723dbc330b7f6a316422d2e /src/mem
parentb40798070ba2e2b0a7c94f2afaf79574123a0592 (diff)
downloadgem5-3fa5e4b6b8c402558caecb2a93ed0be38700e1bc.tar.xz
Yet another fix to the HasData command attribute.
--HG-- extra : convert_revision : dcf0d7eafa5168591c2b374b452821ca34dde7f9
Diffstat (limited to 'src/mem')
-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 998419156..7ec061710 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -327,6 +327,8 @@ class Packet
icmd |= IsResponse;
if (isRead())
icmd |= HasData;
+ if (isWrite())
+ icmd &= ~HasData;
cmd = (Command)icmd;
dest = src;
srcValid = false;