Hi,

When I create a checkpoint I get a negative value stored
in rtcClockTickOffset, which will make Gem5 crash when restoring the
checkpoint, complaining that an event cannot be scheduled in the past.

The failure is that the "RTCEvent event" holds an old tick value (_when)
which I think it should not. The code is in:
src/dev/mc146818.hh
src/dev/mc146818.cc

The workaround I am using is manually removing the "-" from
the rtcClockTickOffset variable in the checkpoint file (m5.cpt).

I run x86.

Anyone has a clue how to fix?

Best regards
Anders
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to