summaryrefslogtreecommitdiff
path: root/src/mem/cache
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-01-02 12:15:48 -0800
committerSteve Reinhardt <stever@gmail.com>2008-01-02 12:15:48 -0800
commit659aef3eb8ff2803601851b85347fee04c2721b8 (patch)
tree428997ef5e55dc6c893187115d6e76a77b2c7752 /src/mem/cache
parent2cb7d4f068238c84968b1b26d5f498c58779df24 (diff)
downloadgem5-659aef3eb8ff2803601851b85347fee04c2721b8.tar.xz
Fix formatting and comments in cache_impl.hh
--HG-- extra : convert_revision : 26d71cca5420ad03e16bf174e15dabe7f902da41
Diffstat (limited to 'src/mem/cache')
-rw-r--r--src/mem/cache/cache_impl.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh
index 61846e233..55301ecb5 100644
--- a/src/mem/cache/cache_impl.hh
+++ b/src/mem/cache/cache_impl.hh
@@ -919,7 +919,7 @@ Cache<TagStore>::doTimingSupplyResponse(PacketPtr req_pkt,
PacketPtr pkt = already_copied ? req_pkt : new Packet(req_pkt, true);
if (!req_pkt->isInvalidate()) {
// note that we're ignoring the shared flag on req_pkt... it's
- // basically irrelveant, as we'll always assert shared unless
+ // basically irrelevant, as we'll always assert shared unless
// it's an exclusive request, in which case the shared line
// should never be asserted1
pkt->assertShared();
@@ -1056,7 +1056,7 @@ Cache<TagStore>::snoopTiming(PacketPtr pkt)
pkt->getAddr());
//Look through writebacks for any non-uncachable writes, use that
- for (int i=0; i<writebacks.size(); i++) {
+ for (int i = 0; i < writebacks.size(); i++) {
mshr = writebacks[i];
assert(!mshr->isUncacheable());
assert(mshr->getNumTargets() == 1);