diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-05-21 23:36:09 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-05-21 23:36:09 -0700 |
commit | 41241799ae1f918b6eb9c0d0b8abdf2ceb5b972a (patch) | |
tree | d11eeaa2ac8efc6cbdf2260a2fa9234512407a20 /src/mem/physical.cc | |
parent | 05d14cf3e258bc414695711e6d7303cf31e72fa3 (diff) | |
download | gem5-41241799ae1f918b6eb9c0d0b8abdf2ceb5b972a.tar.xz |
Change getDeviceAddressRanges to use bool for snoop arg.
--HG--
extra : convert_revision : 832e52ba80cbab2f5bb6d5b5977a499d41b4d638
Diffstat (limited to 'src/mem/physical.cc')
-rw-r--r-- | src/mem/physical.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mem/physical.cc b/src/mem/physical.cc index 97c42509f..6621c36cf 100644 --- a/src/mem/physical.cc +++ b/src/mem/physical.cc @@ -385,18 +385,17 @@ PhysicalMemory::MemoryPort::recvStatusChange(Port::Status status) void PhysicalMemory::MemoryPort::getDeviceAddressRanges(AddrRangeList &resp, - AddrRangeList &snoop) + bool &snoop) { memory->getAddressRanges(resp, snoop); } void -PhysicalMemory::getAddressRanges(AddrRangeList &resp, AddrRangeList &snoop) +PhysicalMemory::getAddressRanges(AddrRangeList &resp, bool &snoop) { - snoop.clear(); + snoop = false; resp.clear(); - resp.push_back(RangeSize(start(), - params()->addrRange.size())); + resp.push_back(RangeSize(start(), params()->addrRange.size())); } int |