projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60252f8
)
Update for Atomic Coherece with Gabes bus
author
Ron Dreslinski
<rdreslin@umich.edu>
Wed, 11 Oct 2006 05:59:38 +0000
(
01:59
-0400)
committer
Ron Dreslinski
<rdreslin@umich.edu>
Wed, 11 Oct 2006 05:59:38 +0000
(
01:59
-0400)
--HG--
extra : convert_revision :
6a23052056d1c61cba0a4c77f1030cee419c6fa3
src/mem/packet.hh
patch
|
blob
|
history
diff --git
a/src/mem/packet.hh
b/src/mem/packet.hh
index 3a7286a697caed5cb95bb54b47b6ac3d650d08e4..7ede48bfdcbb1336640c7c3866aa1e17566ff2fc 100644
(file)
--- a/
src/mem/packet.hh
+++ b/
src/mem/packet.hh
@@
-348,6
+348,10
@@
class Packet
int icmd = (int)cmd;
icmd &= ~(IsRequest);
icmd |= IsResponse;
+ if (isRead())
+ icmd |= HasData;
+ if (isWrite())
+ icmd &= ~HasData;
cmd = (Command)icmd;
}