MEM: TranslatingPorts are replaced with SETranslatingProxys
Review Request #917 - Created Nov. 28, 2011 and discarded
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
MEM: TranslatingPorts are replaced with SETranslatingProxys This patch introduces the SETranslatingProxy instances replacing the TranslatingPorts. This requires small chagnes to many files. Added functionality: Added _parent and systemPort() to SimObject to use for object loading.
util/regress passing all ignoring failing eio and t1000
Posted (Dec. 3, 2011, 1:25 a.m.)
-
src/base/loader/object_file.hh (Diff revision 1) -
Seems weird that we end up with two versions of loadSections() here. I see that the other one goes away in a later patch, but YA reason why collapsing these might be a good idea.
-
src/mem/SConscript (Diff revision 1) -
This is kind of weird... another argument for folding all these patches together.
-
src/python/m5/simulate.py (Diff revision 1) -
I see what you're doing here, but it's not how I'd do it... if we really want every SimObject to have a system param, we can do that entirely in Python. There are other reasons why it might be nice to have the parent pointer available in C++, but even then I'm not sure this is the best way to do it. I'd prefer to just set it up implicitly in createCCObject().
-
src/sim/System.py (Diff revision 1) -
Why does System need to be a MemObject now? So that it can have a Port? That seems a little weird, in the sense that the "system" is definitely not an object in the memory system...
