Revision e3ea6529 hw/ppc.c

b/hw/ppc.c
401 401
    return muldiv64(vmclk, tb_env->tb_freq, get_ticks_per_sec()) + tb_offset;
402 402
}
403 403

  
404
uint32_t cpu_ppc_load_tbl (CPUState *env)
404
uint64_t cpu_ppc_load_tbl (CPUState *env)
405 405
{
406 406
    ppc_tb_t *tb_env = env->tb_env;
407 407
    uint64_t tb;
......
409 409
    tb = cpu_ppc_get_tb(tb_env, qemu_get_clock(vm_clock), tb_env->tb_offset);
410 410
    LOG_TB("%s: tb %016" PRIx64 "\n", __func__, tb);
411 411

  
412
    return tb & 0xFFFFFFFF;
412
    return tb;
413 413
}
414 414

  
415 415
static inline uint32_t _cpu_ppc_load_tbu(CPUState *env)

Also available in: Unified diff