From 03c42ea5904ea5f9f5e8d634f6bc61992abef746 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Wed, 11 Oct 2006 01:59:38 -0400 Subject: [PATCH] Update for Atomic Coherece with Gabes bus --HG-- extra : convert_revision : 6a23052056d1c61cba0a4c77f1030cee419c6fa3 --- src/mem/packet.hh | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.30.2