tport.cc (4492:75dabb0392ee) | tport.cc (4493:0757d7c8a0e5) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 58 unchanged lines hidden (view full) --- 67 // code to hanldle nacks here, but I'm pretty sure it didn't work 68 // correctly with the drain code, so that would need to be fixed 69 // if we ever added it back. 70 assert(pkt->result != Packet::Nacked); 71 Tick latency = recvAtomic(pkt); 72 // turn packet around to go back to requester if response expected 73 if (pkt->needsResponse()) { 74 pkt->makeTimingResponse(); | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 58 unchanged lines hidden (view full) --- 67 // code to hanldle nacks here, but I'm pretty sure it didn't work 68 // correctly with the drain code, so that would need to be fixed 69 // if we ever added it back. 70 assert(pkt->result != Packet::Nacked); 71 Tick latency = recvAtomic(pkt); 72 // turn packet around to go back to requester if response expected 73 if (pkt->needsResponse()) { 74 pkt->makeTimingResponse(); |
75 schedSendTiming(pkt, latency); | 75 schedSendTiming(pkt, curTick + latency); |
76 } 77 else if (pkt->cmd != MemCmd::UpgradeReq) { 78 delete pkt->req; 79 delete pkt; 80 } 81 return true; 82} 83 --- 90 unchanged lines hidden --- | 76 } 77 else if (pkt->cmd != MemCmd::UpgradeReq) { 78 delete pkt->req; 79 delete pkt; 80 } 81 return true; 82} 83 --- 90 unchanged lines hidden --- |