projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fe1af7
)
Fix cache problem with writes to tempBlock
author
Steve Reinhardt
<stever@gmail.com>
Sun, 23 Mar 2008 02:17:15 +0000
(22:17 -0400)
committer
Steve Reinhardt
<stever@gmail.com>
Sun, 23 Mar 2008 02:17:15 +0000
(22:17 -0400)
getting wrong writeback address.
--HG--
extra : convert_revision :
023dfb69c227c13a69bfe2744c6af75a45828b0b
src/mem/cache/cache_impl.hh
patch
|
blob
|
history
diff --git
a/src/mem/cache/cache_impl.hh
b/src/mem/cache/cache_impl.hh
index cf9528a75898495e908bcd497e4b1495b6be0320..2f4567e0d2f71c67f372e44e644e9bc0741ea0d5 100644
(file)
--- a/
src/mem/cache/cache_impl.hh
+++ b/
src/mem/cache/cache_impl.hh
@@
-941,6
+941,7
@@
Cache<TagStore>::handleFill(PacketPtr pkt, BlkType *blk,
assert(!tempBlock->isValid());
blk = tempBlock;
tempBlock->set = tags->extractSet(addr);
+ tempBlock->tag = tags->extractTag(addr);
DPRINTF(Cache, "using temp block for %x\n", addr);
}
} else {