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; --- 81 unchanged lines hidden (view full) --- 90 91 /** A id to keep track of the intercafe ID this port is connected to. */ 92 Bridge::Side side; 93 94 public: 95 96 /** Constructor for the BusPort.*/ 97 BridgePort(Bridge *_bridge, Side _side) |
98 : Port(""), bridge(_bridge), side(_side) |
99 { } 100 101 int numQueued() { return outbound.size(); } 102 103 protected: 104 /** Data this is waiting to be transmitted. */ 105 std::list<std::pair<Packet*, Tick> > outbound; 106 --- 108 unchanged lines hidden --- |