projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b407980
)
Yet another fix to the HasData command attribute.
author
Ron Dreslinski
<rdreslin@umich.edu>
Tue, 10 Oct 2006 06:33:30 +0000
(
02:33
-0400)
committer
Ron Dreslinski
<rdreslin@umich.edu>
Tue, 10 Oct 2006 06:33:30 +0000
(
02:33
-0400)
--HG--
extra : convert_revision :
dcf0d7eafa5168591c2b374b452821ca34dde7f9
src/mem/packet.hh
patch
|
blob
|
history
diff --git
a/src/mem/packet.hh
b/src/mem/packet.hh
index 99841915629d72245084237a1ff2f613ad79eb5f..7ec061710c2d5b9fd5afacf7738b3ad98c15cbd6 100644
(file)
--- 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;