Make sure that all of the bits in the result are set
authorNathan Binkert <binkertn@umich.edu>
Sun, 24 Dec 2006 23:15:12 +0000 (15:15 -0800)
committerNathan Binkert <binkertn@umich.edu>
Sun, 24 Dec 2006 23:15:12 +0000 (15:15 -0800)
to some value.

--HG--
extra : convert_revision : 1f1700fd77531cbb8cfad7f04ce2b573fcdefdab

src/dev/alpha/tsunami_cchip.cc

index eb51d4e49951a38efb8f5565cdb861ca3d9cdcd0..15c47984b11b48380f79a15ec1cd9fc63b92b4b6 100644 (file)
@@ -88,6 +88,8 @@ TsunamiCChip::read(PacketPtr pkt)
     switch (pkt->getSize()) {
 
       case sizeof(uint64_t):
+          pkt->set<uint64_t>(0);
+
           if (daddr & TSDEV_CC_BDIMS)
           {
               pkt->set(dim[(daddr >> 4) & 0x3F]);