projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89e80cc
)
Actually set the HasData attribute on Read Responses
author
Ron Dreslinski
<rdreslin@umich.edu>
Tue, 10 Oct 2006 06:21:03 +0000
(
02:21
-0400)
committer
Ron Dreslinski
<rdreslin@umich.edu>
Tue, 10 Oct 2006 06:21:03 +0000
(
02:21
-0400)
--HG--
extra : convert_revision :
129dadbf8091ab00fb7f16eace59df265fc3718c
src/mem/packet.hh
patch
|
blob
|
history
diff --git
a/src/mem/packet.hh
b/src/mem/packet.hh
index 3d43615bfffca498e7fc2a0bcbf01a444f07629c..99841915629d72245084237a1ff2f613ad79eb5f 100644
(file)
--- 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;