diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2004-04-06 10:02:00 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2004-04-06 10:02:00 -0700 |
commit | d4069233eb8cc875aa443cb7c6a16b748e3acc42 (patch) | |
tree | 1c492289fff76c43a00aea660889eecd040b95bd /dev | |
parent | 82837b1c3690084ce3cd6ae2f6a1700caf23be00 (diff) | |
download | gem5-d4069233eb8cc875aa443cb7c6a16b748e3acc42.tar.xz |
Beta version of Python configuration tool. Generates .ini files from
Python script description.
arch/alpha/alpha_memory.cc:
dev/io_device.cc:
Add DEFINE_SIM_OBJECT_CLASS_NAME for intermediate SimObjects.
test/paramtest.cc:
Fix stupid spelling.
--HG--
extra : convert_revision : dc020208cb6507c1afb1ed771a7218daba678e09
Diffstat (limited to 'dev')
-rw-r--r-- | dev/io_device.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev/io_device.cc b/dev/io_device.cc index 4f53ba48d..910b889d8 100644 --- a/dev/io_device.cc +++ b/dev/io_device.cc @@ -29,6 +29,7 @@ #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) @@ -40,6 +41,8 @@ PioDevice::~PioDevice() delete pioInterface; } +DEFINE_SIM_OBJECT_CLASS_NAME("PioDevice", PioDevice) + DmaDevice::DmaDevice(const std::string &name) : PioDevice(name), dmaInterface(NULL) {} @@ -50,3 +53,5 @@ DmaDevice::~DmaDevice() delete dmaInterface; } +DEFINE_SIM_OBJECT_CLASS_NAME("DmaDevice", DmaDevice) + |