port.cc (8922:17f037ad8918) | port.cc (8948:e95ee70f876c) |
---|---|
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 | 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 | 107Tick 108MasterPort::sendAtomic(PacketPtr pkt) 109{ 110 return _slavePort->recvAtomic(pkt); 111} 112 113void 114MasterPort::sendFunctional(PacketPtr pkt) 115{ 116 return _slavePort->recvFunctional(pkt); 117} 118 119void |
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} | 120MasterPort::printAddr(Addr a) 121{ 122 Request req(a, 1, 0, Request::funcMasterId); 123 Packet pkt(&req, MemCmd::PrintReq, Packet::Broadcast); 124 Packet::PrintReqState prs(std::cerr); 125 pkt.senderState = &prs; 126 127 sendFunctional(&pkt); --- 34 unchanged lines hidden (view full) --- 162 return _masterPort->deviceBlockSize(); 163} 164 165bool 166SlavePort::isConnected() const 167{ 168 return _masterPort != NULL; 169} |
170 171Tick 172SlavePort::sendAtomicSnoop(PacketPtr pkt) 173{ 174 return _masterPort->recvAtomicSnoop(pkt); 175} 176 177void 178SlavePort::sendFunctionalSnoop(PacketPtr pkt) 179{ 180 return _masterPort->recvFunctionalSnoop(pkt); 181} |
|