port.cc (9294:8fb03b13de02) port.cc (9814:7ad2b0186a32)
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 141 unchanged lines hidden (view full) ---

150 if (_slavePort == NULL)
151 panic("Attempting to unbind master port %s that is not connected\n",
152 name());
153 _slavePort->unbind();
154 _slavePort = NULL;
155 _baseSlavePort = NULL;
156}
157
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 141 unchanged lines hidden (view full) ---

150 if (_slavePort == NULL)
151 panic("Attempting to unbind master port %s that is not connected\n",
152 name());
153 _slavePort->unbind();
154 _slavePort = NULL;
155 _baseSlavePort = NULL;
156}
157
158unsigned
159MasterPort::peerBlockSize() const
160{
161 return _slavePort->deviceBlockSize();
162}
163
164AddrRangeList
165MasterPort::getAddrRanges() const
166{
167 return _slavePort->getAddrRanges();
168}
169
170Tick
171MasterPort::sendAtomic(PacketPtr pkt)

--- 61 unchanged lines hidden (view full) ---

233
234void
235SlavePort::bind(MasterPort& master_port)
236{
237 _baseMasterPort = &master_port;
238 _masterPort = &master_port;
239}
240
158AddrRangeList
159MasterPort::getAddrRanges() const
160{
161 return _slavePort->getAddrRanges();
162}
163
164Tick
165MasterPort::sendAtomic(PacketPtr pkt)

--- 61 unchanged lines hidden (view full) ---

227
228void
229SlavePort::bind(MasterPort& master_port)
230{
231 _baseMasterPort = &master_port;
232 _masterPort = &master_port;
233}
234
241unsigned
242SlavePort::peerBlockSize() const
243{
244 return _masterPort->deviceBlockSize();
245}
246
247Tick
248SlavePort::sendAtomicSnoop(PacketPtr pkt)
249{
250 assert(pkt->isRequest());
251 return _masterPort->recvAtomicSnoop(pkt);
252}
253
254void

--- 25 unchanged lines hidden ---
235Tick
236SlavePort::sendAtomicSnoop(PacketPtr pkt)
237{
238 assert(pkt->isRequest());
239 return _masterPort->recvAtomicSnoop(pkt);
240}
241
242void

--- 25 unchanged lines hidden ---