Hi again ARM folks. I'm looking at the serialize methods for the ISA and TLBs. Serialization of the actual MiscRegs makes sense, but there are also some values (in the ISA object) like physAddrRange and haveLPAE which are not architectural state, or are just cached values which originally came from the system object. These values should *not* be part of the checkpoint. They should be redetermined when the checkpoint is loaded, and should naturally be the same. This makes the checkpoints more portable by hiding implementation details, and avoids overwriting the current, more correct values of those settings from the checkpoint. It's possible that changing those values is illegal, but there is no such check right now, and as far as I can see the values would just get clobbered.
The only things which should be in checkpoints are architecturally visible state. Gabe _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
