aboutsummaryrefslogtreecommitdiff
path: root/mips-dis.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-12-08 15:50:54 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:38 -0600
commitba32edab7fdab0e74b54696942b4127d26861cf6 (patch)
treeb3f4e006817997a866dbcba1def18fd1fdbdfb1b /mips-dis.c
parent6d74ca5aa83b83fb52332f7735c61ecb7a5328c1 (diff)
fix rtc-td-hack on host without high-res timers
On hosts without high-res timers it is impossible to inject rtc interrupt faster then 1kHz. Windows sometimes configures RTC to generate 1kHz interrupts, so we can't inject missed interrupts when running on such hosts. Always injecting an interrupt on REG_C read is also not an option since Windows wait for REG_C to become zero with interrupt disabled during boot. This patch uses mixed approach: accelerate timer + inject up to 1000 interrupts on REG_C read. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'mips-dis.c')
0 files changed, 0 insertions, 0 deletions