Quoting "Beckmann, Brad" <[email protected]>:

I know how to go about making it work.

Can you explain a little bit of what you have in mind? I suspect that we can append many functions and class names with the protocol name to disambiguate. However, dealing with multiple definitions of MachineType and its associated helper functions will be nontrivial. I suppose we could move all that functionality to an abstract class, but that may have some unforeseen consequences...not impossible though.

So if we make such a change, would scons need to parse all the .sm files at the beginning of compilation? Is there a way to avoid that?

Brad




_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev



What about using namespaces? It sounds like you need exactly what they're for.

Gabe

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to