/*
- * Copyright (c) 2003 The Regents of The University of Michigan
+ * Copyright (c) 2004 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
class BaseInterface;
class Bus;
class HierParams;
+template <class BusType> class DMAInterface;
class PioDevice : public FunctionalMemory
{
protected:
BaseInterface *pioInterface;
+ Tick pioLatency;
public:
PioDevice(const std::string &name);
class DmaDevice : public PioDevice
{
protected:
- BaseInterface *dmaInterface;
+ DMAInterface<Bus> *dmaInterface;
public:
DmaDevice(const std::string &name);