summaryrefslogtreecommitdiff
path: root/src/cpu/memtest
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2007-05-21 23:36:09 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2007-05-21 23:36:09 -0700
commit41241799ae1f918b6eb9c0d0b8abdf2ceb5b972a (patch)
treed11eeaa2ac8efc6cbdf2260a2fa9234512407a20 /src/cpu/memtest
parent05d14cf3e258bc414695711e6d7303cf31e72fa3 (diff)
downloadgem5-41241799ae1f918b6eb9c0d0b8abdf2ceb5b972a.tar.xz
Change getDeviceAddressRanges to use bool for snoop arg.
--HG-- extra : convert_revision : 832e52ba80cbab2f5bb6d5b5977a499d41b4d638
Diffstat (limited to 'src/cpu/memtest')
-rw-r--r--src/cpu/memtest/memtest.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/memtest/memtest.hh b/src/cpu/memtest/memtest.hh
index 264309fd7..123ee2a6c 100644
--- a/src/cpu/memtest/memtest.hh
+++ b/src/cpu/memtest/memtest.hh
@@ -115,8 +115,8 @@ class MemTest : public MemObject
virtual void recvRetry();
virtual void getDeviceAddressRanges(AddrRangeList &resp,
- AddrRangeList &snoop)
- { resp.clear(); snoop.clear(); snoop.push_back(RangeSize(0,0)); }
+ bool &snoop)
+ { resp.clear(); snoop = true; }
};
CpuPort cachePort;