Posted (May 2, 2012, 8:03 a.m.)
-
src/mem/abstract_mem.cc (Diff revision 1) -
Check here that the system is not NULL, and initialise it to NULL in the constructor.
-
src/sim/system.cc (Diff revision 1) -
I'd suggest to make the class attribute private and use a setter. A line with a comment saying why this is done (why it cannot be a passed through the parameters using parameter.any) would also be appreciated.
