sim: Fix checkpoint restore for Ticked
authorAndrew Bardsley <Andrew.Bardsley@arm.com>
Wed, 3 Sep 2014 11:42:25 +0000 (07:42 -0400)
committerAndrew Bardsley <Andrew.Bardsley@arm.com>
Wed, 3 Sep 2014 11:42:25 +0000 (07:42 -0400)
commit87f6034462d06c7921ebe7f8e4ab78db5a09d319
treeff61a95985d184d32138f3496fa07b6a75562695
parent326662b01b0fbb7fe4e38cec7a96222d2891808b
sim: Fix checkpoint restore for Ticked

This patch makes restoring the 'lastStopped' value for Ticked-containing
objects (including MinorCPU) optional so that Ticked-containing objects
can be restored from non-Ticked-containing objects (such as AtomicSimpleCPU).
src/sim/ticked_object.cc