SlavIO Counter-Timers fix, by Aurelien Jarno.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 20 Mar 2007 16:54:50 +0000 (16:54 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 20 Mar 2007 16:54:50 +0000 (16:54 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2516 c046a42c-6fe2-441c-8c8c-71466251a162

hw/slavio_timer.c

index 976f0d4..828d340 100644 (file)
@@ -131,7 +131,6 @@ static uint32_t slavio_timer_mem_readl(void *opaque, target_phys_addr_t addr)
        if (s->mode != 1) {
            // clear irq
            pic_set_irq_cpu(s->irq, 0, s->cpu);
-           s->count_load_time = qemu_get_clock(vm_clock);
            s->reached = 0;
            return s->limit;
        }