Config: Remove some ini file code that no longer works
--HG-- extra : convert_revision : cb01dc0abeabc97b03d7af10959d92ceb62ea936
This commit is contained in:
parent
9da070ce8a
commit
021421d663
|
@ -47,7 +47,6 @@ extern const char *compileDate;
|
||||||
|
|
||||||
void setOutputDir(const std::string &dir);
|
void setOutputDir(const std::string &dir);
|
||||||
void setOutputFile(const std::string &file);
|
void setOutputFile(const std::string &file);
|
||||||
void loadIniFile(PyObject *);
|
|
||||||
void SimStartup();
|
void SimStartup();
|
||||||
void doExitCleanup();
|
void doExitCleanup();
|
||||||
|
|
||||||
|
|
|
@ -168,16 +168,3 @@ resolveSimObject(const string &name)
|
||||||
return simObj;
|
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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,6 @@
|
||||||
|
|
||||||
extern "C" SimObject *convertSwigSimObjectPtr(PyObject *);
|
extern "C" SimObject *convertSwigSimObjectPtr(PyObject *);
|
||||||
SimObject *resolveSimObject(const std::string &name);
|
SimObject *resolveSimObject(const std::string &name);
|
||||||
void loadIniFile(PyObject *_resolveFunc);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connect the described MemObject ports. Called from Python via SWIG.
|
* Connect the described MemObject ports. Called from Python via SWIG.
|
||||||
|
|
Loading…
Reference in a new issue