python: cleanup python code so stuff doesn't automatically happen at startup
Review Request #355 - Created Dec. 21, 2010 and submitted
| Information | |
|---|---|
| Nathan Binkert | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
python: cleanup python code so stuff doesn't automatically happen at startup this allows things to be overridden at startup (e.g. for tests)
Posted (Dec. 21, 2010, 2:52 a.m.)
-
src/python/m5/main.py (Diff revision 1) -
What is the point of passing in 2 args? so you can have them pre-parsed? Either way a comment is helpful.
-
src/sim/init.cc (Diff revision 1) -
Here too? why do we want weak linking? So you can override it?
-
src/sim/init.cc (Diff revision 1) -
I think this needs a comment
Posted (Dec. 21, 2010, 6:17 a.m.)
-
src/sim/init.cc (Diff revision 1) -
Since this is technically a pointer, should this be NULL instead of 0?
Posted (Dec. 21, 2010, 2:51 p.m.)
I second all of Ali's requests for more comments...
-
src/sim/init.cc (Diff revision 1) -
What's our status on non-gcc compilers? Do we need to hide this in a macro to provide a veneer of portability? :-)
