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/cpu/ozone | |
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/cpu/ozone')
-rw-r--r-- | src/cpu/ozone/front_end.hh | 4 | ||||
-rw-r--r-- | src/cpu/ozone/lw_lsq.hh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/ozone/front_end.hh b/src/cpu/ozone/front_end.hh index 0acf99ead..667392c06 100644 --- a/src/cpu/ozone/front_end.hh +++ b/src/cpu/ozone/front_end.hh @@ -91,8 +91,8 @@ class FrontEnd /** Returns the address ranges of this device. */ virtual void getDeviceAddressRanges(AddrRangeList &resp, - AddrRangeList &snoop) - { resp.clear(); snoop.clear(); snoop.push_back(RangeSize(0,0)); } + bool &snoop) + { resp.clear(); snoop = true; } /** Timing version of receive. Handles setting fetch to the * proper status to start fetching. */ diff --git a/src/cpu/ozone/lw_lsq.hh b/src/cpu/ozone/lw_lsq.hh index c981b8e63..2048ad6bb 100644 --- a/src/cpu/ozone/lw_lsq.hh +++ b/src/cpu/ozone/lw_lsq.hh @@ -257,8 +257,8 @@ class OzoneLWLSQ { virtual void recvStatusChange(Status status); virtual void getDeviceAddressRanges(AddrRangeList &resp, - AddrRangeList &snoop) - { resp.clear(); snoop.clear(); snoop.push_back(RangeSize(0,0)); } + bool &snoop) + { resp.clear(); snoop = true; } virtual bool recvTiming(PacketPtr pkt); |