summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-09-04 13:12:58 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-09-04 13:12:58 -0400
commit021421d66355dd0c3ebb0728407c3da569ee32e2 (patch)
tree51715aa143d2a794d63617f82c77c5d762586356 /src
parent9da070ce8a9cf40452b44621808586a5d2c2a189 (diff)
downloadgem5-021421d66355dd0c3ebb0728407c3da569ee32e2.tar.xz
Config: Remove some ini file code that no longer works
--HG-- extra : convert_revision : cb01dc0abeabc97b03d7af10959d92ceb62ea936
Diffstat (limited to 'src')
-rw-r--r--src/python/swig/core.i1
-rw-r--r--src/python/swig/pyobject.cc13
-rw-r--r--src/python/swig/pyobject.hh2
3 files changed, 0 insertions, 16 deletions
diff --git a/src/python/swig/core.i b/src/python/swig/core.i
index 8960fb228..770765ca4 100644
--- a/src/python/swig/core.i
+++ b/src/python/swig/core.i
@@ -47,7 +47,6 @@ extern const char *compileDate;
void setOutputDir(const std::string &dir);
void setOutputFile(const std::string &file);
-void loadIniFile(PyObject *);
void SimStartup();
void doExitCleanup();
diff --git a/src/python/swig/pyobject.cc b/src/python/swig/pyobject.cc
index 5ae2aa177..fad280e1b 100644
--- a/src/python/swig/pyobject.cc
+++ b/src/python/swig/pyobject.cc
@@ -168,16 +168,3 @@ resolveSimObject(const string &name)
return simObj;
}
-/**
- * Load config.ini into C++ database. Exported to Python via SWIG;
- * invoked from m5.instantiate().
- */
-void
-loadIniFile(PyObject *_resolveFunc)
-{
- resolveFunc = _resolveFunc;
-
- // The configuration database is now complete; start processing it.
- inifile().load(simout.resolve("config.ini"));
-}
-
diff --git a/src/python/swig/pyobject.hh b/src/python/swig/pyobject.hh
index 8e3a96994..e895be636 100644
--- a/src/python/swig/pyobject.hh
+++ b/src/python/swig/pyobject.hh
@@ -38,8 +38,6 @@
extern "C" SimObject *convertSwigSimObjectPtr(PyObject *);
SimObject *resolveSimObject(const std::string &name);
-void loadIniFile(PyObject *_resolveFunc);
-
/**
* Connect the described MemObject ports. Called from Python via SWIG.