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
--- 90 unchanged lines hidden (view full) ---
99}
100
101unsigned
102MasterPort::peerBlockSize() const
103{
104 return _slavePort->deviceBlockSize();
105}
106
107 void
108MasterPort::printAddr(Addr a)
109{
110 Request req(a, 1, 0, Request::funcMasterId);
111 Packet pkt(&req, MemCmd::PrintReq, Packet::Broadcast);
112 Packet::PrintReqState prs(std::cerr);
113 pkt.senderState = &prs;
114
115 sendFunctional(&pkt);
--- 34 unchanged lines hidden (view full) ---
150 return _masterPort->deviceBlockSize();
151}
152
153bool
154SlavePort::isConnected() const
155{
156 return _masterPort != NULL;
157}
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
--- 90 unchanged lines hidden (view full) ---
99}
100
101unsigned
102MasterPort::peerBlockSize() const
103{
104 return _slavePort->deviceBlockSize();
105}
106
107 void
108MasterPort::printAddr(Addr a)
109{
110 Request req(a, 1, 0, Request::funcMasterId);
111 Packet pkt(&req, MemCmd::PrintReq, Packet::Broadcast);
112 Packet::PrintReqState prs(std::cerr);
113 pkt.senderState = &prs;
114
115 sendFunctional(&pkt);
--- 34 unchanged lines hidden (view full) ---
150 return _masterPort->deviceBlockSize();
151}
152
153bool
154SlavePort::isConnected() const
155{
156 return _masterPort != NULL;
157}