Since cpus now send out snoop ranges, remove it from the cache.

--HG--
extra : convert_revision : 82882eb131aa66eba9f281b64db21d5cbfefb1b9
This commit is contained in:
Ron Dreslinski 2006-11-13 19:00:50 -05:00
parent a962fc4f56
commit 356a4f9f59

View file

@ -144,8 +144,6 @@ class BaseCache : public MemObject
protected: protected:
CachePort *memSidePort; CachePort *memSidePort;
bool snoopRangesSent;
public: public:
virtual Port *getPort(const std::string &if_name, int idx = -1); virtual Port *getPort(const std::string &if_name, int idx = -1);
@ -171,10 +169,6 @@ class BaseCache : public MemObject
if (status == Port::RangeChange){ if (status == Port::RangeChange){
if (!isCpuSide) { if (!isCpuSide) {
cpuSidePort->sendStatusChange(Port::RangeChange); cpuSidePort->sendStatusChange(Port::RangeChange);
if (!snoopRangesSent) {
snoopRangesSent = true;
memSidePort->sendStatusChange(Port::RangeChange);
}
} }
else { else {
memSidePort->sendStatusChange(Port::RangeChange); memSidePort->sendStatusChange(Port::RangeChange);
@ -358,7 +352,6 @@ class BaseCache : public MemObject
//Start ports at null if more than one is created we should panic //Start ports at null if more than one is created we should panic
cpuSidePort = NULL; cpuSidePort = NULL;
memSidePort = NULL; memSidePort = NULL;
snoopRangesSent = false;
} }
~BaseCache() ~BaseCache()