1/* |
2 * Copyright (c) 2012-2013 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 133 unchanged lines hidden (view full) --- 144} 145 146bool 147RubyTester::CpuPort::recvTimingResp(PacketPtr pkt) 148{ 149 // retrieve the subblock and call hitCallback 150 RubyTester::SenderState* senderState = 151 safe_cast<RubyTester::SenderState*>(pkt->senderState); |
152 SubBlock& subblock = senderState->subBlock; |
153 |
154 tester->hitCallback(id, &subblock); |
155 |
156 // Now that the tester has completed, delete the senderState 157 // (includes sublock) and the packet, then return |
158 delete pkt->senderState; |
159 delete pkt->req; 160 delete pkt; 161 return true; 162} 163 164bool 165RubyTester::isInstReadableCpuPort(int idx) 166{ --- 84 unchanged lines hidden --- |