RubyDirectedTester.cc (8922:17f037ad8918) | RubyDirectedTester.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 --- 76 unchanged lines hidden (view full) --- 85 if (idx >= static_cast<int>(ports.size())) { 86 panic("RubyDirectedTester::getMasterPort: unknown index %d\n", idx); 87 } 88 89 return *ports[idx]; 90 } 91} 92 | 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 --- 76 unchanged lines hidden (view full) --- 85 if (idx >= static_cast<int>(ports.size())) { 86 panic("RubyDirectedTester::getMasterPort: unknown index %d\n", idx); 87 } 88 89 return *ports[idx]; 90 } 91} 92 |
93Tick 94RubyDirectedTester::CpuPort::recvAtomic(PacketPtr pkt) 95{ 96 panic("RubyDirectedTester::CpuPort::recvAtomic() not implemented!\n"); 97 return 0; 98} 99 | |
100bool 101RubyDirectedTester::CpuPort::recvTiming(PacketPtr pkt) 102{ 103 tester->hitCallback(idx, pkt->getAddr()); 104 105 // 106 // Now that the tester has completed, delete the packet, then return 107 // --- 42 unchanged lines hidden --- | 93bool 94RubyDirectedTester::CpuPort::recvTiming(PacketPtr pkt) 95{ 96 tester->hitCallback(idx, pkt->getAddr()); 97 98 // 99 // Now that the tester has completed, delete the packet, then return 100 // --- 42 unchanged lines hidden --- |