bridge.cc (5283:3ab643fa74be) | bridge.cc (5314:e902f12a3af1) |
---|---|
1 2/* 3 * Copyright (c) 2006 The Regents of The University of Michigan 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 305 unchanged lines hidden (view full) --- 314 315/** Function called by the port when the bus is receiving a Functional 316 * transaction.*/ 317void 318Bridge::BridgePort::recvFunctional(PacketPtr pkt) 319{ 320 std::list<PacketBuffer*>::iterator i; 321 | 1 2/* 3 * Copyright (c) 2006 The Regents of The University of Michigan 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 305 unchanged lines hidden (view full) --- 314 315/** Function called by the port when the bus is receiving a Functional 316 * transaction.*/ 317void 318Bridge::BridgePort::recvFunctional(PacketPtr pkt) 319{ 320 std::list<PacketBuffer*>::iterator i; 321 |
322 pkt->pushLabel(name()); 323 |
|
322 for (i = sendQueue.begin(); i != sendQueue.end(); ++i) { 323 if (pkt->checkFunctional((*i)->pkt)) 324 return; 325 } 326 | 324 for (i = sendQueue.begin(); i != sendQueue.end(); ++i) { 325 if (pkt->checkFunctional((*i)->pkt)) 326 return; 327 } 328 |
329 pkt->popLabel(); 330 |
|
327 // fall through if pkt still not satisfied 328 otherPort->sendFunctional(pkt); 329} 330 331/** Function called by the port when the bus is receiving a status change.*/ 332void 333Bridge::BridgePort::recvStatusChange(Port::Status status) 334{ --- 18 unchanged lines hidden --- | 331 // fall through if pkt still not satisfied 332 otherPort->sendFunctional(pkt); 333} 334 335/** Function called by the port when the bus is receiving a status change.*/ 336void 337Bridge::BridgePort::recvStatusChange(Port::Status status) 338{ --- 18 unchanged lines hidden --- |