From: Ron Dreslinski Date: Tue, 10 Oct 2006 06:21:03 +0000 (-0400) Subject: Actually set the HasData attribute on Read Responses X-Git-Tag: m5_2.0_beta2~104^2~22^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b40798070ba2e2b0a7c94f2afaf79574123a0592;p=gem5.git Actually set the HasData attribute on Read Responses --HG-- extra : convert_revision : 129dadbf8091ab00fb7f16eace59df265fc3718c --- diff --git a/src/mem/packet.hh b/src/mem/packet.hh index 3d43615bf..998419156 100644 --- a/src/mem/packet.hh +++ b/src/mem/packet.hh @@ -325,6 +325,8 @@ class Packet int icmd = (int)cmd; icmd &= ~(IsRequest); icmd |= IsResponse; + if (isRead()) + icmd |= HasData; cmd = (Command)icmd; dest = src; srcValid = false;