summaryrefslogtreecommitdiff
path: root/mem/bridge.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-05-18 22:32:21 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2006-05-18 22:32:21 -0400
commit796fa429fef8b038278c4a020374149d8b5ef8eb (patch)
tree878553b3b7fb002db8df2065cb0a38ea694aa528 /mem/bridge.hh
parent381c4f6720d477bdf6d90dd2c09a54cd30b9ddd9 (diff)
downloadgem5-796fa429fef8b038278c4a020374149d8b5ef8eb.tar.xz
Change Packet parameters on Port methods from references to pointers.
--HG-- extra : convert_revision : 7193e70304d4cbe1e4cbe16ce0d8527b2754d066
Diffstat (limited to 'mem/bridge.hh')
-rw-r--r--mem/bridge.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/mem/bridge.hh b/mem/bridge.hh
index 6bd4d81ab..5f19ded40 100644
--- a/mem/bridge.hh
+++ b/mem/bridge.hh
@@ -56,15 +56,15 @@ class Bridge : public MemObject
protected:
/** Function called by the port when the bus is recieving a Timing
transaction.*/
- bool recvTiming(Packet &pkt, Side id);
+ bool recvTiming(Packet *pkt, Side id);
/** Function called by the port when the bus is recieving a Atomic
transaction.*/
- Tick recvAtomic(Packet &pkt, Side id);
+ Tick recvAtomic(Packet *pkt, Side id);
/** Function called by the port when the bus is recieving a Functional
transaction.*/
- void recvFunctional(Packet &pkt, Side id);
+ void recvFunctional(Packet *pkt, Side id);
/** Function called by the port when the bus is recieving a status change.*/
void recvStatusChange(Port::Status status, Side id);
@@ -104,12 +104,12 @@ class Bridge : public MemObject
/** Data this is waiting to be transmitted. */
std::list<std::pair<Packet*, Tick> > outbound;
- void sendPkt(Packet &pkt);
+ void sendPkt(Packet *pkt);
void sendPkt(std::pair<Packet*, Tick> p);
/** When reciving a timing request from the peer port,
pass it to the bridge. */
- virtual bool recvTiming(Packet &pkt)
+ virtual bool recvTiming(Packet *pkt)
{ return bridge->recvTiming(pkt, side); }
/** When reciving a retry request from the peer port,
@@ -118,12 +118,12 @@ class Bridge : public MemObject
/** When reciving a Atomic requestfrom the peer port,
pass it to the bridge. */
- virtual Tick recvAtomic(Packet &pkt)
+ virtual Tick recvAtomic(Packet *pkt)
{ return bridge->recvAtomic(pkt, side); }
/** When reciving a Functional request from the peer port,
pass it to the bridge. */
- virtual void recvFunctional(Packet &pkt)
+ virtual void recvFunctional(Packet *pkt)
{ bridge->recvFunctional(pkt, side); }
/** When reciving a status changefrom the peer port,