sort #includes
[gem5.git] / dev / io_device.hh
index 39e6fa4aa05cfa175f5189a2604516ffca33ceab..f49afc0a64dd3cca3f4f0bea9df3cee121739e12 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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 Bus> class DMAInterface;
 
 class PioDevice : public FunctionalMemory
 {
   protected:
     BaseInterface *pioInterface;
+    Tick pioLatency;
 
   public:
     PioDevice(const std::string &name);
@@ -48,7 +50,7 @@ class PioDevice : public FunctionalMemory
 class DmaDevice : public PioDevice
 {
   protected:
-    BaseInterface *dmaInterface;
+    DMAInterface<Bus> *dmaInterface;
 
   public:
     DmaDevice(const std::string &name);