I'm working on some patches that pull the kernel stuff out of the System
object into it's own thing, and I'm running into some circular includes
in the generated files. I have a new Workload object which Process and
Kernel inherit from and which has a pointer back to System, and System
has a pointer to kernel. More or less the WorkloadParams header includes
the SystemParams header includes the KernelParams header includes the
WorkloadParams header, and things break. This could be fixed by still
making inheritance include the base class header files but make
parameter pointers use prototype declarations. Does anybody know how to
actually implement that?

Gabe
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to