aboutsummaryrefslogtreecommitdiff
path: root/hw/mips
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@tencent.com>2017-05-10 16:32:55 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2017-06-06 20:18:35 +0200
commit9a6e2dcfdda31275296c2a55ae10ec9ee5265459 (patch)
treed397199d316c53e0647a554736a152961929709f /hw/mips
parent65dfad62a176f5265f801683be64149c5ad55f7d (diff)
mc146818rtc: update periodic timer only if it is needed
Currently, the timer is updated whenever RegA or RegB is written even if the periodic timer related configuration is not changed This patch optimizes it slightly to make the update happen only if its period or enable-status is changed, also later patches are depend on this optimization Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com> Message-Id: <20170510083259.3900-2-xiaoguangrong@tencent.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mips')
0 files changed, 0 insertions, 0 deletions