From: Ron Dreslinski Date: Wed, 11 Oct 2006 05:59:38 +0000 (-0400) Subject: Update for Atomic Coherece with Gabes bus X-Git-Tag: m5_2.0_beta2~104^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03c42ea5904ea5f9f5e8d634f6bc61992abef746;p=gem5.git Update for Atomic Coherece with Gabes bus --HG-- extra : convert_revision : 6a23052056d1c61cba0a4c77f1030cee419c6fa3 --- 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; }