dev: (un)serialize fix for the RTC and RTC Timer Interrupt events
authorNikos Nikoleris <nikos.nikoleris@gmail.com>
Fri, 3 Apr 2015 16:42:10 +0000 (11:42 -0500)
committerNikos Nikoleris <nikos.nikoleris@gmail.com>
Fri, 3 Apr 2015 16:42:10 +0000 (11:42 -0500)
commit4bdbdd84136d75272cb1df6444746c8ff669893e
treee6264d7b3badb98e5a1d1899475d2c560b91e600
parentbebab7f24f9bbc661ae7f33c7a3f2f7785e6b088
dev: (un)serialize fix for the RTC and RTC Timer Interrupt events

Restoring from a checkpoint fails if either the RTC or the RTC Timer
Interrrupt event is disabled. The restored machine tried incorrectly
to schedule the next event with negative offset.

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
src/dev/mc146818.cc