bridge.hh (4870:fcc39d001154) bridge.hh (4873:b135f6e6adfe)
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;

--- 132 unchanged lines hidden (view full) ---

141 BridgePort *port;
142
143 public:
144 SendEvent(BridgePort *p)
145 : Event(&mainEventQueue), port(p) {}
146
147 virtual void process() { port->trySend(); }
148
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;

--- 132 unchanged lines hidden (view full) ---

141 BridgePort *port;
142
143 public:
144 SendEvent(BridgePort *p)
145 : Event(&mainEventQueue), port(p) {}
146
147 virtual void process() { port->trySend(); }
148
149 virtual const char *description() { return "bridge send event"; }
149 virtual const char *description() { return "bridge send"; }
150 };
151
152 SendEvent sendEvent;
153
154 public:
155 /** Constructor for the BusPort.*/
156 BridgePort(const std::string &_name, Bridge *_bridge,
157 BridgePort *_otherPort, int _delay, int _nack_delay,

--- 65 unchanged lines hidden ---
150 };
151
152 SendEvent sendEvent;
153
154 public:
155 /** Constructor for the BusPort.*/
156 BridgePort(const std::string &_name, Bridge *_bridge,
157 BridgePort *_otherPort, int _delay, int _nack_delay,

--- 65 unchanged lines hidden ---