tport.cc (5606:6da7a58b0bc8) | tport.cc (5650:d2782c951841) |
---|---|
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; --- 51 unchanged lines hidden (view full) --- 60bool 61SimpleTimingPort::recvTiming(PacketPtr pkt) 62{ 63 // If the device is only a slave, it should only be sending 64 // responses, which should never get nacked. There used to be 65 // code to hanldle nacks here, but I'm pretty sure it didn't work 66 // correctly with the drain code, so that would need to be fixed 67 // if we ever added it back. | 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; --- 51 unchanged lines hidden (view full) --- 60bool 61SimpleTimingPort::recvTiming(PacketPtr pkt) 62{ 63 // If the device is only a slave, it should only be sending 64 // responses, which should never get nacked. There used to be 65 // code to hanldle nacks here, but I'm pretty sure it didn't work 66 // correctly with the drain code, so that would need to be fixed 67 // if we ever added it back. |
68 assert(pkt->isRequest()); | 68 //assert(pkt->isRequest()); |
69 70 if (pkt->memInhibitAsserted()) { 71 // snooper will supply based on copy of packet 72 // still target's responsibility to delete packet 73 delete pkt; 74 return true; 75 } 76 --- 112 unchanged lines hidden --- | 69 70 if (pkt->memInhibitAsserted()) { 71 // snooper will supply based on copy of packet 72 // still target's responsibility to delete packet 73 delete pkt; 74 return true; 75 } 76 --- 112 unchanged lines hidden --- |