CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/05/27 13:21:44
Modified files:
usr.sbin/vmd : mc146818.c
Log message:
only reschedule the periodic interrupt after updating register A
if something changed in register A.
when updating register A we were checking in register B if the
PIE bit was set in order to decide if rtc_reschedule_per needed
to be called. if that bit was changed then the timer rate would
already have been adjusted by rtc_update_regb so the call from
rtc_update_rega is not needed.
this now matches what qemu and other emulators are doing too.
ok mlarkin@