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