AbstractController.cc (12065:e3e51756dfef) | AbstractController.cc (12395:322bb93e5f06) |
---|---|
1/* 2 * Copyright (c) 2017 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 --- 346 unchanged lines hidden (view full) --- 355 panic("Incorrect packet type received from memory controller!"); 356 } 357 358 getMemoryQueue()->enqueue(msg, clockEdge(), cyclesToTicks(Cycles(1))); 359 delete pkt->req; 360 delete pkt; 361} 362 | 1/* 2 * Copyright (c) 2017 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 --- 346 unchanged lines hidden (view full) --- 355 panic("Incorrect packet type received from memory controller!"); 356 } 357 358 getMemoryQueue()->enqueue(msg, clockEdge(), cyclesToTicks(Cycles(1))); 359 delete pkt->req; 360 delete pkt; 361} 362 |
363Tick 364AbstractController::recvAtomic(PacketPtr pkt) 365{ 366 return ticksToCycles(memoryPort.sendAtomic(pkt)); 367} 368 |
|
363MachineID 364AbstractController::mapAddressToMachine(Addr addr, MachineType mtype) const 365{ 366 NodeID node = m_net_ptr->addressToNodeID(addr, mtype); 367 MachineID mach = {mtype, node}; 368 return mach; 369} 370 --- 16 unchanged lines hidden --- | 369MachineID 370AbstractController::mapAddressToMachine(Addr addr, MachineType mtype) const 371{ 372 NodeID node = m_net_ptr->addressToNodeID(addr, mtype); 373 MachineID mach = {mtype, node}; 374 return mach; 375} 376 --- 16 unchanged lines hidden --- |