diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-10-11 01:59:38 -0400 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-10-11 01:59:38 -0400 |
commit | 03c42ea5904ea5f9f5e8d634f6bc61992abef746 (patch) | |
tree | dcb169724c921c66e9ca960ff6ca44008cb18de0 /src/mem/packet.hh | |
parent | 60252f8e63dae98f2ee7b99336f567a99837edd4 (diff) | |
download | gem5-03c42ea5904ea5f9f5e8d634f6bc61992abef746.tar.xz |
Update for Atomic Coherece with Gabes bus
--HG--
extra : convert_revision : 6a23052056d1c61cba0a4c77f1030cee419c6fa3
Diffstat (limited to 'src/mem/packet.hh')
-rw-r--r-- | src/mem/packet.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh index 3a7286a69..7ede48bfd 100644 --- 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; } |