port.cc (12342:53a3828f2468) | port.cc (12749:223c83ed9979) |
---|---|
1/* 2 * Copyright (c) 2012,2015,2017 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 --- 192 unchanged lines hidden (view full) --- 201MasterPort::sendRetryResp() 202{ 203 _slavePort->recvRespRetry(); 204} 205 206void 207MasterPort::printAddr(Addr a) 208{ | 1/* 2 * Copyright (c) 2012,2015,2017 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 --- 192 unchanged lines hidden (view full) --- 201MasterPort::sendRetryResp() 202{ 203 _slavePort->recvRespRetry(); 204} 205 206void 207MasterPort::printAddr(Addr a) 208{ |
209 Request req(a, 1, 0, Request::funcMasterId); 210 Packet pkt(&req, MemCmd::PrintReq); | 209 auto req = std::make_shared<Request>( 210 a, 1, 0, Request::funcMasterId); 211 212 Packet pkt(req, MemCmd::PrintReq); |
211 Packet::PrintReqState prs(std::cerr); 212 pkt.senderState = &prs; 213 214 sendFunctional(&pkt); 215} 216 217/** 218 * Slave port --- 63 unchanged lines hidden --- | 213 Packet::PrintReqState prs(std::cerr); 214 pkt.senderState = &prs; 215 216 sendFunctional(&pkt); 217} 218 219/** 220 * Slave port --- 63 unchanged lines hidden --- |