aboutsummaryrefslogtreecommitdiff
path: root/fpu
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-01-25 11:55:15 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-01-29 15:19:22 +0100
commit51e08f3e4b8a3b6d27fde9a9e75c8fa32eaa72d0 (patch)
treecfdfc4c13300191c3982e6bb026ba09ea5dba705 /fpu
parentc29cd656a8fad633fb9ca45b88ade9838d35fd5c (diff)
downloadqemu-51e08f3e4b8a3b6d27fde9a9e75c8fa32eaa72d0.zip
qemu-51e08f3e4b8a3b6d27fde9a9e75c8fa32eaa72d0.tar.gz
qemu-51e08f3e4b8a3b6d27fde9a9e75c8fa32eaa72d0.tar.bz2
mc146818rtc: update registers after a format change
For some unknown reason, the MIPS kernel briefly changes the RTC to binary mode during boot, switch back to BCD mode and read the time. As the registers are updated only every second, they may still be in the old format when they are read. This patch forces a register update immediately after a format change (BCD/binary or 12/24H). This avoid long fsck during boot due to time wrap. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions