Deleted Added
sdiff udiff text old ( 7607:e75d877c8557 ) new ( 8598:c7fec2cb91cb )
full compact
1/*
2 * Copyright (c) 2004-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;

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

210 {
211 return dynamic_cast<const Params *>(_params);
212 }
213
214 virtual void init();
215
216 virtual unsigned int drain(Event *de);
217
218 virtual Port *getPort(const std::string &if_name, int idx = -1);
219
220 friend class PioPort;
221
222};
223
224class BasicPioDevice : public PioDevice
225{
226 protected:
227 /** Address that the device listens to. */

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

277 }
278
279 bool dmaPending() { return dmaPort->dmaPending(); }
280
281 virtual unsigned int drain(Event *de);
282
283 unsigned cacheBlockSize() const { return dmaPort->cacheBlockSize(); }
284
285 virtual Port *getPort(const std::string &if_name, int idx = -1);
286
287 friend class DmaPort;
288};
289
290
291#endif // __DEV_IO_DEVICE_HH__