projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e68a87e
)
Make sure that all of the bits in the result are set
author
Nathan Binkert
<binkertn@umich.edu>
Sun, 24 Dec 2006 23:15:12 +0000
(15:15 -0800)
committer
Nathan 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
patch
|
blob
|
history
diff --git
a/src/dev/alpha/tsunami_cchip.cc
b/src/dev/alpha/tsunami_cchip.cc
index eb51d4e49951a38efb8f5565cdb861ca3d9cdcd0..15c47984b11b48380f79a15ec1cd9fc63b92b4b6 100644
(file)
--- 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]);