Fix cache problem with writes to tempBlock

getting wrong writeback address.

--HG--
extra : convert_revision : 023dfb69c227c13a69bfe2744c6af75a45828b0b
This commit is contained in:
Steve Reinhardt 2008-03-22 22:17:15 -04:00
parent 3fe1af7952
commit 407710d387

View file

@ -941,6 +941,7 @@ Cache<TagStore>::handleFill(PacketPtr pkt, BlkType *blk,
assert(!tempBlock->isValid()); assert(!tempBlock->isValid());
blk = tempBlock; blk = tempBlock;
tempBlock->set = tags->extractSet(addr); tempBlock->set = tags->extractSet(addr);
tempBlock->tag = tags->extractTag(addr);
DPRINTF(Cache, "using temp block for %x\n", addr); DPRINTF(Cache, "using temp block for %x\n", addr);
} }
} else { } else {