Yet another fix to the HasData command attribute.
authorRon Dreslinski <rdreslin@umich.edu>
Tue, 10 Oct 2006 06:33:30 +0000 (02:33 -0400)
committerRon Dreslinski <rdreslin@umich.edu>
Tue, 10 Oct 2006 06:33:30 +0000 (02:33 -0400)
--HG--
extra : convert_revision : dcf0d7eafa5168591c2b374b452821ca34dde7f9

src/mem/packet.hh

index 99841915629d72245084237a1ff2f613ad79eb5f..7ec061710c2d5b9fd5afacf7738b3ad98c15cbd6 100644 (file)
@@ -327,6 +327,8 @@ class Packet
         icmd |= IsResponse;
         if (isRead())
             icmd |= HasData;
+        if (isWrite())
+            icmd &= ~HasData;
         cmd = (Command)icmd;
         dest = src;
         srcValid = false;