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 |
324 for (i = sendQueue.begin(); i != sendQueue.end(); ++i) { 325 if (pkt->checkFunctional((*i)->pkt)) 326 return; 327 } 328 |
329 pkt->popLabel(); 330 |
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 --- |