mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Merge branch 'for-anthony' of git://github.com/bonzini/qemu
* 'for-anthony' of git://github.com/bonzini/qemu: remove qemu_get_clock add a generic scaling mechanism for timers change all other clock references to use nanosecond resolution accessors change all rt_clock references to use millisecond resolution accessors add more helper functions with explicit milli/nanosecond resolution
This commit is contained in:
commit
aa315f95b7
79 changed files with 363 additions and 350 deletions
|
@ -130,7 +130,7 @@ static uint32_t arm_sysctl_read(void *opaque, target_phys_addr_t offset)
|
|||
case 0x58: /* BOOTCS */
|
||||
return 0;
|
||||
case 0x5c: /* 24MHz */
|
||||
return muldiv64(qemu_get_clock(vm_clock), 24000000, get_ticks_per_sec());
|
||||
return muldiv64(qemu_get_clock_ns(vm_clock), 24000000, get_ticks_per_sec());
|
||||
case 0x60: /* MISC */
|
||||
return 0;
|
||||
case 0x84: /* PROCID0 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue