RubyTester.cc (8950:a6830d615eff) RubyTester.cc (8965:1ebd7c856abc)
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

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

151 RubyTester::SenderState* senderState =
152 safe_cast<RubyTester::SenderState*>(pkt->senderState);
153 SubBlock* subblock = senderState->subBlock;
154 assert(subblock != NULL);
155
156 // pop the sender state from the packet
157 pkt->senderState = senderState->saved;
158
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

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

151 RubyTester::SenderState* senderState =
152 safe_cast<RubyTester::SenderState*>(pkt->senderState);
153 SubBlock* subblock = senderState->subBlock;
154 assert(subblock != NULL);
155
156 // pop the sender state from the packet
157 pkt->senderState = senderState->saved;
158
159 tester->hitCallback(idx, subblock);
159 tester->hitCallback(id, subblock);
160
161 // Now that the tester has completed, delete the senderState
162 // (includes sublock) and the packet, then return
163 delete senderState;
164 delete pkt->req;
165 delete pkt;
166 return true;
167}

--- 88 unchanged lines hidden ---
160
161 // Now that the tester has completed, delete the senderState
162 // (includes sublock) and the packet, then return
163 delete senderState;
164 delete pkt->req;
165 delete pkt;
166 return true;
167}

--- 88 unchanged lines hidden ---