tport.hh (8708:7ccbdea0fa12) | tport.hh (8711:c7e14f52c682) |
---|---|
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; --- 125 unchanged lines hidden (view full) --- 134 135 /** Implemented using recvAtomic(). */ 136 void recvFunctional(PacketPtr pkt); 137 138 /** Implemented using recvAtomic(). */ 139 bool recvTiming(PacketPtr pkt); 140 141 /** | 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; --- 125 unchanged lines hidden (view full) --- 134 135 /** Implemented using recvAtomic(). */ 136 void recvFunctional(PacketPtr pkt); 137 138 /** Implemented using recvAtomic(). */ 139 bool recvTiming(PacketPtr pkt); 140 141 /** |
142 * Simple ports generally don't care about any status 143 * changes... can always override this in cases where that's not 144 * true. */ 145 virtual void recvStatusChange(Status status) { } | 142 * Simple ports are generally used as slave ports (i.e. the 143 * respond to requests) and thus do not expect to receive any 144 * range changes (as the neighbouring port has a master role and 145 * do not have any address ranges. A subclass can override the 146 * default behaviuor if needed. 147 */ 148 virtual void recvRangeChange() { } |
146 147 148 public: 149 SimpleTimingPort(std::string pname, MemObject *_owner); 150 ~SimpleTimingPort(); 151 152 /** Hook for draining timing accesses from the system. The 153 * associated SimObject's drain() functions should be implemented --- 18 unchanged lines hidden --- | 149 150 151 public: 152 SimpleTimingPort(std::string pname, MemObject *_owner); 153 ~SimpleTimingPort(); 154 155 /** Hook for draining timing accesses from the system. The 156 * associated SimObject's drain() functions should be implemented --- 18 unchanged lines hidden --- |