From: Nathan Binkert Date: Sun, 24 Dec 2006 23:15:12 +0000 (-0800) Subject: Make sure that all of the bits in the result are set X-Git-Tag: m5_2.0_beta3~224^2~30 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d029fe584c4d6ea356b653c73a50c4271188698;p=gem5.git Make sure that all of the bits in the result are set to some value. --HG-- extra : convert_revision : 1f1700fd77531cbb8cfad7f04ce2b573fcdefdab --- diff --git a/src/dev/alpha/tsunami_cchip.cc b/src/dev/alpha/tsunami_cchip.cc index eb51d4e49..15c47984b 100644 --- a/src/dev/alpha/tsunami_cchip.cc +++ b/src/dev/alpha/tsunami_cchip.cc @@ -88,6 +88,8 @@ TsunamiCChip::read(PacketPtr pkt) switch (pkt->getSize()) { case sizeof(uint64_t): + pkt->set(0); + if (daddr & TSDEV_CC_BDIMS) { pkt->set(dim[(daddr >> 4) & 0x3F]);