port.hh (4022:c422464ca16e) port.hh (4190:5069dfa3d62e)
1/*
2 * Copyright (c) 2002-2005 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;

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

126 Port *getPeer() { return peer; }
127
128 /** Function to set the owner of this port. */
129 void setOwner(MemObject *_owner) { owner = _owner; }
130
131 /** Function to return the owner of this port. */
132 MemObject *getOwner() { return owner; }
133
1/*
2 * Copyright (c) 2002-2005 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;

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

126 Port *getPeer() { return peer; }
127
128 /** Function to set the owner of this port. */
129 void setOwner(MemObject *_owner) { owner = _owner; }
130
131 /** Function to return the owner of this port. */
132 MemObject *getOwner() { return owner; }
133
134 /** Inform the peer port to delete itself and notify it's owner about it's
135 * demise. */
136 void removeConn();
137
138
134 protected:
135
136 /** These functions are protected because they should only be
137 * called by a peer port, never directly by any outside object. */
138
139 /** Called to recive a timing call from the peer port. */
140 virtual bool recvTiming(PacketPtr pkt) = 0;
141

--- 154 unchanged lines hidden ---
139 protected:
140
141 /** These functions are protected because they should only be
142 * called by a peer port, never directly by any outside object. */
143
144 /** Called to recive a timing call from the peer port. */
145 virtual bool recvTiming(PacketPtr pkt) = 0;
146

--- 154 unchanged lines hidden ---