Since cpus now send out snoop ranges, remove it from the cache.
--HG-- extra : convert_revision : 82882eb131aa66eba9f281b64db21d5cbfefb1b9
This commit is contained in:
parent
a962fc4f56
commit
356a4f9f59
1 changed files with 0 additions and 7 deletions
7
src/mem/cache/base_cache.hh
vendored
7
src/mem/cache/base_cache.hh
vendored
|
@ -144,8 +144,6 @@ class BaseCache : public MemObject
|
|||
protected:
|
||||
CachePort *memSidePort;
|
||||
|
||||
bool snoopRangesSent;
|
||||
|
||||
public:
|
||||
virtual Port *getPort(const std::string &if_name, int idx = -1);
|
||||
|
||||
|
@ -171,10 +169,6 @@ class BaseCache : public MemObject
|
|||
if (status == Port::RangeChange){
|
||||
if (!isCpuSide) {
|
||||
cpuSidePort->sendStatusChange(Port::RangeChange);
|
||||
if (!snoopRangesSent) {
|
||||
snoopRangesSent = true;
|
||||
memSidePort->sendStatusChange(Port::RangeChange);
|
||||
}
|
||||
}
|
||||
else {
|
||||
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
|
||||
cpuSidePort = NULL;
|
||||
memSidePort = NULL;
|
||||
snoopRangesSent = false;
|
||||
}
|
||||
|
||||
~BaseCache()
|
||||
|
|
Loading…
Reference in a new issue