diff options
Diffstat (limited to 'mem')
-rw-r--r-- | mem/bus.hh | 2 | ||||
-rw-r--r-- | mem/physical.cc | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/mem/bus.hh b/mem/bus.hh index 54de8aa1e..eff42c55a 100644 --- a/mem/bus.hh +++ b/mem/bus.hh @@ -120,7 +120,7 @@ class Bus : public MemObject // downstream from this bus, yes? That is, the union of all // the 'owned' address ranges of all the other interfaces on // this bus... - virtual void addressRanges(AddrRangeList &range_list, bool &owner); + virtual void addressRanges(AddrRangeList &resp, AddrRangeList &snoop); // Hack to make translating port work without changes virtual int deviceBlockSize() { return 32; } diff --git a/mem/physical.cc b/mem/physical.cc index 046fad868..4087f3e32 100644 --- a/mem/physical.cc +++ b/mem/physical.cc @@ -184,18 +184,18 @@ PhysicalMemory::MemoryPort::recvStatusChange(Port::Status status) } void -PhysicalMemory::MemoryPort::getDeviceAddressRanges(AddrRangeList &range_list, - bool &owner) +PhysicalMemory::MemoryPort::getDeviceAddressRanges(AddrRangeList &resp, + AddrRangeList &snoop) { - memory->getAddressRanges(range_list, owner); + memory->getAddressRanges(resp, snoop); } void -PhysicalMemory::getAddressRanges(AddrRangeList &range_list, bool &owner) +PhysicalMemory::getAddressRanges(AddrRangeList &resp, AddrRangeList &snoop) { - owner = true; - range_list.clear(); - range_list.push_back(RangeSize(base_addr, pmem_size)); + snoop.clear(); + resp.clear(); + resp.push_back(RangeSize(base_addr, pmem_size)); } int |