RubyDirectedTester.cc (8948:e95ee70f876c) RubyDirectedTester.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

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

88
89 return *ports[idx];
90 }
91}
92
93bool
94RubyDirectedTester::CpuPort::recvTiming(PacketPtr pkt)
95{
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

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

88
89 return *ports[idx];
90 }
91}
92
93bool
94RubyDirectedTester::CpuPort::recvTiming(PacketPtr pkt)
95{
96 tester->hitCallback(idx, pkt->getAddr());
96 tester->hitCallback(id, pkt->getAddr());
97
98 //
99 // Now that the tester has completed, delete the packet, then return
100 //
101 delete pkt->req;
102 delete pkt;
103 return true;
104}

--- 38 unchanged lines hidden ---
97
98 //
99 // Now that the tester has completed, delete the packet, then return
100 //
101 delete pkt->req;
102 delete pkt;
103 return true;
104}

--- 38 unchanged lines hidden ---