summaryrefslogtreecommitdiff
path: root/src/mem/packet.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/packet.hh')
-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;