> To start with Nate's suggestion: It is not the members of System or MemObject > that cause the problem, this is already in place. The issue is with the > parameter header generation and SWIG wrapper generation. This would happen > also without the PhysicalMemory, since System inherits from MemObject, and > not a MemObject has a System pointer. Note that the latter could be fixed in > c++ by forward declaring System in MemObject.hh. This, however, requires some > serious modifications of the cxx_predecls, swig_predecls etc.
Ah, I forgot that the system was to become a MemObject. Makes sense that you don't want the system to point to itself, no? (Though perhaps for consistency, it should. Gabe ran into this a while ago. I should really try to fix it. Unfortunately, it is non-trivial, but I do understand the problem a lot better now than when I first found out about gabe's problem. I'll try to make it work, though it won't be today. Nate _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
