summaryrefslogtreecommitdiff
path: root/src/dev/alpha/tsunami_cchip.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-12-24 15:15:12 -0800
committerNathan Binkert <binkertn@umich.edu>2006-12-24 15:15:12 -0800
commit2d029fe584c4d6ea356b653c73a50c4271188698 (patch)
tree6b45c77d3821ccfd5876d0119b6a46e949273ebf /src/dev/alpha/tsunami_cchip.cc
parente68a87e7fa3d9e75afb4acc96c0ac7c059bdedec (diff)
downloadgem5-2d029fe584c4d6ea356b653c73a50c4271188698.tar.xz
Make sure that all of the bits in the result are set
to some value. --HG-- extra : convert_revision : 1f1700fd77531cbb8cfad7f04ce2b573fcdefdab
Diffstat (limited to 'src/dev/alpha/tsunami_cchip.cc')
-rw-r--r--src/dev/alpha/tsunami_cchip.cc2
1 files changed, 2 insertions, 0 deletions
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<uint64_t>(0);
+
if (daddr & TSDEV_CC_BDIMS)
{
pkt->set(dim[(daddr >> 4) & 0x3F]);