projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f03a620
)
Tweak check for writable block fill.
author
Steve Reinhardt
<stever@gmail.com>
Sat, 17 Nov 2007 04:10:33 +0000
(20:10 -0800)
committer
Steve Reinhardt
<stever@gmail.com>
Sat, 17 Nov 2007 04:10:33 +0000
(20:10 -0800)
--HG--
extra : convert_revision :
c04281bcfc4cd23c7613aeccb21dc74452bcc951
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 92ff4d12e2f826c30c16b6bfa80b348b6c1ee390..61846e23318d089d267018e56e132eac0b07cb62 100644
(file)
--- a/
src/mem/cache/cache_impl.hh
+++ b/
src/mem/cache/cache_impl.hh
@@
-881,9
+881,10
@@
Cache<TagStore>::handleFill(PacketPtr pkt, BlkType *blk,
assert(pkt->isRead() || blk->isValid());
}
- if (
pkt->needsExclusive() ||
!pkt->sharedAsserted()) {
+ if (!pkt->sharedAsserted()) {
blk->status = BlkValid | BlkWritable;
} else {
+ assert(!pkt->needsExclusive());
blk->status = BlkValid;
}