Make sure that all of the bits in the result are set

to some value.

--HG--
extra : convert_revision : 1f1700fd77531cbb8cfad7f04ce2b573fcdefdab
This commit is contained in:
Nathan Binkert
2006-12-24 15:15:12 -08:00
parent e68a87e7fa
commit 2d029fe584

View 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]);