Config: Remove some ini file code that no longer works
authorAli Saidi <saidi@eecs.umich.edu>
Tue, 4 Sep 2007 17:12:58 +0000 (13:12 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Tue, 4 Sep 2007 17:12:58 +0000 (13:12 -0400)
--HG--
extra : convert_revision : cb01dc0abeabc97b03d7af10959d92ceb62ea936

src/python/swig/core.i
src/python/swig/pyobject.cc
src/python/swig/pyobject.hh

index 8960fb228418747713e07e89b474b9e195d31bd1..770765ca4391825c1a4fcd6ae916327593038927 100644 (file)
@@ -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();
 
index 5ae2aa1776b645a4c421b362bbec37e9813d42d3..fad280e1b3f518cbab846105b588fd4389394827 100644 (file)
@@ -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"));
-}
-
index 8e3a969947c2fc020c5f46c727cb8e4ec5760055..e895be636fd31ab948a6814087dfce84515de077 100644 (file)
@@ -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.