Revision b33c17e1 hw/ppc.c

b/hw/ppc.c
600 600
    uint64_t diff;
601 601

  
602 602
    diff = qemu_get_clock(vm_clock) - tb_env->purr_start;
603
    
603

  
604 604
    return tb_env->purr_load + muldiv64(diff, tb_env->tb_freq, ticks_per_sec);
605 605
}
606 606
#endif /* defined(TARGET_PPC64H) */
......
631 631
}
632 632

  
633 633
static void __cpu_ppc_store_decr (CPUState *env, uint64_t *nextp,
634
                                 struct QEMUTimer *timer,
635
                                 void (*raise_excp)(CPUState *),
636
                                 uint32_t decr, uint32_t value,
637
                                 int is_excp)
634
                                  struct QEMUTimer *timer,
635
                                  void (*raise_excp)(CPUState *),
636
                                  uint32_t decr, uint32_t value,
637
                                  int is_excp)
638 638
{
639 639
    ppc_tb_t *tb_env = env->tb_env;
640 640
    uint64_t now, next;
......
1151 1151
    return 0;
1152 1152
}
1153 1153

  
1154

  
1155 1154
#if 0
1156 1155
/*****************************************************************************/
1157 1156
/* Handle system reset (for now, just stop emulation) */

Also available in: Unified diff