RubyTester.cc (8941:a47fd7c2d44e) RubyTester.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

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

141 panic("RubyTester::getMasterPort: unknown data port idx %d\n",
142 idx);
143 }
144 return *readPorts[read_idx];
145 }
146 }
147}
148
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

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

141 panic("RubyTester::getMasterPort: unknown data port idx %d\n",
142 idx);
143 }
144 return *readPorts[read_idx];
145 }
146 }
147}
148
149Tick
150RubyTester::CpuPort::recvAtomic(PacketPtr pkt)
151{
152 panic("RubyTester::CpuPort::recvAtomic() not implemented!\n");
153 return 0;
154}
155
156bool
157RubyTester::CpuPort::recvTiming(PacketPtr pkt)
158{
159 // retrieve the subblock and call hitCallback
160 RubyTester::SenderState* senderState =
161 safe_cast<RubyTester::SenderState*>(pkt->senderState);
162 SubBlock* subblock = senderState->subBlock;
163 assert(subblock != NULL);

--- 95 unchanged lines hidden ---
149bool
150RubyTester::CpuPort::recvTiming(PacketPtr pkt)
151{
152 // retrieve the subblock and call hitCallback
153 RubyTester::SenderState* senderState =
154 safe_cast<RubyTester::SenderState*>(pkt->senderState);
155 SubBlock* subblock = senderState->subBlock;
156 assert(subblock != NULL);

--- 95 unchanged lines hidden ---