#include "dev/io_device.hh"
#include "mem/bus/base_interface.hh"
+#include "mem/bus/dma_interface.hh"
+#include "sim/builder.hh"
PioDevice::PioDevice(const std::string &name)
: FunctionalMemory(name), pioInterface(NULL)
delete pioInterface;
}
+DEFINE_SIM_OBJECT_CLASS_NAME("PioDevice", PioDevice)
+
DmaDevice::DmaDevice(const std::string &name)
: PioDevice(name), dmaInterface(NULL)
{}
delete dmaInterface;
}
+DEFINE_SIM_OBJECT_CLASS_NAME("DmaDevice", DmaDevice)
+