tport.hh (3349:fec4a86fa212) | tport.hh (3401:1df0cb879413) |
---|---|
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; --- 103 unchanged lines hidden (view full) --- 112 * Simple ports generally don't care about any status 113 * changes... can always override this in cases where that's not 114 * true. */ 115 virtual void recvStatusChange(Status status) { } 116 117 118 public: 119 | 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; --- 103 unchanged lines hidden (view full) --- 112 * Simple ports generally don't care about any status 113 * changes... can always override this in cases where that's not 114 * true. */ 115 virtual void recvStatusChange(Status status) { } 116 117 118 public: 119 |
120 SimpleTimingPort(std::string pname) 121 : Port(pname), outTiming(0), drainEvent(NULL) | 120 SimpleTimingPort(std::string pname, MemObject *_owner = NULL) 121 : Port(pname, _owner), outTiming(0), drainEvent(NULL) |
122 {} 123 124 /** Hook for draining timing accesses from the system. The 125 * associated SimObject's drain() functions should be implemented 126 * something like this when this class is used: 127 \code 128 PioDevice::drain(Event *de) 129 { --- 14 unchanged lines hidden --- | 122 {} 123 124 /** Hook for draining timing accesses from the system. The 125 * associated SimObject's drain() functions should be implemented 126 * something like this when this class is used: 127 \code 128 PioDevice::drain(Event *de) 129 { --- 14 unchanged lines hidden --- |